Files
neutron-lib/neutron_lib/api/definitions/floatingip_autodelete_internal.py
Bence Romsics cb0d01db91 Remove ml2's accidental dependency on l3
The accidental dependency was never in effect since the neutron side of
the relevant changes was not merged yet.

I think I made a mistake in https://review.openstack.org/631515.
We added the 'router' extension as a dependency of the
'floatingip-autodelete-internal' extension. Which looks a perfectly
reasonable thing to do at first sight. However since the 'external-net'
extension was de-extensionalized and made part of the ml2 plugin, the
'floatingip-autodelete-internal' extension also had to be implemented by
the ml2 plugin. This complicated setup practically made the l3 plugin
a dependency of the ml2 plugin. (That's why unit tests started failing
in patch set #3 of the neutron change.) Which of course is non-sense.

So this change removes the dependency. The neutron side of this
change still degrades gracefully even without the explicit dependency
between the extensions, so I don't think we're losing anything by not
having that dependency.

Change-Id: I8825eaf4f46ea2639131e34f9b833af1de6ab1b4
Needed-By: https://review.openstack.org/624751
Partial-Bug: #1806032
Related-Change: https://review.openstack.org/631515
2019-02-25 11:08:56 +01:00

28 lines
1.0 KiB
Python

# Copyright 2019 Ericsson
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
ALIAS = 'floatingip-autodelete-internal'
IS_SHIM_EXTENSION = True
IS_STANDARD_ATTR_EXTENSION = False
NAME = 'Autodelete floating IPs of internal networks'
DESCRIPTION = 'Autodelete unused floating IPs' \
' of networks being turned to router:external=False'
UPDATED_TIMESTAMP = '2019-01-24T00:00:00-00:00'
RESOURCE_ATTRIBUTE_MAP = {}
SUB_RESOURCE_ATTRIBUTE_MAP = {}
ACTION_MAP = {}
REQUIRED_EXTENSIONS = []
OPTIONAL_EXTENSIONS = []
ACTION_STATUS = {}