jdenisco | ad4426e | 2018-11-26 15:15:09 -0500 | [diff] [blame] | 1 | .. _trex3: |
| 2 | |
| 3 | Examples |
| 4 | ======== |
| 5 | |
| 6 | There are many examples of how to create traffic flows in the directories below the |
| 7 | TRex root directory. The stateless examples are written in Python and are found in |
| 8 | the **./stl** directory. Examine the directories **./avl/, ./stl and ./cap2**. A few |
| 9 | simple 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 | |
| 17 | Summary |
| 18 | ======= |
| 19 | |
| 20 | This tutorial showed how to download, compile, and install the VPP binary on an |
| 21 | Intel® 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 |
| 23 | user up and running with VPP. The tutorial also illustrated how to detect and bind |
| 24 | the network interfaces to a DPDK-compatible driver. You can use the VPP CLI to assign |
| 25 | IP addresses to these interfaces and bring them up. Four examples using iperf3 |
| 26 | and TRex were included, to show how VPP processes packets in batches. We |
| 27 | also showed how to use TRex in stateless mode and examine traffic flow statistics. |