def remove_hosts_from_zone(): nova_helper.remove_hosts_from_aggregate(aggregate='stxauto', check_first=False)
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)
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)
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)