device

container memif

eth2p-eth-l2bdbasemaclrn-eth-2memif-1dcr-dev

eth2p-eth-l2bdbasemaclrn-eth-2memif-1dcr-dev

L2 bridge-domain test cases with memif interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6 use. Both apply to all links.
  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain switching. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and via container; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.pecifications:** RFC792
Name Documentation Status
eth2p-ethip4-l2bdbase-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] Configure two L2 bridge-domains (L2BD) with MAC learning enabled on DUT1, each with one untagged interface to TG and untagged i/f to docker over memif.
[Ver] Make TG send ICMPv4 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS
eth2p-ethip6-l2bdbase-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] Configure two L2 bridge-domains (L2BD) with MAC learning enabled on DUT1, each with one untagged interface to TG and untagged i/f to docker over memif.
[Ver] Make TG send ICMPv4 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS

eth2p-eth-l2xcbase-eth-2memif-1dcr-dev

eth2p-eth-l2xcbase-eth-2memif-1dcr-dev

L2 cross-connect test cases with memif interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6.
  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and via container; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC792
Name Documentation Status
eth2p-ethip4-l2xcbase-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] On DUT configure two L2 cross-connects (L2XC), each with one untagged interface to TG and untagged i/f to docker over memif.
[Ver] Make TG send ICMPv4 Echo Reqs in both directions between two of its i/fs to be switched by DUT to and from docker; verify all packets are received.
[Ref]
PASS
eth2p-ethip6-l2xcbase-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] On DUT configure two L2 cross-connects (L2XC), each with one untagged i/f to TG and untagged i/f to docker over memif.
[Ver] Make TG send ICMPv6 Echo Reqs in both directions between two of its i/fs to be switched by DUT to and from docker; verify all packets are received.
[Ref]
PASS

eth2p-ethip4-ip4base-eth-2memif-1dcr-dev

eth2p-ethip4-ip4base-eth-2memif-1dcr-dev

IPv4 routing test cases with memif interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for IPv4 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT.
  • [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on links to DUT1 and via container; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC791, RFC826, RFC792
Name Documentation Status
eth2p-ethip4-ip4base-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] Configure two VRFs to route IPv4 traffic through two memif interfaces. Both interfaces are configured with IP addresses from the same network.
[Ver] Make TG to send ICMPv4 Echo Reqest form one TG interface to another one to be switched by DUT1; verify header of received packet.
PASS

eth2p-ethip6-ip6base-eth-2memif-1dcr-dev

eth2p-ethip6-ip6base-eth-2memif-1dcr-dev

IPv4 routing test cases with memif interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6 for IPv6 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv6 routing and two static IPv6 /64 route entries. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT.
  • [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in one direction by TG on links to DUT1 and via container; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC791, RFC826, RFC792
Name Documentation Status
eth2p-ethip6-ip6base-eth-2memif-1dcr-device [Top] TG=DUT=DCR.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] Configure two VRFs to route IPv6 traffic through two memif interfaces. Both interfaces are configured with IP addresses from the same network.
[Ver] Make TG to send ICMPv6 Echo Reqest form one TG interface to another one to be switched by DUT1; verify header of received packet.
PASS

ip4

eth2p-ethip4-ip4base-dev

eth2p-ethip4-ip4base-dev

IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for IPv4 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries.
  • [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC791, RFC826, RFC792
Name Documentation Status
eth2p-ethicmpv4-ip4base-device_echo-req-to-dut-ingress-interface Make TG send ICMPv4 Echo Req to DUT1 ingress interface. Make TG verify ICMP Echo Reply is correct. PASS
eth2p-ethicmpv4-ip4base-device_echo-req-to-dut-egress-interface Make TG send ICMPv4 Echo Req towards DUT1 egress interface. Make TG verify ICMP Echo Reply is correct. PASS
eth2p-ethicmpv4-ip4base-device_echo-req-to-tg-interface-for-local-ipv4-address Make TG send ICMPv4 Echo Req between its interfaces across DUT1 for locally connected IPv4 addresses. Make TG verify ICMPv4 Echo Replies are correct. PASS
eth2p-ethicmpv4-ip4base-device_echo-req-to-tg-interface-for-remote-host-ipv4-address Make TG send ICMPv4 Echo Req between its interfaces across DUT1 for remote host IPv4 addresses. Make TG verify ICMPv4 Echo Replies are correct. PASS

ip6

eth2p-ethip6-ip6base-dev

eth2p-ethip6-ip6base-dev

IPv6 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6 for IPv6 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv6 routing and two static IPv6 /64 route entries.
  • [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in one direction by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC2460, RFC4443, RFC4861
Name Documentation Status
eth2p-ethicmpv6-ip6base-device_echo-req-to-dut-ingress-interface Make TG send ICMPv6 Echo Req to DUT1 ingress interface. Make TG verify ICMPv6 Echo Reply is correct. PASS
eth2p-ethicmpv6-ip6base-device_echo-req-to-dut-egress-interface Make TG send ICMPv6 Echo Req towards DUT1 egress interface. Make TG verify ICMPv6 Echo Reply is correct. PASS
eth2p-ethicmpv6-ip6base-device_echo-req-to-tg-interface-for-local-ipv4-address Make TG send ICMPv6 Echo Req between its interfaces across DUT1 for locally connected IPv6 addresses. Make TG verify ICMPv6 Echo Replies are correct. PASS
eth2p-ethicmpv6-ip6base-device_echo-req-to-tg-interface-for-remote-host-ipv4-address Make TG send ICMPv6 Echo Req between its interfaces across DUT1 for remote host IPv6 addresses. Make TG verify ICMPv6 Echo Replies are correct. PASS

l2bd

eth2p-eth-l2bdbasemaclrn-dev

eth2p-eth-l2bdbasemaclrn-dev

L2 bridge-domain test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6 use. Both apply to all links.
  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain switching.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC792
Name Documentation Status
eth2p-ethicmpv4-l2bdbase-device [Top] TG-DUT1-TG.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] Configure L2 bridge-domain (L2BD) with MAC learning enabled on DUT1. Add both interfaces towards TG to this L2BD.
[Ver] Make TG send ICMPv4 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS
eth2p-ethicmpv6-l2bdbase-device [Top] TG-DUT1-TG.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] Configure L2 bridge-domain (L2BD) with MAC learning enabled on DUT1. Add both interfaces towards TG to this L2BD.
[Ver] Make TG send ICMPv6 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS

l2xc

eth2p-ethicmp-l2xcbase-dev

eth2p-ethicmp-l2xcbase-dev

L2 cross-connect test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6 use. Both apply to all links.
  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect switching.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC792
Name Documentation Status
eth2p-ethicmpv4-l2xcbase-device [Top] TG-DUT1-TG.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] Configure L2 cross-connects (L2XC) between both interfaces towards TG on DUT1.
[Ver] Make TG send ICMPv4 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS
eth2p-ethicmpv6-l2xcbase-device [Top] TG-DUT1-TG.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] Configure L2 cross-connects (L2XC) between both interfaces towards TG on DUT1.
[Ver] Make TG send ICMPv6 Echo Req in both directions between two of its interfaces to be switched by DUT1; verify all packets are received.
PASS

vm vhost

ip4

eth2p-ethip4-ip4base-eth-2vhost-1vm-dev

eth2p-ethip4-ip4base-eth-2vhost-1vm-dev

IPv4 routing test cases with vhost user interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with VM and single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for IPv4 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. Qemu Guest is connected to VPP via vhost-user interfaces. Guest is configured with linux bridge interconnecting vhost-user interfaces.
  • [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC791, RFC826, RFC792
Name Documentation Status
eth2p-ethip4-ip4base-eth-2vhost-1vm-device Test uses two VRFs to route IPv4 traffic through two vhost-user interfaces. Both interfaces are configured with IP addresses from the same network. There is created linux bridge on VM to pass packet from one vhost-user interface to another one. PASS

ip6

eth2p-ethip6-ip6base-eth-2vhost-1vm-dev

eth2p-ethip6-ip6base-eth-2vhost-1vm-dev

IPv4 routing test cases with vhost user interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with VM and single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6 for IPv6 routing on both links.
  • [Cfg] DUT configuration: DUT1 is configured with IPv6 routing and two static IPv6 /64 route entries. Qemu Guest is connected to VPP via vhost-user interfaces. Guest is configured with linux bridge interconnecting vhost-user interfaces.
  • [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in one direction by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC2460, RFC4443, RFC4861
Name Documentation Status
eth2p-ethip6-ip6base-eth-2vhost-1vm-device Test uses two VRFs to route IPv6 traffic through two vhost-user interfaces. Both interfaces are configured with IP addresses from the same network. There is created linux bridge on VM to pass packet from one vhost-user interface to another one. PASS

l2bd

eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-dev

eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-dev

L2 bridge-domain test cases with vhost user interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with VM and single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6.
  • [Cfg] DUT configuration: DUT1 is configured with two L2 bridge-domains (L2BD) switching combined with MAC learning enabled. Qemu Guest is connected to VPP via vhost-user interfaces. Guest is configured with linux bridge interconnecting vhost-user interfaces.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 via VM; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC792
Name Documentation Status
eth2p-ethip4-l2bdbasemaclrn-eth-2vhost-1vm-device [Top] TG=DUT=VM.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] On DUT1 configure two L2BDs with MAC learning, each with vhost-user i/f to local VM and i/f to TG; configure VM to loop pkts back betwen its two virtio i/fs.
[Ver] Make TG verify ICMPv4 Echo Req pkts are switched thru DUT1 and VM in both directions and are correct on receive.
[Ref]
PASS
eth2p-ethip6-l2bdbasemaclrn-eth-2vhost-1vm-device [Top] TG=DUT=VM.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] On DUT1 configure two L2BDs with MAC learning, each with vhost-user i/f to local VM and i/f to TG; configure VM to loop pkts back betwen its two virtio i/fs.
[Ver] Make TG verify ICMPv6 Echo Req pkts are switched thru DUT1 and VM in both directions and are correct on receive.
[Ref]
PASS

l2xc

eth2p-eth-l2xcbase-eth-2vhost-1vm-dev

eth2p-eth-l2xcbase-eth-2vhost-1vm-dev

L2 cross-connect test cases with vhost user interface

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with VM and single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6.
  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching. Qemu Guest is connected to VPP via vhost-user interfaces. Guest is configured with linux bridge interconnecting vhost-user interfaces.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 via VM; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: RFC792
Name Documentation Status
eth2p-ethip4-l2xcbase-eth-2vhost-1vm-device [Top] TG=DUT=VM.
[Enc] Eth-IPv4-ICMPv4.
[Cfg] On DUT configure two L2 cross-connects (L2XC), each with one untagged interface to TG and untagged i/f to local VM over vhost-user.
[Ver] Make TG send ICMPv4 Echo Reqs in both directions between two of its i/fs to be switched by DUT to and from VM; verify all packets are received.
[Ref]
PASS
eth2p-ethip6-l2xcbase-eth-2vhost-1vm-device [Top] TG=DUT=VM.
[Enc] Eth-IPv6-ICMPv6.
[Cfg] On DUT configure two L2 cross-connects (L2XC), each with one untagged i/f to TG and untagged i/f to local VM over vhost-user.
[Ver] Make TG send ICMPv6 Echo Reqs in both directions between two of its i/fs to be switched by DUT to and from VM; verify all packets are received.
[Ref]
PASS