Debian Codegraph @

neutron_lib/api/definitions/router_admin_state_down_before_update.py

raw
1 # Licensed under the Apache License, Version 2.0 (the "License"); you may
2 # not use this file except in compliance with the License. You may obtain
3 # a copy of the License at
4 #
5 # http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 # License for the specific language governing permissions and limitations
11 # under the License.
12
13 from neutron_lib.api.definitions import dvr as dvr_apidef
14
15 ALIAS = 'router-admin-state-down-before-update'
16 IS_SHIM_EXTENSION = True
17 IS_STANDARD_ATTR_EXTENSION = False
18 NAME = "Enforce Router's Admin State Down Before Update Extension"
19 DESCRIPTION = ('Ensure that the admin state of a router is DOWN '
20 '(admin_state_up=False) before updating the distributed '
21 'attribute')
22 UPDATED_TIMESTAMP = '2019-07-02T15:56:00'
23 RESOURCE_ATTRIBUTE_MAP = {}
24 SUB_RESOURCE_ATTRIBUTE_MAP = {}
25 ACTION_MAP = {}
26 REQUIRED_EXTENSIONS = [dvr_apidef.ALIAS]
27 OPTIONAL_EXTENSIONS = []
28 ACTION_STATUS = {}