blob: e1014e52e2f6148329ba24bedc1373f08d934e30 [file] [log] [blame]
jdeniscoad4426e2018-11-26 15:15:09 -05001.. _trex3:
2
3Examples
4========
5
6There are many examples of how to create traffic flows in the directories below the
7TRex root directory. The stateless examples are written in Python and are found in
8the **./stl** directory. Examine the directories **./avl/, ./stl and ./cap2**. A few
9simple examples are as follows:
10
11* ./cap2/dns.yaml - Used in the first example
12* ./avl/sfr_delay_10_1g.yaml - Used in the second example
13* ./cap2/imix*.yaml - Uses some imix traffic profiles.
14* ./stl/udp_1pkt.py - UDP example
15* ./stl/imix.py - Simple imix example
16
17Summary
18=======
19
20This tutorial showed how to download, compile, and install the VPP binary on an
21Intel® Architecture platform. Examples of /etc/sysctl.d/80-vpp.conf and
22/etc/vpp/startup.conf/startup.conf configuration files were provided to get the
23user up and running with VPP. The tutorial also illustrated how to detect and bind
24the network interfaces to a DPDK-compatible driver. You can use the VPP CLI to assign
25IP addresses to these interfaces and bring them up. Four examples using iperf3
26and TRex were included, to show how VPP processes packets in batches. We
27also showed how to use TRex in stateless mode and examine traffic flow statistics.