| 1 |
# All rights reserved. |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 |
# not use this file except in compliance with the License. You may obtain |
| 5 |
# a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 |
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 |
# License for the specific language governing permissions and limitations |
| 13 |
# under the License. |
| 14 |
|
| 15 |
from neutron_lib.api.definitions import l3 |
| 16 |
|
| 17 |
# The alias of the extension. |
| 18 |
ALIAS = 'router-interface-fip' |
| 19 |
|
| 20 |
# Whether or not this extension is simply signaling behavior to the user |
| 21 |
# or it actively modifies the attribute map. |
| 22 |
IS_SHIM_EXTENSION = True |
| 23 |
|
| 24 |
# Whether the extension is marking the adoption of standardattr model for |
| 25 |
# legacy resources, or introducing new standardattr attributes. False or |
| 26 |
# None if the standardattr model is adopted since the introduction of |
| 27 |
# resource extension. |
| 28 |
# If this is True, the alias for the extension should be prefixed with |
| 29 |
# 'standard-attr-'. |
| 30 |
IS_STANDARD_ATTR_EXTENSION = False |
| 31 |
|
| 32 |
# The name of the extension. |
| 33 |
NAME = 'Router interface FIP Extension' |
| 34 |
|
| 35 |
# The description of the extension. |
| 36 |
DESCRIPTION = "Router interface FIP Extension" |
| 37 |
|
| 38 |
# A timestamp of when the extension was introduced. |
| 39 |
UPDATED_TIMESTAMP = "2015-11-11T10:00:00-00:00" |
| 40 |
|
| 41 |
# The resource attribute map for the extension. It is effectively the |
| 42 |
# bulk of the API contract alongside ACTION_MAP |
| 43 |
RESOURCE_ATTRIBUTE_MAP = {} |
| 44 |
|
| 45 |
# The subresource attribute map for the extension. |
| 46 |
SUB_RESOURCE_ATTRIBUTE_MAP = None |
| 47 |
|
| 48 |
# The action map. |
| 49 |
ACTION_MAP = {} |
| 50 |
|
| 51 |
# The action status. |
| 52 |
ACTION_STATUS = { |
| 53 |
} |
| 54 |
|
| 55 |
# The list of required extensions. |
| 56 |
REQUIRED_EXTENSIONS = [ |
| 57 |
l3.ALIAS, |
| 58 |
] |
| 59 |
|
| 60 |
# The list of optional extensions. |
| 61 |
OPTIONAL_EXTENSIONS = [] |