diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-04-29 18:55:38 -0700 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-05-02 14:53:43 -0700 |
commit | c42fd6de5903cdb7c5519bd773e0859767f68043 (patch) | |
tree | a19428f1dc933b5c5b9119fe29416592e716382e /nova/utils.py | |
parent | 8bb1cc2f82b0d1dcfb08777537584e5f574ae439 (diff) | |
download | nova-c42fd6de5903cdb7c5519bd773e0859767f68043.tar.gz nova-c42fd6de5903cdb7c5519bd773e0859767f68043.tar.xz nova-c42fd6de5903cdb7c5519bd773e0859767f68043.zip |
Add force_nodes to filter properties
Add support for "force_nodes" to filter properties, following the example
of force_hosts. In doing so, fix an issue where the presence of either
force_hosts or ignore_hosts would have squashed a host with multiple nodes.
A node can be passed in via the --availability_zone
option, separated from the hostname with a colon. Eg,
nova boot --availability_zone=zone:host:node
Note that "host" is optional here, and "zone::node" also works.
DocImpact
Implements bp baremetal-force-node
Change-Id: Icfee63c80eb355c29594f8badde4183496b395ac
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions