Hi Satish,

There is no such unit-test harness to test individual nodes in isolation. 
Instead what we do is configure VPP ‘end-to-end’ using API calls and then 
inject packets on the appropriate interfaces and examine their fate, by for 
example, capturing them on the interface they were forwarded, or examining drop 
counter. This unit-test framework is written in python and uses scapy to 
construct packets. You can find it in ROOT/test/

Reards,
Neale


De : <vpp-dev@lists.fd.io> au nom de "satish.gu...@gmail.com" 
<satish.gu...@gmail.com>
Date : mercredi 27 mars 2019 à 11:14
À : "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Objet : [vpp-dev] VPP plugin unit test framework

Hi VPP-Dev,

Is there any unit test framework available for testing a plugin (or) graphnode 
independantly.
I am looking for something, where a unit test plugin can send a vector of 
packets to the node that we want to test and receive the packets back to the 
unit test plugin to verify the test.
Also, is there any packet crafting library thats integrated into VPP echo 
system that can be of help for crafting different type of packets.

Thanks & Regards,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12646): https://lists.fd.io/g/vpp-dev/message/12646
Mute This Topic: https://lists.fd.io/mt/30792438/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to