From 37277cf4168260d5fa97f20e0b64a2efe2d989ad Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Wed, 30 Sep 2015 04:20:02 -0700 Subject: [PATCH] Deprecate max_fixed_ips_per_port This option does not have a clear use case since we prevent users from setting their own IP addresses on shared networks. DocImpact Change-Id: I211e87790c955ba5c3904ac27b177acb2847539d Closes-Bug: #1502356 --- etc/neutron.conf | 1 + neutron/common/config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/etc/neutron.conf b/etc/neutron.conf index dc889486059..14eb8b2374d 100644 --- a/etc/neutron.conf +++ b/etc/neutron.conf @@ -149,6 +149,7 @@ # max_subnet_host_routes = 20 # Maximum number of fixed ips per port +# Deprecated: will be removed in N # max_fixed_ips_per_port = 5 # Maximum number of routes per router diff --git a/neutron/common/config.py b/neutron/common/config.py index b6ba1a716e7..572737e6333 100644 --- a/neutron/common/config.py +++ b/neutron/common/config.py @@ -71,6 +71,7 @@ core_opts = [ cfg.IntOpt('max_subnet_host_routes', default=20, help=_("Maximum number of host routes per subnet")), cfg.IntOpt('max_fixed_ips_per_port', default=5, + deprecated_for_removal=True, help=_("Maximum number of fixed ips per port")), cfg.StrOpt('default_ipv4_subnet_pool', default=None, help=_("Default IPv4 subnet-pool to be used for automatic "