diff --git a/neutron/common/config.py b/neutron/common/config.py index a0f52f07661..c92106cd63e 100644 --- a/neutron/common/config.py +++ b/neutron/common/config.py @@ -144,9 +144,12 @@ core_opts = [ "services running on this machine must use the same " "host value.")), cfg.BoolOpt('force_gateway_on_subnet', default=True, + deprecated_for_removal=True, help=_("Ensure that configured gateway is on subnet. " "For IPv6, validate only if gateway is not a link " - "local address.")), + "local address. Deprecated, to be removed during the " + "Newton release, at which point the gateway will not " + "be forced on to subnet.")), cfg.BoolOpt('notify_nova_on_port_status_changes', default=True, help=_("Send notification to nova when port status changes")), cfg.BoolOpt('notify_nova_on_port_data_changes', default=True, diff --git a/releasenotes/notes/deprecate-force_gateway_on_subnet-376855c4e66f4e11.yaml b/releasenotes/notes/deprecate-force_gateway_on_subnet-376855c4e66f4e11.yaml new file mode 100644 index 00000000000..b6d15cb07d2 --- /dev/null +++ b/releasenotes/notes/deprecate-force_gateway_on_subnet-376855c4e66f4e11.yaml @@ -0,0 +1,4 @@ +--- +deprecations: + - The 'force_gateway_on_subnet' option is deprecated and + will be removed in the 'Newton' cycle.