Keysight IXIA-C and Nokia SR Linux
|Keysight Ixia-c-one node connected with Nokia SR Linux
|Keysight Ixia-c-one, Nokia SR Linux
This lab consists of a Keysight Ixia-c-one node with 2 ports connected to 2 ports on a Nokia SR Linux node via two point-to-point ethernet links. Both nodes are also connected with their management interfaces to the
containerlab docker network.
Keysight Ixia-c-one is a single-container distribution of Ixia-c, a software traffic generator and protocol emulator with Open Traffic Generator (OTG) API. This example will demonstrate how test case designers can leverage Go SDK client gosnappi to create an OTG configuration and execute a test verifying IPv4 forwarding.
Change into the lab directory:
Deploy the lab:
This lab allows users to validate an IPv4 traffic forwarding scenario between Keysight Ixia-c-one and Nokia SR Linux.
IPv4 Traffic forwarding#
This lab demonstrates a simple IPv4 traffic forwarding scenario where
- Keysight Ixia-c-one with two test ports
eth2connected to Nokia SR Linux with ports
- An OTG configuration applied to Ixia-c-one that emulates a router behind each test port:
- The test is configured to send 100 IPv4 packets with a rate 10pps from
xis changed from 1 to 5.
- SR Linux interfaces are configured with
- SR Linux is configured to forward the traffic destined for
22.214.171.124using a static route in the default network instance.
Logical IP topology of the lab is shown below:
During the lab deployment and test execution the following configuration is applied to the lab nodes to forward and receive traffic.
SR Linux node comes up pre-configured with the commands listed in srl.cfg file which configure IPv4 addresses on both interfaces and install a static route to forward the traffic coming from ixia-c.
IPv4 addresses for
ixia-c-onenode interfaces are configured via the OTG API as part of the
The test case is written in Go language. To run it, Go >= 1.21 needs to be installed first.
Once installed, run the test:
Once 100 packets are sent, the test script checks that we received all the sent packets.
During the test run you will see flow metrics reported each second with the current flow data such as:
The test that we ran above will continuously keep checking flow metrics to ensure packet count received on rx port of ixia-c-one are as expected. If the condition is not met in 10 seconds, the test will timeout, hence indicating failure.
Upon success, last flow metrics output will indicate the latest status with
transmit set to
To stop the lab, use: