add conversion to string of all member variable of each packet library. It comes into effect by inheriting packet_base.PacketBase
this patch is Based heavily on commit 2ef1107: ryu/ofproto/ofproto_parser.py by YAMAMOTO Takashi. The following is a sample of an output. ethernet(src='ff:ff:ff:ff:ff:ff', ethertype='0x0806', dst='ff:ff:ff:ff:ff:ff', length=14) ipv4(src='131.151.32.21', header_length=15, proto=6, tos=0, dst='131.151.32.129', ttl=64, flags='0x01', length=60, version=4, identification='0x7836', offset=1480, csum='0xf597', total_length=79, option='\x86(\x00\x00\x00\x01\x01"\x00\x01\xae\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01') --- ryu/lib/packet/ethernet.py | 6 ++++++ ryu/lib/packet/ipv4.py | 8 ++++++++ ryu/lib/packet/packet.py | 9 +++++++++ ryu/lib/packet/packet_base.py | 18 ++++++++++++++++++ 4 files changed, 41 insertions(+) ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
