def test_create_and_add(self):
     mirror = VNXMirrorViewAsync.get(t_cli(), name='testdr_004')
     mg = VNXMirrorGroupAsync.create(t_cli(),
                                     name='petermg1',
                                     mirror=mirror)
     assert_that(mg, instance_of(VNXMirrorGroupAsync))
 def test_create(self):
     mg = VNXMirrorGroupAsync.create(t_cli(), name='test_group')
     assert_that(mg, instance_of(VNXMirrorGroupAsync))
 def _inner():
     VNXMirrorGroupAsync.create(t_cli(), name='test_group_in_use')
Esempio n. 4
0
 def create_mirror_group_async(self, name, mirror=None):
     return VNXMirrorGroupAsync.create(self._cli, name, mirror)