Hi all,
   I built an Packet_in packet with LLDP, and send it from a controller to 
another controller. When I parse the packet, I can get PacketIn packet with 
data. But the data is Not LLDP packet.
When parse data ,I get LLDPUnknownFormat exception. The packet information show 
below.


{'total_len': 87, 'xid': 0, 'msg_type': 10, 'data': 
'\xc2\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x88\xcc\x02\x16\x07dpid:0000000000000001\x04\x05\x02\x00\x00\x00\x01\x06\x02\x00x\x12\x1b\x07domain_id:0000000000000002\x14\x05\x02\x00\x00\xff\xff\x00\x00',
 'msg_len': 135, 'datapath': None, 'buffer_id': 4294967295L, 'reason': 1, 
'version': 4, 'table_id': 0, 'cookie': 0, 'buf': <read-only buffer for 
0x9dc2a10, size -1, offset 0 at 0x9e60980>, 'match': 
OFPMatch(oxm_fields={'in_port': 1})}
data: 0xc2 0x0 0x0 0xe 0x0 0x0 0x0 0x0 0x0 0x0 0x88 0xcc 0x2 0x16 0x7 0x64 0x70 
0x69 0x64 0x3a 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 
0x30 0x30 0x31 0x4 0x5 0x2 0x0 0x0 0x0 0x1 0x6 0x2 0x0 0x78 0x12 0x1b 0x7 0x64 
0x6f 0x6d 0x61 0x69 0x6e 0x5f 0x69 0x64 0x3a 0x30 0x30 0x30 0x30 0x30 0x30 0x30 
0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x32 0x14 0x5 0x2 0x0 0x0 0xff 0xff 0x0 
0x0
{'data': 
'\xc2\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x88\xcc\x02\x16\x07dpid:0000000000000001\x04\x05\x02\x00\x00\x00\x01\x06\x02\x00x\x12\x1b\x07domain_id:0000000000000002\x14\x05\x02\x00\x00\xff\xff\x00\x00',
 'protocols': 
[ethernet(dst='c2:00:00:0e:00:00',ethertype=534,src='00:00:00:00:88:cc'), 
llc(control=ControlFormatI(pf_bit=0,receive_sequence_number=52,send_sequence_number=56),dsap_addr=7,ssap_addr=100),
 
'd:0000000000000001\x04\x05\x02\x00\x00\x00\x01\x06\x02\x00x\x12\x1b\x07domain_id:0000000000000002\x14\x05\x02\x00\x00\xff\xff\x00\x00']}



We can find out that there is LLC in protocols in protocols.
The ethernet type is 534, which is the same with the LLDP chassis_id?? s 
typelen??534. 


What should I do?


Thank you for your time.




------------------
Distance ????
_____________________________________________________
School of Information and Communication Engineering
Beijing University of Posts and Telecommunications
Beijing 100876, PR China

??????????????????????????????????????????
_____________________________________________________
Mobile Phone: 
(+86) 151-1698-3550 Beijing 
E-mail:
[email protected]
[email protected]
Homepage:
http://www.muzixing.com
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to