diff options
author | jdenisco <jdenisco@cisco.com> | 2018-11-26 15:15:09 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-11-27 15:48:06 +0000 |
commit | ad4426e565e4066a9af4ac8058a0efb6cf29db42 (patch) | |
tree | 9550da303fee8ea8fe51e4a0e9642ac072bb01b1 /docs/usecases/simpleperf/trex3.rst | |
parent | e411d9d86f90c558fdff5a9b3bdbe939ecd0cf61 (diff) |
docs: Add more on trex
Change-Id: Ifb5eabe30e1b0ba911ddf455573cc346ff4bec85
Signed-off-by: jdenisco <jdenisco@cisco.com>
Diffstat (limited to 'docs/usecases/simpleperf/trex3.rst')
-rw-r--r-- | docs/usecases/simpleperf/trex3.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/usecases/simpleperf/trex3.rst b/docs/usecases/simpleperf/trex3.rst new file mode 100644 index 00000000000..e1014e52e2f --- /dev/null +++ b/docs/usecases/simpleperf/trex3.rst @@ -0,0 +1,27 @@ +.. _trex3: + +Examples +======== + +There are many examples of how to create traffic flows in the directories below the +TRex root directory. The stateless examples are written in Python and are found in +the **./stl** directory. Examine the directories **./avl/, ./stl and ./cap2**. A few +simple examples are as follows: + +* ./cap2/dns.yaml - Used in the first example +* ./avl/sfr_delay_10_1g.yaml - Used in the second example +* ./cap2/imix*.yaml - Uses some imix traffic profiles. +* ./stl/udp_1pkt.py - UDP example +* ./stl/imix.py - Simple imix example + +Summary +======= + +This tutorial showed how to download, compile, and install the VPP binary on an +IntelĀ® Architecture platform. Examples of /etc/sysctl.d/80-vpp.conf and +/etc/vpp/startup.conf/startup.conf configuration files were provided to get the +user up and running with VPP. The tutorial also illustrated how to detect and bind +the network interfaces to a DPDK-compatible driver. You can use the VPP CLI to assign +IP addresses to these interfaces and bring them up. Four examples using iperf3 +and TRex were included, to show how VPP processes packets in batches. We +also showed how to use TRex in stateless mode and examine traffic flow statistics. |