diff --git a/nova/flags.py b/nova/flags.py index b9aad32b..4345b477 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -469,3 +469,5 @@ DEFINE_integer('service_down_time', 60, 'maximum time since last check-in for up service') DEFINE_string('default_schedule_zone', None, 'zone to use when user doesnt specify one') +DEFINE_list('isolated_images', [], 'Images to run on isolated host') +DEFINE_list('isolated_hosts', [], 'Host reserved for specific images') diff --git a/nova/scheduler/simple.py b/nova/scheduler/simple.py index 64ebfb75..11270a13 100644 --- a/nova/scheduler/simple.py +++ b/nova/scheduler/simple.py @@ -35,8 +35,6 @@ flags.DEFINE_integer("max_gigabytes", 10000, "maximum number of volume gigabytes to allow per host") flags.DEFINE_integer("max_networks", 1000, "maximum number of networks to allow per host") -flags.DEFINE_list('isolated_images', [], 'Images to run on isolated host') -flags.DEFINE_list('isolated_hosts', [], 'Host reserved for specific images') flags.DEFINE_boolean('skip_isolated_core_check', True, 'Allow overcommitting vcpus on isolated hosts')