mirror of
https://github.com/ceph/ceph
synced 2025-01-30 06:53:38 +00:00
qa/tasks/mgr/test_orchestrator_cli: test with valid network or IP
Passing 'network' will fail with Error EINVAL: Failed to parse host list: '['host1:network', 'host2:network', 'host3:network']': u'network' does not appear to be an IPv4 or IPv6 address Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
f7b43f6d40
commit
fbee608dee
@ -157,7 +157,8 @@ class TestOrchestratorCli(MgrTestCase):
|
||||
|
||||
def test_mon_update(self):
|
||||
self._orch_cmd("mon", "update", "3")
|
||||
self._orch_cmd("mon", "update", "3", "host1:network", "host2:network", "host3:network")
|
||||
self._orch_cmd("mon", "update", "3", "host1:1.2.3.0/24", "host2:1.2.3.0/24", "host3:10.0.0.0/8")
|
||||
self._orch_cmd("mon", "update", "3", "host1:1.2.3.4", "host2:1.2.3.4", "host3:10.0.0.1")
|
||||
|
||||
def test_mgr_update(self):
|
||||
self._orch_cmd("mgr", "update", "3")
|
||||
|
Loading…
Reference in New Issue
Block a user