Part I - Foundations¶
Part I builds the toolkit. It explains the measurement terms you will meet on every dashboard, what TRex is and how it works inside, how test traffic is described and counted, how TRex emulates hosts, how stateful tests work, and how the results are stored in InfluxDB and shown in Grafana. LVR examples appear throughout, but the full platform design follows in Part II.
| Chapter | You will be able to ... |
|---|---|
| 1. Measuring a network | explain one-way latency, jitter, loss and measurement resolution, and why a traffic generator measures them better than ping or SNMP |
| 2. What TRex is | describe TRex, its modes (stateless, ASTF, EMU) and its client/server structure |
| 3. Inside the TRex server | explain DPDK, hugepages, cores, ports and the TRex configuration file |
| 4. Stateless traffic (STL) | build streams and profiles, start/stop/update traffic from the console and from Python |
| 5. Counting packets and measuring latency | explain flow statistics and latency streams, their limits, and hardware vs software mode |
| 6. TRex EMU - emulated hosts | explain how EMU makes TRex clients answer ARP in many VLANs and resolve gateways |
| 7. Advanced stateful mode (ASTF) | explain stateful TCP/UDP emulation and when it is needed (firewalls) |
| 8. InfluxDB | explain buckets, measurements, tags, fields, retention and basic Flux queries |
| 9. Grafana | build and read dashboards, use variables, and understand alert rules |