crypto¶
default¶
eth2p-ethip4ipsectnl-ip4base-func¶
IPv4 IPsec tunnel mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: On DUT1 create loopback interface, configure loopback an physical interface IPv4 addresses, static ARP record, route and IPsec manual keyed connection in tunnel mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
eth2p-ethip4ipsectpt-ip4base-func¶
IPv4 IPsec transport mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: On DUT1 create loopback interface, configure loopback an physical interface IPv4 addresses, static ARP record, route and IPsec manual keyed connection in transport mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
eth2p-ethip4ipsectptlispgpe-ip4base-func¶
IPv4-ip4-ipsec-lispgpe-ip4 - main fib, vrf (gpe_vni-to-vrf)
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: ICMPv4-IPv4-IPSec-LISPGPE-IPv4-ICMPv4.
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) lisp_gpe0 int. |
|
tc03: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on rloc int and vrf on eid is enabled. |
|
tc04: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int and vrf is enabled. |
|
eth2p-ethip4ipsectptlispgpe-ip6base-func¶
IPv6 - ip4-ipsec-lispgpe-ip6 - main fib, vrf, virt2lisp, phy2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISPGPE-IPSec-IPv6-ICMP, Eth-IPv4-IPSec-LISPGPE-IPv6-ICMP
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip4ipsectptlispgpe-ip6basevrf-func¶
IPv6 - ip4-ipsec-lispgpe-ip6 - main fib, vrf, virt2lisp, phy2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISPGPE-IPSec-IPv6-ICMP, Eth-IPv4-IPSec-LISPGPE-IPv6-ICMP
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using physical interfaces and vrf is enabled |
|
eth2p-ethip6ipsectnl-ip6base-func¶
IPv6 IPsec tunnel mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: On DUT1 create loopback interface, configure loopback an physical interface IPv6 addresses, static ARP record, route and IPsec manual keyed connection in tunnel mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
eth2p-ethip6ipsectpt-ip6base-func¶
IPv6 IPsec transport mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: On DUT1 create loopback interface, configure loopback an physical interface IPv6 addresses, static ARP record, route and IPsec manual keyed connection in transport mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
eth2p-ethip6ipsectptlispgpe-ip4base-func¶
IPv6 - ip4-ipsec-lispgpe-ip6 - main fib, virt2lisp, phy2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISPGPE-IPSec-IPv4-ICMP, Eth-IPv6-IPSec-LISPGPE-IPv4-ICMP
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip6ipsectptlispgpe-ip6base-func¶
IPv6 - ip6-ipsec-lispgpe-ip6 - main fib, vrf (gpe_vni-to-vrf), phy2lisp, virt2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-IPSec-LISPGPE-IPv6-ICMPv6,
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using ipsec (transport) lisp_gpe0 int. |
|
sw device¶
eth2p-ethip4ipsectnlsw-ip4base-func¶
IPv4 SW cryptodev IPsec tunnel mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: With enabled SW crytodev on DUT1 create loopback interface, configure loopback and physical interface IPv4 addresses, static ARP record, route and IPsec manual keyed connection in tunnel mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in tunnel mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in tunnel mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in tunnel mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
eth2p-ethip4ipsectptsw-ip4base-func¶
IPv4 IPsec transport mode test suite.
- [Top] Network topologies: TG-DUT1 2-node topology with one link between nodes.
- [Cfg] DUT configuration: With enabled SW crytodev on DUT1 create loopback interface, configure loopback and physical interface IPv4 addresses, static ARP record, route and IPsec manual keyed connection in transport mode.
- [Ver] TG verification: ESP packet is sent from TG to DUT1. ESP packet is received on TG from DUT1.
- [Ref] Applicable standard specifications: RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity |
|
tc02: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha1-96 integrity |
|
tc03: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha1-96 integrity |
|
tc04: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-256-128 integrity |
|
tc05: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-256-128 integrity |
|
tc06: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-256-128 integrity |
|
tc07: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-384-192 integrity |
|
tc08: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-384-192 integrity |
|
tc09: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-384-192 integrity |
|
tc10: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha-512-256 integrity |
|
tc11: vpp process esp packet in transport mode with aes-cbc-192 encryption and sha-512-256 integrity |
|
tc12: vpp process esp packet in transport mode with aes-cbc-256 encryption and sha-512-256 integrity |
|
tc13: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption alogrithms used |
|
tc14: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different integrity alogrithms used |
|
tc15: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity - different encryption and integrity alogrithms used |
|
tc16: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys |
|
tc17: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption alogrithms used |
|
tc18: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different integrity alogrithms used |
|
tc19: vpp process esp packet in transport mode with aes-cbc-128 encryption and sha1-96 integrity with update sa keys - different encryption and integrity alogrithms used |
|
interfaces¶
api-crud-tap-func¶
Tap Interface CRUD Tests
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Enc] Packet Encapsulations: No packet sent.
- [Cfg] DUT configuration: Add/Modify/Delete linux-TAP on DUT1.
- [Ver] Verification: Check dump of tap interfaces for correctness.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tap interface modify and delete |
|
eth2p-eth-l2bdbasemaclrn-eth-2tap-func¶
Tap Interface Traffic Tests
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) MAC learning enabled; Split Horizon Groups (SHG) are set depending on test case; Namespaces (NM) are set on DUT1 with attached linux-TAP.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr, and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tap interface simple bd |
|
eth2p-eth-l2bdbasemaclrn-l2shg-eth-2tap-func¶
Tap Interface Traffic Tests
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) MAC learning enabled; Split Horizon Groups (SHG) are set depending on test case; Namespaces (NM) are set on DUT1 with attached linux-TAP.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr, and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tap interface bd - different split horizon |
|
tc02: tap interface bd - same split horizon |
|
eth2p-ethip4-ip4base-eth-1tap-func¶
Tap Interface Traffic Tests
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) MAC learning enabled; Split Horizon Groups (SHG) are set depending on test case; Namespaces (NM) are set on DUT1 with attached linux-TAP.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr, and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tap interface ip ping without namespace |
|
tc02: tap interface ip ping with namespace |
|
ip4¶
eth2p-dot1q-ip4base-func¶
IPv4 with VLAN subinterfaces
- [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with double links between nodes.
- [Enc] Packet encapsulations: Eth-IPv4-ICMPv4 on TG-DUT1-IF1, Eth-dot1q-IPv4-ICMPv4 on TG-DUT1-IF2.
- [Cfg] DUT configuration: DUT1 is configured with 2 Vlan subinterfaces on DUT1-IF2. The subinterfaces and DUT1-IF1 have IP addresses set and corresponding IP neighbor entries are configured.
- [Ref] Applicable standard specifications: IEEE 802.1q.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: process untagged send tagged |
|
tc02: process tagged send untagged |
|
tc03: process tagged send tagged |
|
eth2p-ethip4-ip4base-copblklistbase-func¶
COP Security IPv4 Blacklist Tests
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 on all links.
- [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and static routes. COP security black-lists are applied on DUT1 ingress interface from TG. DUT2 is configured with L2XC.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut drops ipv4 pkts with cop blacklist set with ipv4 src-addr |
|
eth2p-ethip4-ip4base-copwhlistbase-func¶
COP Security IPv4 Whitelist Tests
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 on all links.
- [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and static routes. COP security white-lists are applied on DUT1 ingress interface from TG. DUT2 is configured with L2XC.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut permits ipv4 pkts with cop whitelist set with ipv4 src-addr |
|
eth2p-ethip4-ip4base-func¶
IPv4 routing test cases RFC791 IPv4, RFC826 ARP, RFC792 ICMPv4. Encapsulations: Eth-IPv4-ICMPv4 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv4 routing tests use circular 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv4 routing and static routes. Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2 and received on TG links on the other side of circular topology. On receive TG verifies packets IPv4 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut replies to icmpv4 echo req to its ingress interface |
|
tc02: dut routes ipv4 to its egress interface |
|
tc03: dut1 routes ipv4 to dut2 ingress interface |
|
tc04: dut1 routes ipv4 to dut2 egress interface |
|
tc05: dut1 and dut2 route ipv4 between tg interfaces |
|
tc06: dut replies to icmpv4 echo reqs with size 64b-to-1500b-incr-1b |
|
tc08: dut replies to arp request |
|
eth2p-ethip4-ip4base-iaclbase-func¶
IPv4 routing with ingress ACL test cases Encapsulations: Eth-IPv4 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv4 ingress ACL (iACL) tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv4 routing and static routes. DUT1 is configured with iACL on link to TG, iACL classification and permit/deny action are configured on a per test case basis. Test ICMPv4 Echo Request packets are sent in one direction by TG on link to DUT1 and received on TG link to DUT2. On receive TG verifies if packets are dropped, or if received verifies packet IPv4 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with iacl ipv4 src-addr drops matching pkts |
|
tc02: dut with iacl ipv4 dst-addr drops matching pkts |
|
tc03: dut with iacl ipv4 src-addr and dst-addr drops matching pkts |
|
tc04: dut with iacl ipv4 protocol set to tcp drops matching pkts |
|
tc05: dut with iacl ipv4 protocol set to udp drops matching pkts |
|
tc06: dut with iacl ipv4 tcp src-ports drops matching pkts |
|
tc07: dut with iacl ipv4 tcp dst-ports drops matching pkts |
|
tc08: dut with iacl ipv4 tcp src-ports and dst-ports drops matching pkts |
|
tc09: dut with iacl ipv4 udp src-ports drops matching pkts |
|
tc10: dut with iacl ipv4 udp dst-ports drops matching pkts |
|
tc11: dut with iacl ipv4 udp src-ports and dst-ports drops matching pkts |
|
eth2p-ethip4-ip4base-ip4arp-func¶
IPv4 ARP test cases RFC826 ARP: Eth-IPv4 and Eth-ARP on links TG-DUT1, TG-DUT2, DUT1-DUT2: IPv4 ARP tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv4 routing and static routes. DUT ARP functionality is tested by making TG send ICMPv4 Echo Requests towards its other interface via DUT1 and DUT2.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut sends arp request for unresolved locally connected ipv4 address |
|
tc02: dut sends arp request for route next hop ipv4 address |
|
eth2p-ethip4-ip4base-ip4dhcpclient-func¶
DHCPv4 Client related test cases
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp sends a dhcp discover |
|
tc02: vpp sends a dhcpv4 discover with hostname |
|
tc03: vpp sends dhcpv4 request after offer |
|
tc04: vpp doesn’t send dhcpv4 request after offer with wrong xid |
|
tc05: vpp honors dhcpv4 lease time |
|
eth2p-ethip4-ip4base-ip4dhcpproxy-func¶
DHCPv4 proxy test cases
- [Top] Network Topologies: TG = DUT with two links between the nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-UDP-BOOTP-DHCP
- [Cfg] DUT configuration: DUT is configured with DHCPv4 proxy.
- [Ver] TG verification: Test DHCPv4 packets are sent on TG on first link to DUT and received on TG on second link. On receive TG verifies if DHCPv4 packets are valid.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp proxies valid dhcpv4 request to dhcpv4 server |
|
tc02: vpp proxy ignores invalid dhcpv4 request |
|
eth2p-ethip4-ip4base-ip4ecmp-func¶
Ipv4 Multipath routing test cases
- [Top] Network topologies: TG=DUT 2-node topology with two links between nodes.
- [Cfg] DUT configuration: On DUT configure interfaces IPv4 adresses, and multipath routing.
- [Ver] TG verification: Test packets are sent from TG on the first link to DUT. Packet is received on TG on the second link from DUT1.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: ipv4 equal-cost multipath routing |
|
eth2p-ethip4-ip4base-ip4proxyarp-func¶
RFC1027 Proxy ARP test cases
- [Top] Network topologies: TG-DUT1 2-node topology with single link between nodes.
- [Cfg] DUT configuration: DUT1 is configured with Proxy ARP
- [Ver] TG verification: Test ARP Request packet is sent from TG on link to DUT1; on receive TG verifies ARP reply packet for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC1027.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut sends arp reply on behalf of another machine from the ip range |
|
tc02: dut sends arp reply on behalf of another machine from beginning of the ip range |
|
tc03: dut sends arp reply on behalf of another machine from end of the ip range |
|
tc04: dut does not send arp reply on behalf of another machine from below of the ip range |
|
tc05: dut does not send arp reply on behalf of another machine from above of the ip range |
|
eth2p-ethip4-ip4base-ipolicemarkbase-func¶
IPv4 policer test cases
- [Top] Network topologies: TG=DUT1 2-node topology with two links between nodes.
- [Cfg] DUT configuration: On DUT1 configure interfaces IPv4 adresses, and static ARP record on the second interface.
- [Ver] TG verification: Test packet is sent from TG on the first link to DUT1. Packet is received on TG on the second link from DUT1.
- [Ref] Applicable standard specifications: RFC2474, RFC2697, RFC2698.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp policer 2r3c color-aware marks packet |
|
tc02: vpp policer 2r3c color-blind marks packet |
|
tc03: vpp policer 1r3c color-aware marks packet |
|
tc04: vpp policer 1r3c color-blind marks packet |
|
eth2p-ethip4-ip4base-rpf-func¶
Source RPF check on IPv4 test cases
- [Top] Network Topologies: TG - DUT1 - DUT2 - TG with one link between the nodes.
- [Cfg] DUT configuration: DUT2 is configured with L2 Cross connect. DUT1 is configured with IP source check on link to TG,
- [Ver] TG verification: Test ICMP Echo Request packets are sent in one direction by TG on link to DUT1 and received on TG link to DUT2. On receive TG verifies if packets which source address is not in routes are dropped.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp source rpf check on ipv4 src-addr |
|
tc02: vpp pass traffic on non-enabled rpf interface |
|
eth2p-ethip4-ip4basevrf-func¶
Vpn routed forwarding - baseline IPv4
- [Top] Network Topologies: TG=DUT1=DUT2=TG 3-node topology with two links in between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
- [Cfg] DUT configuration: Each DUT is configured with two VRF tables; Separation of traffic is tested by IP packets; Basic ARP and ROUTES are set on DUT nodes; IP addresses are set on DUT interfaces.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1, DUT2 or back to TG; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr, and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tg packets routed to dut ingress interface, vpp configured with two vrfs |
|
tc02: tg packets routed to dut egress interface, vpp configured with two vrfs |
|
tc03: tg packets routed to dut2 ingress interface through dut1, vpp configured with two vrfs |
|
tc04: tg packets routed to dut2 egress interface through dut1, vpp configured with two vrfs |
|
tc05: tg packets routed to tg through dut1 and dut2, vpp configured with two vrfs |
|
tc06: tg packets not routed to dut ingress interface in different vrf, vpp configured with two vrfs |
|
tc07: tg packets not routed to dut egress interface in different vrf, vpp configured with two vrfs |
|
tc08: tg packets not routed to dut2 ingress interface in different vrf through dut1, vpp configured with two vrfs |
|
tc09: tg packets not routed to dut2 egress interface in different vrf through dut1, vpp configured with two vrfs |
|
tc10: tg packets not routed to tg in different vrf through dut1 and dut2, vpp configured with two vrfs |
|
ip4 tunnels¶
gre¶
eth2p-ethip4gre-ip4base-func¶
GREoIPv4 test cases
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes; TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-GRE-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for routing over GRE tunnel; Eth-IPv4-ICMPv4 on TG_if1-DUT, Eth-IPv4-GRE-IPv4-ICMPv4 on TG_if2_DUT for GREoIPv4 encapsulation and decapsulation verification.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. GREoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; GREoIPv4 encapsulation and decapsulation are verified separately by TG; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC2784.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route over greoipv4 tunnel between two tg links |
|
tc02: dut encapsulates ipv4 into greoipv4 tunnel - gre header verification |
|
tc03: dut decapsulates ipv4 from greoipv4 tunnel - ipv4 header verification |
|
tc04: dut encapsulates ipv4 into greoipv4 different tunnels - gre header verification |
|
tc05: dut re-encapsulates ipv4 gre into other gre tunnel - gre header verification |
|
tc06: dut do not process gre with wrong tunnel destination ip |
|
lisp¶
api-crud-lisp-func¶
API test cases
- [Top] Network Topologies: DUT1 1-node topology.
- [Enc] Packet Encapsulations: None.
- [Cfg] DUT configuration: DUT1 gets configured with all LISP parameters.
- [Ver] Verification: DUT1 operational data gets verified following configuration.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut can enable and disable lisp |
|
tc02: dut can add and delete locator_set |
|
tc03: dut can add, reset and delete locator_set |
|
tc04: dut can add and delete eid address |
|
tc05: dut can add and delete lisp map resolver address |
|
eth2p-ethip4lisp-ip4base-func¶
IP AFI independent functional tests.
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 over lispoipv4 tunnel after disable-enable |
|
eth2p-ethip4lisp-l2bdbasemaclrn-func¶
ip4-lispgpe-ip4 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4-LISPGpe-IP4
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: route ipv4 packet through lisp with bridge domain setup. |
|
eth2p-ethip4lispgpe-ip4base-func¶
ip4-lispgpe-ip4 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using physical interfaces |
|
eth2p-ethip4lispgpe-ip4basevrf-func¶
ip4-lispgpe-ip4 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using physical interfaces and vrf is enabled |
|
eth2p-ethip4lispgpe-ip6base-func¶
LISP static adjacency test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lispoipv4 tunnel |
|
eth2p-ethip4lispgpe-ip6basevrf-func¶
LISP static adjacency test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using physical interfaces and vrf is enabled |
|
vxlan¶
eth2p-dot1qip4vxlan-l2bdbasemaclrn-func¶
RFC7348 VXLAN: Bridge-domain with VXLAN over VLAN test cases
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-VXLAN-Eth-IPv4-ICMPv4 on DUT1-DUT2, Eth-dot1q-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with static MACs, MAC learning enabled and Split Horizon Groups (SHG) depending on test case; VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vxlanoipv4ovlan tunnels switch icmpv4 between tg links |
|
eth2p-ethip4vxlan-l2bdbasemaclrn-func¶
Bridge-domain with VXLAN test cases - IPv4
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-IPv4-VXLAN-Eth-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled; VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vxlanoipv4 tunnels switch icmpv4 between tg links |
|
eth2p-ethip4vxlan-l2xcbase-func¶
RFC7348 VXLAN: L2 cross-connect with VXLAN test cases
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-IPv4-VXLAN-Eth-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross-connect (L2XC) switching; VXLAN tunnels are configured between L2XCs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and vxlanoipv4 tunnels switch icmpv4 between tg links |
|
eth4p-ethip4vxlan-l2bdbasemaclrn-l2shg-func¶
L2BD with SHG combined with VXLAN test cases - IPv4
- [Top] Network topologies: TG=DUT1=DUT2=TG 3-node circular topology with double parallel links.
- [Enc] Packet encapsulations: Eth-IPv4-VXLAN-Eth-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled and Split Horizon Groups (SHG); VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vxlanoipv4 tunnels in shg switch icmpv4 between tg links |
|
tc01: dut1 and dut2 with l2bd and vxlanoipv4 tunnels in different shgs switch icmpv4 between tg links |
|
ip6¶
eth2p-ethip6-ip6base-copblklistbase-func¶
COP Security IPv6 Blacklist Tests
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6 on all links.
- [Cfg] DUT configuration: DUT1 is configured with IPv6 routing and static routes. COP security black-lists are applied on DUT1 ingress interface from TG. DUT2 is configured with L2XC.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut drops ipv6 pkts with cop blacklist set with ipv6 src-addr |
|
eth2p-ethip6-ip6base-copwhlistbase-func¶
COP Security IPv6 Whitelist Tests
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6 on all links.
- [Cfg] DUT configuration: DUT1 is configured with IPv6 routing and static routes. COP security white-lists are applied on DUT1 ingress interface from TG. DUT2 is configured with L2XC.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut permits ipv6 pkts with cop whitelist set with ipv6 src-addr |
|
eth2p-ethip6-ip6base-func¶
IPv6 routing test cases RFC2460 IPv6, RFC4443 ICMPv6, RFC4861 Neighbor Discovery. Encapsulations: Eth-IPv6-ICMPv6 on links TG-DUT1, TG-DUT2, DUT1-DUT2; Eth-IPv6-NS/NA on links TG-DUT. IPv6 routing tests use circular 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv6 routing and static routes. Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2 and received on TG links on the other side of circular topology. On receive TG verifies packets IPv6 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut replies to icmpv6 echo req to its ingress interface |
|
tc02: dut replies to icmpv6 echo req pkt with size 64b-to-1500b-incr-1b |
|
tc04: dut routes to its egress interface |
|
tc05: dut1 routes to dut2 ingress interface |
|
tc06: dut1 routes to dut2 egress interface |
|
tc07: dut1 and dut2 route between tg interfaces |
|
tc08: dut replies to ipv6 neighbor solicitation |
|
eth2p-ethip6-ip6base-iaclbase-func¶
IPv6 routing with ingress ACL test cases Encapsulations: Eth-IPv6 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv6 ingress ACL (iACL) tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv6 routing and static routes. DUT1 is configured with iACL on link to TG, iACL classification and permit/deny action are configured on a per test case basis. Test ICMPv6 Echo Request packets are sent in one direction by TG on link to DUT1 and received on TG link to DUT2. On receive TG verifies if packets are dropped, or if received verifies packet IPv6 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with iacl ipv6 src-addr drops matching pkts |
|
tc02: dut with iacl ipv6 dst-addr drops matching pkts |
|
tc03: dut with iacl ipv6 src-addr and dst-addr drops matching pkts |
|
tc04: dut with iacl ipv6 protocol set to tcp drops matching pkts |
|
tc05: dut with iacl ipv6 protocol set to udp drops matching pkts |
|
tc06: dut with iacl ipv6 tcp src-ports drops matching pkts |
|
tc07: dut with iacl ipv6 tcp dst-ports drops matching pkts |
|
tc08: dut with iacl ipv6 tcp src-ports and dst-ports drops matching pkts |
|
tc09: dut with iacl ipv6 udp src-ports drops matching pkts |
|
tc10: dut with iacl ipv6 udp dst-ports drops matching pkts |
|
tc11: dut with iacl ipv6 udp src-ports and dst-ports drops matching pkts |
|
tc12: dut with iacl mac src-addr and iacl ipv6 udp src-ports and dst-ports drops matching pkts |
|
eth2p-ethip6-ip6base-ip6dhcpproxy-func¶
DHCPv6 proxy test cases
- [Top] Network Topologies: TG = DUT with two links between the nodes.
- [Cfg] DUT configuration: DUT is configured with DHCPv6 proxy.
- [Ver] TG verification: Test DHCPv6 packets are sent on TG on first link to DUT and received on TG on second link. On receive TG verifies if DHCPv6 packets are valid
- [Ref] Applicable standard specifications: RFC 3315
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp proxies valid dhcpv6 request to dhcpv6 server |
|
eth2p-ethip6-ip6base-ip6ecmp-func¶
Ipv6 Multipath routing test cases
- [Top] Network topologies: TG=DUT 2-node topology with two links between nodes.
- [Cfg] DUT configuration: On DUT configure interfaces IPv4 adresses, and multipath routing.
- [Ver] TG verification: Test packets are sent from TG on the first link to DUT. Packet is received on TG on the second link from DUT1.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: ipv6 equal-cost multipath routing |
|
eth2p-ethip6-ip6base-ip6ra-func¶
IPv6 Router Advertisement test cases RFC4861 Neighbor Discovery. Encapsulations: Eth-IPv6-RA on links TG-DUT1. IPv6 Router Advertisement tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv6 routing and static routes. TG verifies received RA packets.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut transmits ra on ipv6 enabled interface |
|
tc02: dut retransmits ra on ipv6 enabled interface after a set interval |
|
tc03: dut responds to router solicitation request |
|
tc04: dut responds to router solicitation request sent from link local address |
|
eth2p-ethip6-ip6base-ipolicemarkbase-func¶
IPv6 policer test cases
- [Top] Network topologies: TG=DUT1 2-node topology with two links between nodes.
- [Cfg] DUT configuration: On DUT1 configure interfaces IPv6 adresses, and static neighbor record on the second interface.
- [Ver] TG verification: Test packet is sent from TG on the first link to DUT1. Packet is received on TG on the second link from DUT1.
- [Ref] Applicable standard specifications: RFC2474, RFC2697, RFC2698.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: vpp policer 2r3c color-aware marks packet |
|
tc02: vpp policer 2r3c color-blind marks packet |
|
tc03: vpp policer 1r3c color-aware marks packet |
|
tc04: vpp policer 1r3c color-blind marks packet |
|
eth2p-ethip6-ip6basevrf-func¶
Vpn routed forwarding - baseline IPv6
- [Top] Network Topologies: TG=DUT1=DUT2=TG 3-node topology with two links in between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6
- [Cfg] DUT configuration: Each DUT is configured with two VRF tables; Separation of traffic is tested by IP packets; Neighbors and Routes are set on DUT nodes; IP addresses are set on DUT interfaces.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent by TG on link to DUT1, DUT2 or back to TG; On receipt TG verifies packets for correctness and their IPv6 src-addr, dst-addr, and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: tg packets routed to dut ingress interface, vpp configured with two vrfs |
|
tc02: tg packets routed to dut egress interface, vpp configured with two vrfs |
|
tc03: tg packets routed to dut2 ingress interface through dut1, vpp configured with two vrfs |
|
tc04: tg packets routed to dut2 egress interface through dut1, vpp configured with two vrfs |
|
tc05: tg packets routed to tg through dut1 and dut2, vpp configured with two vrfs |
|
tc06: tg packets not routed to dut ingress interface in different vrf, vpp configured with two vrfs |
|
tc07: tg packets not routed to dut egress interface in different vrf, vpp configured with two vrfs |
|
tc08: tg packets not routed to dut2 ingress interface in different vrf through dut1, vpp configured with two vrfs |
|
tc09: tg packets not routed to dut2 egress interface in different vrf through dut1, vpp configured with two vrfs |
|
tc10: tg packets not routed to tg in different vrf through dut1 and dut2, vpp configured with two vrfs |
|
ip6 tunnels¶
lisp¶
eth2p-ethip6lisp-l2bdbasemaclrn-func¶
l2-lispgpe-ip6 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IP6-ICMPv6-LISPGpe-IP6
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge domains and neighbors. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: route ipv6 packet through lisp with bridge domain setup. |
|
eth2p-ethip6lispgpe-ip4base-func¶
LISP static adjacency test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv6 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lispoipv6 tunnel |
|
eth2p-ethip6lispgpe-ip6base-func¶
ip6-lispgpe-ip6 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using physical interfaces |
|
eth2p-ethip6lispgpe-ip6basevrf-func¶
ip6-lispgpe-ip6 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using physical interfaces and vrf is enabled |
|
vxlan¶
eth2p-ethip6vxlan-l2bdbasemaclrn-func¶
Bridge-domain with VXLAN test cases - IPv6
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-IPv6-VXLAN-Eth-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for L2 switching of IPv6.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled; VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vxlanoipv6 tunnels switch icmpv6 between tg links |
|
eth4p-ethip6vxlan-l2bdbasemaclrn-l2shg-func¶
L2BD with SHG combined with VXLAN test cases - IPv6
- [Top] Network topologies: TG=DUT1=DUT2=TG 3-node circular topology with double parallel links.
- [Enc] Packet encapsulations: th-IPv6-VXLAN-Eth-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for L2 switching of IPv6.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled and Split Horizon Groups (SHG); VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vxlanoipv6 tunnels in shg switch icmpv6 between tg links |
|
tc02: dut1 and dut2 with l2bd and vxlanoipv6 tunnels in different shgs switch icmpv6 between tg links |
|
l2bd¶
eth2p-dot1ad–dot1q-l2bdbasemaclrn-vlantrans21-func¶
L2BD with VLAN tag rewrite test cases - transalte-2-1
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1, Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with bridge domain (L2BD) switching combined with MAC learning enabled and added VLAN sub-interface with VLAN tag rewrite translate-2-1 method of interface towards TG and interface towards DUT2. DUT2 is configured with L2 bridge domain (L2BD) switching between VLAN sub-interface with VLAN tag rewrite pop-1 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vlan translate-2-1 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2bd and vlan translate-2-1 with wrong tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2bd and vlan translate-2-1 (dut1) switch icmpv6 between two tg links |
|
tc04: dut1 and dut2 with l2bd and vlan translate-2-1 with wrong tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1ad-l2bdbasemaclrn-vlantrans22-func¶
L2BD with VLAN tag rewrite test cases - translate-2-2
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with bridge domain (L2BD) switching combined with MAC learning enabled and added VLAN sub-interface with VLAN tag rewrite translate-2-2 method of interface towards TG and interface towards DUT2. DUT2 is configured with L2 bridge domain (L2BD) switching between VLAN sub-interface with VLAN tag rewrite pop-2 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vlan translate-2-2 switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong inner tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong outer tag used (dut1) switch icmpv4 between two tg links |
|
tc04: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong outer and inner tags used (dut1) switch icmpv4 between two tg links |
|
tc05: dut1 and dut2 with l2bd and vlan translate-2-2 switch icmpv6 between two tg links |
|
tc06: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong inner tag used (dut1) switch icmpv6 between two tg links |
|
tc07: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong outer tag used (dut1) switch icmpv6 between two tg links |
|
tc08: dut1 and dut2 with l2bd and vlan translate-2-2 with wrong outer and inner tags used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1q–dot1ad-l2bdbasemaclrn-vlantrans12-func¶
L2BD with VLAN tag rewrite test cases - translate-1-2
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with bridge domain (L2BD) switching combined with MAC learning enabled and added VLAN sub-interface with VLAN tag rewrite translate-1-2 method of interface towards TG and interface towards DUT2. DUT2 is configured with L2 bridge domain (L2BD) switching between VLAN sub-interface with VLAN tag rewrite pop-2 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vlan translate-1-2 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong inner tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong outer tag used (dut1) switch icmpv4 between two tg links |
|
tc04: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong outer and inner tag used (dut1) switch icmpv4 between two tg links |
|
tc05: dut1 and dut2 with l2bd and vlan translate-1-2 (dut1) switch icmpv6 between two tg links |
|
tc06: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong inner tag used (dut1) switch icmpv6 between two tg links |
|
tc07: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong outer tag used (dut1) switch icmpv6 between two tg links |
|
tc08: dut1 and dut2 with l2bd and vlan translate-1-2 with wrong outer and inner tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1q-l2bdbasemaclrn-vlantrans11-func¶
L2BD with VLAN tag rewrite test cases - translate-1-1
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on TG-DUT1 and DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with bridge domain (L2BD) switching combined with MAC learning enabled and added VLAN sub-interface with VLAN tag rewrite translate-1-1 method of interface towards TG and interface towards DUT2. DUT2 is configured with L2 bridge domain (L2BD) switching between VLAN sub-interface with VLAN tag rewrite pop-1 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd and vlan translate-1-1 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2bd and vlan translate-1-1 with wrong tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2bd and vlan translate-1-1 (dut1) switch icmpv6 between two tg links |
|
tc04: dut1 and dut2 with l2bd and vlan translate-1-1 with wrong tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-eth-l2bdbasemaclrn-func¶
L2 bridge-domain test cases
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes; TG-DUT1-DUT2-TG 3-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 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled.
- [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut reports active interfaces |
|
tc02: dut with l2bd (mac learning) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2bd (mac learning) switch between two tg links |
|
eth2p-eth-l2bdbasemacstc-func¶
L2 bridge-domain test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-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 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with static MACs.
- [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd (static macs) switch between two tg links |
|
eth4p-eth-l2bdbasemaclrn-l2shg-func¶
L2 bridge-domain test cases
- [Top] Network Topologies: TG=DUT1=DUT2=TG 3-node circular topology with double parallel links.
- [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 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled and Split Horizon Groups (SHG).
- [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2bd (mac learn) and shg switch between four tg links |
|
l2xc¶
eth2p-dot1ad–dot1q-l2xcbase-vlantrans21-func¶
L2XC with VLAN tag rewrite test cases - translate-2-1
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1, Eth-dot1q-IPv4-ICMPv4 or Eth-dot1aq-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite translate-2-1 method of interface towards TG and interface towards DUT2. DUT2 is configured configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite pop-1 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and vlan translate-2-1 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2xc and vlan translate-2-1 with wrong tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2xc and vlan translate-2-1 (dut1) switch icmpv6 between two tg links |
|
tc04: dut1 and dut2 with l2xc and vlan translate-2-1 with wrong tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1ad-l2xcbase-func¶
L2 cross-connect with QinQ test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1ad-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross-connect (L2XC) switching with 802.1ad QinQ VLAN tag push and pop.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and two vlan push-pop switch icmpv4 between two tg links |
|
eth2p-dot1ad-l2xcbase-vlantrans22-func¶
L2XC with VLAN tag rewrite test cases - translate-2-2
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite translate-2-2 method of interface towards TG and interface towards DUT2. DUT2 is configured configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite pop-2 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and vlan translate-2-2 switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong inner tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong outer tag used (dut1) switch icmpv4 between two tg links |
|
tc04: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong outer and inner tags used (dut1) switch icmpv4 between two tg links |
|
tc05: dut1 and dut2 with l2xc and vlan translate-2-2 switch icmpv6 between two tg links |
|
tc06: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong inner tag used (dut1) switch icmpv6 between two tg links |
|
tc07: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong outer tag used (dut1) switch icmpv6 between two tg links |
|
tc08: dut1 and dut2 with l2xc and vlan translate-2-2 with wrong outer and inner tags used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1q–dot1ad-l2xcbase-vlantrans12-func¶
L2XC with VLAN tag rewrite test cases - translate-1-2
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv4-ICMPv4 or Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv6-ICMPv6 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite translate-1-2 method of interface towards TG and interface towards DUT2. DUT2 is configured configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite pop-2 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and vlan translate-1-2 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong inner tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong outer tag used (dut1) switch icmpv4 between two tg links |
|
tc04: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong outer and inner tag used (dut1) switch icmpv4 between two tg links |
|
tc05: dut1 and dut2 with l2xc and vlan translate-1-2 (dut1) switch icmpv6 between two tg links |
|
tc06: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong inner tag used (dut1) switch icmpv6 between two tg links |
|
tc07: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong outer tag used (dut1) switch icmpv6 between two tg links |
|
tc08: dut1 and dut2 with l2xc and vlan translate-1-2 with wrong outer and inner tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-dot1q-l2xcbase-vlantrans11-func¶
L2XC with VLAN tag rewrite test cases - translate-1-1
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on TG-DUT1 and DUT1-DUT2, Eth-IPv4-ICMPv4 or Eth-IPv4-ICMPv4 on TG-DUT2 for L2 switching of IPv4/IPv6.
- [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite translate-1-1 method of interface towards TG and interface towards DUT2. DUT2 is configured configured with L2 cross-connect (L2XC) switching between VLAN sub-interface with VLAN tag rewrite pop-1 method of interface towards DUT1 and interface towards TG.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent from TG on link to DUT1 and received in TG on link form DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: IEEE 802.1q, IEEE 802.1ad.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc and vlan translate-1-1 (dut1) switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2xc and vlan translate-1-1 with wrong tag used (dut1) switch icmpv4 between two tg links |
|
tc03: dut1 and dut2 with l2xc and vlan translate-1-1 (dut1) switch icmpv6 between two tg links |
|
tc04: dut1 and dut2 with l2xc and vlan translate-1-1 with wrong tag used (dut1) switch icmpv6 between two tg links |
|
eth2p-eth-l2xcbase-func¶
L2 cross-connect test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-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 and DUT2 are configured with L2 cross-connect (L2XC) switching.
- [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 with l2xc switch icmpv4 between two tg links |
|
tc02: dut1 and dut2 with l2xc switch icmpv6 between two tg links |
|
eth2p-eth-l2xcbase-iaclbase-func¶
Ingress ACL test cases
- [Top] Network Topologies: TG - DUT1 - DUT2 - TG with one link between the nodes.
- [Cfg] DUT configuration: DUT2 is configured with L2 Cross connect. DUT1 is configured with iACL classification on link to TG,
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in one direction by TG on link to DUT1 and received on TG link to DUT2. On receive TG verifies if packets are dropped.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with iacl mac src-addr drops matching pkts |
|
tc02: dut with iacl mac dst-addr drops matching pkts |
|
tc03: dut with iacl mac src-addr and dst-addr drops matching pkts |
|
tc04: dut with iacl ethertype drops matching pkts |
|
telemetry¶
eth2p-ethip4-ip4base-ip4ipfixbase-func¶
IPFIX ipv4 test cases IPFIX tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 is configured with IPv4 routing and static routes. IPFIX is configured on DUT1 with DUT1->TG interface as collector. Test packets are sent from TG to DUT1. TG listens for flow report packets and verifies that they contains flow record of test packets sent.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut sends ipfix template and data packets |
|
tc02: dut reports packet flow for traffic by source address |
|
tc03: dut reports packet flow for traffic with local destination address |
|
tc04: dut reports packet flow for traffic with remote destination address |
|
tc05: dut reports packet flow for traffic by source and destination port |
|
eth2p-ethip4-ip4base-ip4ipfixscale-func¶
IPFIX ipv4 test cases IPFIX tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 is configured with IPv4 routing and static routes. IPFIX is configured on DUT1 with DUT1->TG interface as collector. Test packets are sent from TG to DUT1. TG listens for flow report packets and verifies that they contains flow record of test packets sent.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut reports packet flow with a large number of packets |
|
tc02: dut reports packet flow when multiple sessions are configured |
|
eth2p-ethip4-ip4base-spanrx-func¶
SPAN test suite
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Cfg] DUT configuration: DUT1 is configured with SPAN mirroring from the first DUT1-TG interface to the second one.
- [Ver] TG verification: Test ARP or ICMP packets are sent by TG on first link to DUT1; On receipt through second link TG verifies the copy of packet sent and the copy of DUT’s reply packet.
- [Ref] Applicable standard specifications: None?
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut mirrors l2 packets from one interface to another |
|
tc02: dut mirrors ipv4 packets from one interface to another |
|
eth2p-ethip6-ip6base-ip6ipfixbase-func¶
IPFIX ipv6 test cases IPFIX tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 is configured with IPv4 and IPV6 routing and static routes. IPFIX is configured on DUT1 with DUT1->TG interface as collector.Test packets are sent from TG to or through DUT1. TG listens for flow report packets and verifies that they contains flow records of test packets sent.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut reports packet flow for traffic by source address |
|
tc02: dut reports packet flow for traffic with local destination address |
|
tc03: dut reports packet flow for traffic with remote destination address |
|
tc04: dut reports packet flow for traffic by source and destination port |
|
eth2p-ethip6-ip6base-ip6ipfixscale-func¶
IPFIX ipv6 test cases IPFIX tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 is configured with IPv4 and IPV6 routing and static routes. IPFIX is configured on DUT1 with DUT1->TG interface as collector.Test packets are sent from TG to or through DUT1. TG listens for flow report packets and verifies that they contains flow records of test packets sent.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut reports packet flow with a large number of packets |
|
tc02: dut reports packet flow when multiple sessions are configured |
|
eth2p-ethip6-ip6base-spanrx-func¶
SPAN test suite
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Cfg] DUT configuration: DUT1 is configured with SPAN mirroring from the first DUT1-TG interface to the second one.
- [Ver] TG verification: Test ARP or ICMP packets are sent by TG on first link to DUT1; On receipt through second link TG verifies the copy of packet sent and the copy of DUT’s reply packet.
- [Ref] Applicable standard specifications: None?
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut mirrors ipv6 packets from one interface to another |
|
vm vhost¶
ip4¶
eth2p-ethip4-ip4base-eth-2vhost-1vm¶
eth2p-ethip4-ip4base-eth-2vhost-1vm¶
IPv4 routing test cases with vhost user interface RFC791 IPv4, RFC826 ARP, RFC792 ICMPv4. Encapsulations: Eth-IPv4-ICMPv4 on links TG=DUT1. IPv4 routing tests use circular 2-node topology TG - DUT1 - TG with two link between the nodes. DUT is configured with IPv4 routing and static routes. Test sends packets by TG on links to DUT and received on TG link on the other side of circular topology. On receive TG verifies packets IPv4 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: ipv4 forward via vhost to another vrf |
|
eth2p-ethip4ipsectptlispgpe-ip4base-eth-2vhost-1vm-func¶
IPv4-ip4-ipsec-lispgpe-ip4 - main fib, vrf (gpe_vni-to-vrf)
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: ICMPv4-IPv4-IPSec-LISPGPE-IPv4-ICMPv4.
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 via VM to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 over vhost to lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv4 over vhost to lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip4ipsectptlispgpe-ip6base-eth-2vhost-1vm-func¶
IPv6 - ip4-ipsec-lispgpe-ip6 - main fib, vrf, virt2lisp, phy2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISPGPE-IPSec-IPv6-ICMP, Eth-IPv4-IPSec-LISPGPE-IPv6-ICMP
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 via VM to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 over vhost to lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv6 over vhost to lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip4lispgpe-ip4base-eth-2vhost-1vm-func¶
ip4-lispgpe-ip4 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using vhost interfaces |
|
eth2p-ethip4lispgpe-ip4basevrf-eth-2vhost-1vm-func¶
ip4-lispgpe-ip4 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 bidirectionally over lisp gpe tunnel using vhost interfaces and vrf is enabled |
|
eth2p-ethip4lispgpe-ip6base-eth-2vhost-1vm-func¶
LISP static adjacency test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv4 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using vhost interfaces |
|
ip6¶
eth2p-ethip6ipsectptlispgpe-ip4base-eth-2vhost-1vm-func¶
IPv6 - ip4-ipsec-lispgpe-ip6 - main fib, virt2lisp, phy2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISPGPE-IPSec-IPv4-ICMP, Eth-IPv6-IPSec-LISPGPE-IPv4-ICMP
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Test cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv4 over vhost to lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv4 over vhost to lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip6ipsectptlispgpe-ip6base-eth-2vhost-1vm-func¶
IPv6 - ip6-ipsec-lispgpe-ip6 - main fib, vrf (gpe_vni-to-vrf), phy2lisp, virt2lisp
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-IPSec-LISPGPE-IPv6-ICMPv6,
- [Cfg] DUT configuration: Each DUT is configured with LISP and IPsec. IPsec is in transport mode. Tests cases are for IPsec configured both on RLOC interface or lisp_gpe0 interface.
- [Ver] TG verification: Packet is send from TG(if1) across the DUT1 via VM to DUT2 where it is forwarded to TG(if2).
- [Ref] Applicable standard specifications: RFC6830, RFC4303.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 over vhost to lisp gpe tunnel using ipsec (transport) on rloc int. |
|
tc02: dut1 and dut2 route ipv6 over vhost to lisp gpe tunnel using ipsec (transport) on lisp_gpe0 int. |
|
eth2p-ethip6lispgpe-ip6base-eth-2vhost-1vm-func¶
ip6-lispgpe-ip6 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using vhost interfaces |
|
eth2p-ethip6lispgpe-ip6basevrf-eth-2vhost-1vm-func¶
ip6-lispgpe-ip6 encapsulation test cases
- [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv6 routing and static routes. LISPoIPv6 tunnel is configured between DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC6830.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut1 and dut2 route ipv6 bidirectionally over lisp gpe tunnel using vhost interfaces and vrf is enabled |
|
l2bd¶
eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func¶
L2 bridge domain with VLAN tag over VM test cases
- [Top] Network Topologies: TG=DUT 2-node circular topology with double links between nodes.
- [Enc] Packet encapsulations: Eth-dot1q-IPv4-ICMPv4 or Eth-dot1q-IPv6-ICMPv6 on TG=DUT and on DUT=VM.
- [Cfg] DUT configuration: DUT is configured with two bridge domains (L2BD) with MAC learning enabled; each one with added VLAN sub-interface towards TG and vhost-user interface to local VM. Configure linux bridge on VM to pass traffic between both vhost-user interfaces.
- [Ver] TG verification: Make TG send ICMPv4/ICMPv6 Echo Req between two of its interfaces to be switched by DUT via VM; verify packets are switched between these TG interfaces; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr, MAC addresses and VLAN tag.
- [Ref] Applicable standard specifications: IEEE 802.1q.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm - ipv4 |
|
tc01: eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm - ipv6 |
|
eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func¶
Provider network FDS related. Test suite uses 3-node topology TG - DUT1 - DUT2 - TG with one link between nodes. Test packets are sent in both directions between namespaces in DUT1 and DUT2 with both positive and negative scenarios tested.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
provider network test cases with provider physical networks (vlan) |
|
eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-func¶
L2 bridge-domain test cases
- [Top] Network Topologies: TG=DUT=VM 3-node topology with VM and double parallel links.
- [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 two L2 bridge-domains (L2BD) switching combined with MAC learning enabled.
- [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:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with two l2bds (mac learn) switches icmpv4 between tg and vm links |
|
tc02: dut with two l2bds (mac learn) switches icmpv6 between tg and vm links |
|
eth2p-eth-l2bdbasemacstc-eth-2vhost-1vm-func¶
L2 bridge-domain test cases
- [Top] Network Topologies: TG=DUT=VM 3-node topology with VM and double parallel links.
- [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 two L2 bridge-domains (L2BD) switching combined with static MACs.
- [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:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with two l2bds (static macs) switches icmpv4 between tg and vm links |
|
tc02: dut with two l2bds (static macs) switches icmpv6 between tg and vm links |
|
eth2p-ethip4-l2bdbase-vhost-client-reconnect-2vm-func¶
Vhost-User Interface Traffic Tests
- [Top] Network Topologies: TG=DUT1 2-node topology with two links between nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-VXLAN-ETH-IP on TG-DUT link. ETH-IP on VirtualEthernet-VM interface.
- [Cfg] DUT configuration: On DUT is running 2 VM with 2 vhost-user interface on each VM. DUT is configured with VXLAN and vhost-user interfaces in bridge-domain (L2BD).
- [Cfg] VM configuration: VM has both vhost-user interfaces added into Linux Bridge.
- [Ver] TG verification: VXLAN packet is send to DUT where is decapsulated and send bridged to vhost-user inteface. VM forwards frame to its second interface and VPP encapsulates it to another VXLAN tunnel. Packets are sent and received by TG on link to DUT.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: qemu reconnects to vpps vhost-user when qemu is killed and restarted |
|
tc02: vpp reconnects to qemu vhost-user when restart vpp and reconfigured |
|
eth2p-ethip4vxlan-l2bdbasemaclrn–eth-4vhost-2vm-fds-tenant-nets-func¶
Tenant network FDS related. Test suite uses 3-node topology TG - DUT1 - DUT2 - TG with one link between nodes. Test packets are sent in both directions between namespaces in DUT1 and DUT2 with both positive and negative scenarios tested.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
l2 test cases with tenant networks (vxlan) |
|
eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func¶
L2BD with VM combined with VXLAN test cases - IPv4
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-IPv4-VXLAN-Eth-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for L2 switching of IPv4.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled; VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01:dut1 and dut2 with two l2bds and vxlanoipv4 tunnel switch icmpv4 between tg links and vm links |
|
eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func¶
L2BD with VM combined with VXLAN test cases - IPv6
- [Top] Network topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
- [Enc] Packet encapsulations: Eth-IPv6-VXLAN-Eth-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for L2 switching of IPv6.
- [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) switching combined with MAC learning enabled; VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
- [Ver] TG verification: Test ICMPv6 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2; on receive TG verifies packets for correctness and their IPv6 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC7348.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01:dut1 and dut2 with two l2bds and vxlanoipv6 tunnel switch icmpv6 between tg links and vm links |
|
l2xc¶
eth2p-eth-l2xcbase-eth-2vhost-1vm-func¶
L2 cross-connect test cases
- [Top] Network Topologies: TG=DUT=VM 3-node topology with VM and double parallel links.
- [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 (L2XC) switching.
- [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:
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
tc01: dut with two l2xcs switches icmpv4 between tg and local vm links |
|
tc02: dut with two l2xcs switches icmpv6 between tg and local vm links |
|