Skip to content

Commit 4c99c8a

Browse files
author
Milan Fencik
committed
add prints for tshoot
1 parent 57a31d6 commit 4c99c8a

File tree

1 file changed

+4
-0
lines changed
  • python/neutron-understack/neutron_understack

1 file changed

+4
-0
lines changed

python/neutron-understack/neutron_understack/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from logging import Logger
2+
from pprint import pprint
23
from uuid import UUID
34

45
from neutron.objects import ports as port_obj
@@ -19,7 +20,9 @@ def allocate_dynamic_segment_from_plugin(
1920
) -> dict:
2021
context = n_context.get_admin_context()
2122
core_plugin = directory.get_plugin() # Get the core plugin
23+
plugins = directory.get_plugins()
2224

25+
pprint(plugins)
2326
if hasattr(core_plugin, 'allocate_dynamic_segment'):
2427
segment_dict = {
2528
"physical_network": physnet,
@@ -28,6 +31,7 @@ def allocate_dynamic_segment_from_plugin(
2831

2932
segment = core_plugin.allocate_dynamic_segment(
3033
context, network_id, segment_dict)
34+
pprint(segment)
3135
return segment
3236
return {}
3337

0 commit comments

Comments
 (0)