Hi Loval, I skimmed through the RFC 7882 and it shouldn't be too much trouble adding that functionality to VPP. The existing BFD code is still a work in progress and the only reason it's been pushed to the git was the API freeze, so please do expect more patches to be pushed and things could change.
Currently, there is no CLI, only API access, which is partially implemented. The global configuration APIs are not implemented yet, only per-session ones: bfd_udp_add, bfd_udp_del, bfd_udp_session_dump. I suggest you take a look at test/test_bfd.py, which contains the unit tests for the BFD feature. Again, this is not complete and more tests will follow. To run the tests, you can do e.g. make test-debug TEST=bfd V=2 (adjust test verbosity V= to your liking, 2 is most verbose, 0 least) The VPP BFD code is roughly split into BFDs-specific functionality and transport-specific functionality - that being UDP only at this time, while thinking about e.g. MPLS in the future. Thanks, Klement Quoting Lovaljeet Kaur (2016-12-15 08:23:32) > Adding vpp-dev@lists.fd.io dev mailing list > > -----Lovaljeet Kaur/DEL/TCS wrote: ----- > To: ksek...@cisco.com > From: Lovaljeet Kaur/DEL/TCS > Date: 12/15/2016 12:22PM > Cc: Deepankar Gupta/DEL/TCS@TCS > Subject: Regarding S-BFD and testing of BFD in VPP > > Hi Klement, > > I want to implement Seamless BFD (S-BFD) in VPP over the BFD code that you > have submitted. > So i would want to understand and test the existing BFD code. > Can you please guide me with the testing scenarios on how we can test BFD > or is there any Debug CLI in VPP through which we can test. > > Regards, > Loval > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev