summaryrefslogtreecommitdiff
path: root/nova/conf/network.py
diff options
context:
space:
mode:
authorSarafraj Singh <Sarafraj.Singh@intel.com>2016-04-07 21:23:13 +0000
committerJohn Garbutt <john@johngarbutt.com>2016-04-21 10:10:40 +0000
commitcdf5c60fac1d59a16a15958c5d1ef0399755572d (patch)
tree54fe175f95a2655454b36754882744abe2aeb99b /nova/conf/network.py
parent3c3c777e76eaa74ff8c19b26cab5af6ec6fb10c5 (diff)
downloadnova-cdf5c60fac1d59a16a15958c5d1ef0399755572d.tar.gz
config options: centralize security_group_api opt
Moved security_group_api option to nova/conf/network Change-Id: I44de069b82aa48c4b9973ca8aab8fce9d7c21b51 Implements: blueprint centralize-config-options-newton
Diffstat (limited to 'nova/conf/network.py')
-rw-r--r--nova/conf/network.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/nova/conf/network.py b/nova/conf/network.py
index c2bdc540d3..9551c3f23f 100644
--- a/nova/conf/network.py
+++ b/nova/conf/network.py
@@ -270,13 +270,22 @@ ldap_dns_opts = [
'Statement of Authority'),
]
-ALL_DEFAULT_OPTS = linux_net_opts + network_opts + ldap_dns_opts
+security_group_opts = [
+ cfg.StrOpt('security_group_api',
+ default='nova',
+ help='DEPRECATED: Full class name of the security API class',
+ deprecated_for_removal=True),
+]
+
+ALL_DEFAULT_OPTS = (linux_net_opts + network_opts + ldap_dns_opts
+ + security_group_opts)
def register_opts(conf):
conf.register_opts(linux_net_opts)
conf.register_opts(network_opts)
conf.register_opts(ldap_dns_opts)
+ conf.register_opts(security_group_opts)
def list_opts():