Files
neutron-lib/neutron_lib/tests/unit/api/definitions/test_address_group.py
Miguel Lavalle 750141e6ce API definition for SG group rules address groups.
This change adds the API definition for address groups.

Change-Id: Ib478520fbc596554139aa1bee27fc76db4cf6c42
Related-Bug: #1592028
2020-07-29 17:17:08 -05:00

21 lines
912 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.
from neutron_lib.api.definitions import address_group
from neutron_lib.tests.unit.api.definitions import base
class AddressGroupDefinitionTestCase(base.DefinitionBaseTestCase):
extension_module = address_group
extension_resources = (address_group.COLLECTION_NAME,)
extension_attributes = ('name', 'addresses', 'description')