Line 373: _uuid = controller_info.get('uuid', uuid.uuid4())
AttributeError: 'NoneType' object has no attribute 'get'
---
ryu/services/protocols/ovsdb/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/services/protocols/ovsdb/api.py
b/ryu/services/protocols/ovsdb/api.py
index c1f04398..49cd6849 100644
--- a/ryu/services/protocols/ovsdb/api.py
+++ b/ryu/services/protocols/ovsdb/api.py
@@ -363,7 +363,7 @@ def del_port_by_name(manager, system_id,
bridge_name, port_name):
def set_controller(manager, system_id, bridge_name,
- target, controller_info=None):
+ target, controller_info=dict()):
def _set_controller(tables, insert):
bridge = _get_bridge(tables, bridge_name)
--
2.13.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel