We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a31d6 commit 4c99c8aCopy full SHA for 4c99c8a
python/neutron-understack/neutron_understack/utils.py
@@ -1,4 +1,5 @@
1
from logging import Logger
2
+from pprint import pprint
3
from uuid import UUID
4
5
from neutron.objects import ports as port_obj
@@ -19,7 +20,9 @@ def allocate_dynamic_segment_from_plugin(
19
20
) -> dict:
21
context = n_context.get_admin_context()
22
core_plugin = directory.get_plugin() # Get the core plugin
23
+ plugins = directory.get_plugins()
24
25
+ pprint(plugins)
26
if hasattr(core_plugin, 'allocate_dynamic_segment'):
27
segment_dict = {
28
"physical_network": physnet,
@@ -28,6 +31,7 @@ def allocate_dynamic_segment_from_plugin(
31
29
32
segment = core_plugin.allocate_dynamic_segment(
30
33
context, network_id, segment_dict)
34
+ pprint(segment)
35
return segment
36
return {}
37
0 commit comments