summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorMatthew Sherborne <msherborne@gmail.com>2013-04-21 07:50:35 +1000
committerMatthew Sherborne <msherborne@gmail.com>2013-04-26 12:17:55 +1000
commitd480e4e6a5405c864124d7ae819d245d10996247 (patch)
tree50592157b7b387bb6820333c3573dae1e27c20e1 /nova/openstack
parent18d9a8b4b4d794547f7cc47b5f58484c22066655 (diff)
downloadnova-d480e4e6a5405c864124d7ae819d245d10996247.tar.gz
nova-d480e4e6a5405c864124d7ae819d245d10996247.tar.xz
nova-d480e4e6a5405c864124d7ae819d245d10996247.zip
Adds tests for isolated_hosts_filter
The isolated_hosts_filter takes two configuration options. This patch adds three tests defining the behaviour for when one or more of these variables are missing. This patch speeds things up a bit when the isolated_images option is missing, making it do less dict lookups to come up with the same answer. Matrix of isolated_hosts_filter changes: +----------------------+--------------------+--------------+ | Config options | Before patch | After | +----------------------+--------------------+--------------+ | 0 + 0 | No filtering | Same as B4 | | | no tests | Tested | +----------------------+--------------------+--------------+ | 0 + iso_image | Block iso'd images | Same as B4 | | | no tests | Tested | +----------------------+--------------------+--------------+ | iso_host + 0 | Block iso'd images | Same as b4 | | | no tests | Tested | +----------------------+--------------------+--------------+ | iso_host + iso_image | Block matched h+i | Same as b4 | | | Tested | Tested | +----------------------+--------------------+--------------+ Change-Id: Ibe6725e39a771b31fdf49513335275deba33e96b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions