Skip to content

Commit

Permalink
neutron l3: fix the method signatures
Browse files Browse the repository at this point in the history
Mostly change the get_plugin_type() to be a classmethod
  • Loading branch information
skrobul committed Dec 11, 2024
1 parent b067d53 commit 179128c
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ def print_post_commit_data(method: str, data: dict) -> None:


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.
"""

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

def get_plugin_description(self):
Expand Down

0 comments on commit 179128c

Please sign in to comment.