Files
neutron-lib/neutron_lib/api/definitions/port_resource_request_groups.py
Przemyslaw Szczerbik 1d64353340 Add port-resource-request-groups shim API ext
Add a new shim API extension definition called
port-resource-request-groups. This extension indicates that
Neutron supports the new format of resource_request, that allows
to request multiple groups of resources and traits from the same RP
subtree.

Related-Bug: #1922237
See-Also: https://review.opendev.org/785236
Change-Id: Idbfa3998930374b8de1e65d586ab54f85707c713
2021-08-11 12:19:54 +02:00

28 lines
1.1 KiB
Python

# Copyright (c) 2021 Ericsson Software Technology
#
# 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 = 'port-resource-request-groups'
IS_SHIM_EXTENSION = True
IS_STANDARD_ATTR_EXTENSION = False
NAME = 'Port Resource Request Groups'
DESCRIPTION = ("Support requesting multiple groups of resources and traits "
"from the same RP subtree in resource_request")
UPDATED_TIMESTAMP = "2021-08-02T10:00:00-00:00"
RESOURCE_ATTRIBUTE_MAP = {}
SUB_RESOURCE_ATTRIBUTE_MAP = {}
ACTION_MAP = {}
ACTION_STATUS = {}
REQUIRED_EXTENSIONS = []
OPTIONAL_EXTENSIONS = []