]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use oslo_config choices support
authorEric Brown <browne@vmware.com>
Wed, 25 Feb 2015 23:32:50 +0000 (15:32 -0800)
committerEric Brown <browne@vmware.com>
Mon, 2 Mar 2015 22:48:25 +0000 (14:48 -0800)
commit58d737ed52df10157f0014f28d568543262caa5a
tree2d4de8f8ebba00d1e499c912bd450c4b084a6446
parent0680e0b524ad3f38f47981ee9a9b18b0ea17c89d
Use oslo_config choices support

The oslo_config library added support for a choices keyword argument in
version 1.2.0a3.  This commit leverages the use of choices for StrOpts in
Neutron's configuration.

References:
http://docs.openstack.org/developer/oslo.config/#a3
https://bugs.launchpad.net/oslo-incubator/+bug/1123043

Change-Id: I2f935731ed7e1dea6d297dd72960d01cb8859656
neutron/agent/l3/config.py
neutron/agent/l3/ha.py
neutron/plugins/mlnx/agent/config.py
neutron/plugins/vmware/common/config.py