Add missing extension classes for router BFD/ECMP extra attributes

Change I3fcd0458d20f20ce40378f90f073f37c41400865 added the
implementation for router BFD/ECMP extra attributes, but omitted
the APIExtensionDescriptor classes that are required for loading
the extension.

Partial-Bug: #2002687
Change-Id: I5f59087a1ff8d37f136ac88e50e0246de68455a8
This commit is contained in:
Frode Nordahl 2023-08-28 16:38:31 +02:00
parent 03e07ade2e
commit 113f3f6689
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# 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 l3_enable_default_route_bfd as apidef
from neutron_lib.api import extensions
class L3_enable_default_route_bfd(extensions.APIExtensionDescriptor):
api_definition = apidef

View File

@ -0,0 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# 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 l3_enable_default_route_ecmp as apidef
from neutron_lib.api import extensions
class L3_enable_default_route_ecmp(extensions.APIExtensionDescriptor):
api_definition = apidef