Keysight IXIA-C and Nokia SR Linux
|Description||A Keysight ixia-c-one node connected with Nokia SR Linux|
|Components||Keysight ixia-c-one, Nokia SR Linux|
|Resource requirements1|| 2 |
|Version information2|| |
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, which in turn is Keysight's reference implementation of Open Traffic Generator API. This example will demonstrate how test case designers can leverage Go SDK client gosnappi to configure ixia-c traffic generator and execute a test verifying IPv4 forwarding.
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
- One Keysight ixia-c-one port acts as a transmit port (IP
220.127.116.11) and the other as receive port (IP
- Nokia SR Linux is configured to forward the traffic destined for
18.104.22.168using static route configuration in the default network instance
Once the lab is deployed with containerlab, users need to configure 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 route the traffic coming from ixia-c.
IPv4 addresses for data ports eth1/2 of ixia-c node are configured with
./ifcfg scripts executed by containerlab on successful deployment3. These commands are listed in the topology file under
exec node property.
When a lab boots up, containerlab will also execute a command on SR Linux node to fetch MAC address of its
e1-1 interface which is connected to tx port of ixia-c-one. Write down this MAC address4 as it will serve as an argument in the test script we will run afterwards.
The test case is written in Go language hence Go >= 1.17 needs to be installed first.
Once installed, change into the lab directory:
Run the test with MAC address obtained in previous step:
The test is configured to send 100 IPv4 packets with a rate 10pps from
x is changed from 1 to 5. 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
Resource requirements are provisional. Consult with the installation guides for additional information. ↩
The lab has been validated using these versions of the required tools/components. Using versions other than stated might lead to a non-operational setup process. ↩
delto undo. ↩
The docker commands above shall not be required for upcoming releases of ixia-c-one with added ARP/ND capability. ↩