Re: [Ryu-devel] BFD Packet parsing

2019-06-25 Thread Yusuke Iwase
Hi, "bfd.bfd" packet parser seems not to be registered to the UDP packet parser. How about the following patch? diff --git a/ryu/lib/packet/bfd.py b/ryu/lib/packet/bfd.py index 1082f9c0..73c076f3 100644 --- a/ryu/lib/packet/bfd.py +++ b/ryu/lib/packet/bfd.py @@ -85,6 +85,10 @@ from . import packe

[Ryu-devel] BFD Packet parsing

2019-06-23 Thread knet solutions
Hi, I am not able to decode the BFD packets using get_protocol function. >b = pkt.get_protocol(bfd.bfd) >self.logger.info(b) The above code prints NONE. bfd packet parsing library couldnot parse the But I used another approach to decode the BFD protocol. >payload = pkt.protocols[-1] >print b