Skip to content

Commit

Permalink
add l3 router decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Fencik committed Dec 11, 2024
1 parent a05b34b commit 97cec43
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from neutron.services.l3_router.l3_router_plugin import L3RouterPlugin
from neutron_lib.context import Context
from neutron_lib.db import resource_extend

LOG = logging.getLogger(__name__)

Expand All @@ -24,14 +25,14 @@ def print_post_commit_data(method: str, data: dict) -> None:
pprint(data)


@resource_extend.has_resource_extenders
class UnderStackL3ServicePlugin(L3RouterPlugin):
def __init__(self):
"""Understack L3 plugin.
"""Understack L3 plugin.
L3 plugin to deal with Understack infrastructure.
"""
super().__init__()
L3 plugin to deal with Understack infrastructure.
"""

@classmethod
def get_plugin_type(self):
return "L3_ROUTER_NAT"

Expand Down

0 comments on commit 97cec43

Please sign in to comment.