Files
neutron-lib/neutron_lib/api/definitions/port_mac_address_override.py
Balazs Gibizer b5f0a26427 Add port-mac-address-override shim extension
The neutron patch Ib0638f5db69cb92daf6932890cb89e83cf84f295 introduces a
way to provide a MAC address for a direct-physical port at binding time.
So this patch adds an API extension and document the new behavior in the API ref.

Related-Bug: #1942329
Change-Id: I54b4c85ffc4856fba7ad5e9e29f77f74815e1275
2022-03-23 13:19:44 +01:00

31 lines
1021 B
Python

# 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.
NAME = 'Neutron Port MAC address override'
ALIAS = 'port-mac-override'
DESCRIPTION = (
"Allow overriding the MAC address of a direct-physical Port via the "
"active binding profile")
UPDATED_TIMESTAMP = "2022-03-18T10:00:00-00:00"
RESOURCE_ATTRIBUTE_MAP = {}
IS_SHIM_EXTENSION = True
IS_STANDARD_ATTR_EXTENSION = False
SUB_RESOURCE_ATTRIBUTE_MAP = {}
ACTION_MAP = {}
REQUIRED_EXTENSIONS = []
OPTIONAL_EXTENSIONS = []
ACTION_STATUS = {}