neutron/neutron/extensions/fip_pf_description.py
Slawek Kaplonski 4912d11b34 Add fip_pf_description extension to be supported by service plugin
In [1] new api extension "fip_pf_description" was introduced but it
wasn't added to the list of supported extensions by port_forwarding
service plugin.
Because of that "description" attribute was unknown for the
port_forwarding resource.
Now this new api extension is added and supported by pf plugin.

[1] https://review.opendev.org/#/c/670930/

Closes-Bug: #1866560
Partially-implements: bp/fip-pf-description

Depends-On: https://review.opendev.org/#/c/711856/
Change-Id: Ibf42a4d276d0141d66ae6e88aa9fbc291eaa4f82
2020-03-11 14:10:13 +00:00

21 lines
748 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 fip_pf_description as apidef
from neutron_lib.api import extensions
class Fip_pf_description(extensions.APIExtensionDescriptor):
api_definition = apidef