Skip to content

Commit

Permalink
add context print
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Fencik committed Dec 3, 2024
1 parent 56eb2c0 commit 918ba4d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from neutron.services.l3_router.l3_router_plugin import L3RouterPlugin
from pprint import pprint

from neutron_understack.neutron_understack_mech import log_call
from neutron.services.l3_router.l3_router_plugin import L3RouterPlugin


class UnderStackL3ServicePlugin(L3RouterPlugin):
Expand All @@ -18,6 +18,7 @@ def get_plugin_description(self):
return "Understack L3 Service Plugin"

def create_router(self, context, router):
log_call("create_router", context)
pprint("create_router context:")
pprint(context)
router_dict = super().create_router(context, router)
return router_dict

0 comments on commit 918ba4d

Please sign in to comment.