TC01: BMR, then an IPv4 prefix is assigned |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 1.0.0.1/32 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 4 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 8 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 10 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 20 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 23 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 4 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 7 psid-offset 0 psid-len 0 map_del_domain index 0 DUT2: no VAT command executed |
TC02: BMR, full IPv4 address is to be assigned |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 1.0.0.1/32 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 24 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.160.0.0/12 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 20 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.200.0/22 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 10 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 8 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.208/28 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 4 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 0 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/40 ip6-src 2001:db8:ffff::1 ea-bits-len 24 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.160.0.0/12 ip6-pfx 2001:db8::/44 ip6-src 2001:db8:ffff::1 ea-bits-len 20 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001:db8::/48 ip6-src 2001:db8:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.200.0/22 ip6-pfx 2001:db8::/54 ip6-src 2001:db8:ffff::1 ea-bits-len 10 psid-offset 0 psid-len 0 map_del_domain index 0 DUT2: no VAT command executed |
TC03: BMR, shared IPv4 address is to be assigned |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 1.0.0.1/32 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.160.0.0/12 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 25 psid-offset 6 psid-len 5 map_del_domain index 0 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 25 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 25 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 25 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.192.0/20 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 17 psid-offset 6 psid-len 5 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 17 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 17 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.0/24 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 12 psid-offset 6 psid-len 4 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 12 psid-offset 6 psid-len 8 map_del_domain index 0 DUT2: no VAT command executed |
TC04: End user IPv6 prefix is 64 |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 1.0.0.1/32 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8:0012:3400::/56 ip6-src 2001:db8:ffff::1 ea-bits-len 8 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.208/28 ip6-pfx 2001:db8:0012:3400::/56 ip6-src 2001:db8:ffff::1 ea-bits-len 8 psid-offset 5 psid-len 4 map_del_domain index 0 map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001:db8:0012:3400::/64 ip6-src 2001:db8:ffff::1 ea-bits-len 0 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 20.169.201.219/32 ip6-pfx 2001:db8:0012:3400::/64 ip6-src 2001:db8:ffff::1 ea-bits-len 0 psid-offset 0 psid-len 0 map_del_domain index 0 DUT2: no VAT command executed |
TC05: IPv4 prefix is 0 |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 1.0.0.1/32 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 0.0.0.0/0 ip6-pfx 2001:db8:0000::/40 ip6-src 2001:db8:ffff::1 ea-bits-len 8 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 0.0.0.0/0 ip6-pfx 2001:db8:0000::/40 ip6-src 2001:db8:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 0.0.0.0/0 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 32 psid-offset 0 psid-len 0 map_del_domain index 0 map_add_domain ip4-pfx 0.0.0.0/0 ip6-pfx 2001:d00::/24 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 map_add_domain ip4-pfx 0.0.0.0/0 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 40 psid-offset 6 psid-len 8 map_del_domain index 0 DUT2: no VAT command executed |
TC06: Multiple domain and check with traffic script IPv4 source IPv6 destination |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 0.0.0.0/0 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 69.127.0.0/16 ip6-pfx 2001:457f::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 91.251.0.0/16 ip6-pfx 2001:5bfb::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 92.241.0.0/16 ip6-pfx 2001:5cf1::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 141.215.0.0/16 ip6-pfx 2001:8dd7::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 35.14.0.0/16 ip6-pfx 2001:23e::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 DUT2: no VAT command executed |
TC07: Multiple domain and check with traffic script IPv6 source IPv6 destination |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 0.0.0.0/0 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 69.127.0.0/16 ip6-pfx 2001:457f::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 91.251.0.0/16 ip6-pfx 2001:5bfb::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 92.241.0.0/16 ip6-pfx 2001:5cf1::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 141.215.0.0/16 ip6-pfx 2001:8dd7::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 35.14.0.0/16 ip6-pfx 2001:23e::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 DUT2: no VAT command executed |
TC08: Encapsulate IPv4 ICMP into IPv6 |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route ::/0 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 0.0.0.0/0 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 69.127.0.0/16 ip6-pfx 2001:457f::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 91.251.0.0/16 ip6-pfx 2001:5bfb::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 92.241.0.0/16 ip6-pfx 2001:5cf1::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 141.215.0.0/16 ip6-pfx 2001:8dd7::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 map_add_domain ip4-pfx 35.14.0.0/16 ip6-pfx 2001:23e::/48 ip6-src 2001:ffff::1 ea-bits-len 16 psid-offset 0 psid-len 0 DUT2: no VAT command executed |
TC09: Repeated ip neighbor command doesnt put FIB to broken state |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route 2001::/16 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 0.0.0.0/0 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 ip_add_del_route 2001::/16 via 2001:0::2 sw_if_index 1 ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac fa:16:3e:8c:0b:8f ip_add_del_route 0.0.0.0/0 via 10.0.0.2 sw_if_index 2 ip_neighbor_add_del sw_if_index 2 dst 10.0.0.2 mac fa:16:3e:11:f1:2f map_add_domain ip4-pfx 20.0.0.0/8 ip6-pfx 2001::/16 ip6-src 2001:db8:ffff::1 ea-bits-len 48 psid-offset 6 psid-len 8 map_del_domain index 0 DUT2: no VAT command executed |
Bug: VPP-318 |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 10.0.0.1/24 sw_interface_add_del_address sw_if_index 1 2001:0::1/64 map_add_domain ip4-pfx 20.169.0.0/16 ip6-pfx 2001:db8::/32 ip6-src 2001:db8:ffff::1 ea-bits-len 20 psid-offset 6 psid-len 8 DUT2: no VAT command executed |