예제 #1
0
 def remove_hosts_from_zone():
     nova_helper.remove_hosts_from_aggregate(aggregate='stxauto',
                                             check_first=False)
예제 #2
0
 def remove_host_from_zone():
     LOG.fixture_step('(class) Remove hosts from stxauto aggregate: '
                      '{}'.format(hosts_selected))
     nova_helper.remove_hosts_from_aggregate(aggregate='stxauto',
                                             check_first=False)
예제 #3
0
 def __del_aggregate(aggregate_, **kwargs):
     nova_helper.remove_hosts_from_aggregate(aggregate=aggregate_,
                                             check_first=False,
                                             **kwargs)
     return nova_helper.delete_aggregates(names=aggregate_, **kwargs)
예제 #4
0
 def remove_host_from_zone():
     LOG.fixture_step(
         "Remove {} hosts from cgcsauto zone".format(vif_model))
     nova_helper.remove_hosts_from_aggregate(aggregate='cgcsauto',
                                             check_first=False)