diff options
author | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-03-17 07:30:22 -0700 |
---|---|---|
committer | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-03-17 07:30:22 -0700 |
commit | abc6c82449dfc46a33dcd8190840e51f44b5b930 (patch) | |
tree | b01e70f267e5f74bfeb857ecb81ae88faf770aad /nova/flags.py | |
parent | 40c27fc4ad4653155b676079f2e2677d18aee9ef (diff) | |
download | nova-abc6c82449dfc46a33dcd8190840e51f44b5b930.tar.gz nova-abc6c82449dfc46a33dcd8190840e51f44b5b930.tar.xz nova-abc6c82449dfc46a33dcd8190840e51f44b5b930.zip |
Replaced capability flags with List
Diffstat (limited to 'nova/flags.py')
-rw-r--r-- | nova/flags.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/flags.py b/nova/flags.py index c05cef373..3a8ec1a39 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -358,5 +358,6 @@ DEFINE_string('node_availability_zone', 'nova', 'availability zone of this node') DEFINE_string('zone_name', 'nova', 'name of this zone') -DEFINE_string('zone_capabilities', 'hypervisor:xenserver;os:linux', - 'Key/Value tags which represent capabilities of this zone') +DEFINE_list('zone_capabilities', + ['hypervisor=xenserver;kvm', 'os=linux;windows'], + 'Key/Multi-value list representng capabilities of this zone') |