Adds isolated hosts filter

* Also removes a couple of duplicate tests

Part of a series of commits that are moving all of the filtering
done in simple scheduler into hosts filters so we can default to
the distributed scheduler.

Change-Id: I63b05d0c6476ff0ab9cc17e3e6c39f81bec37d77
This commit is contained in:
Vishvananda Ishaya
2012-01-20 23:15:33 -08:00
parent 847c17dd5d
commit 0b51fe2cff
2 changed files with 2 additions and 2 deletions

View File

@@ -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')

View File

@@ -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')