Debian Codegraph @

neutron_lib/api/definitions/security_groups_remote_address_group.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
14 REMOTE_ADDRESS_GROUP_ID = 'remote_address_group_id'
15
16 ALIAS = 'security-groups-remote-address-group'
17 IS_SHIM_EXTENSION = False
18 IS_STANDARD_ATTR_EXTENSION = False
19 NAME = 'Remote address group id field for security group rules'
20 DESCRIPTION = 'Add new field of remote address group id in SG rules'
21 UPDATED_TIMESTAMP = '2020-08-25T10:00:00-00:00'
22
23 RESOURCE_ATTRIBUTE_MAP = {
24 'security_group_rules': {
25 REMOTE_ADDRESS_GROUP_ID: {
26 'allow_post': True, 'allow_put': False,
27 'default': None, 'is_visible': True,
28 'is_sort_key': True, 'is_filter': True},
29 }
30 }
31
32 SUB_RESOURCE_ATTRIBUTE_MAP = {
33 }
34
35 ACTION_MAP = {
36 }
37
38 ACTION_STATUS = {
39 }
40
41 REQUIRED_EXTENSIONS = [
42 'security-group'
43 ]
44
45 OPTIONAL_EXTENSIONS = [
46 ]