Hello, The rest_topology app does not currently work with python3, due to problems in topology/switches.py:
switches: Exception occurred during handler processing. Backtrace from
offending handler [lldp_packet_in_handler] servicing event [EventOFPPacketIn]
follows.
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/ryu/base/app_manager.py", line 290, in
_event_loop
handler(ev)
File "/usr/lib/python3.5/site-packages/ryu/topology/switches.py", line 775,
in lldp_packet_in_handler
src_dpid, src_port_no = LLDPPacket.lldp_parse(msg.data)
File "/usr/lib/python3.5/site-packages/ryu/topology/switches.py", line 480,
in lldp_parse
if not chassis_id.startswith(LLDPPacket.CHASSIS_ID_PREFIX):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
It appears that CHASSIS_ID_PREFIX is a string, yet the actual ID is a
'bytes', causing a type conflict.
I think this problem occurs in multiple locations in the file, but
cannot confirm it at this time.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
