3n-icx-xxv710

25ge2p1xxv710-avf-ethip4gtpusw-ip4base-mrr

RFC2544: Pkt throughput GTPU test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-GTPU on DUT1-DUT2, Eth-IPv4 on TG-DUTn for IPv4 routing over GTPU tunnel.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4.

outing and static routes. GTPU tunnel is configured between DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4vxlan-l2bdbasemaclrn-mrr

RFC2544: Pkt throughput L2BD with VXLANoIPv4 test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4 on TG-DUTn. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUTs.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2

bridge-domain. VXLAN tunnels are configured between L2BDs on DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544, RFC7348.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

 64b-4t2c-avf- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

 64b-8t4c-avf- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

25ge2p1xxv710-avf-ethip4vxlan-l2xcbase-mrr

RFC2544: Pkt throughput L2XC with VXLANoIPv4 test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross-connect on TG-DUTn. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. VXLAN tunnels are configured between L2XCs on DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per

flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544, RFC7348.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=2,enable=True)

 64b-4t2c-avf- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=2,enable=True)

 64b-8t4c-avf- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=2,enable=True)

25ge2p1xxv710-ethip4gtpusw-ip4base-mrr

RFC2544: Pkt throughput GTPU test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-GTPU on DUT1-DUT2, Eth-IPv4 on TG-DUTn for IPv4 routing over GTPU tunnel.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4.

outing and static routes. GTPU tunnel is configured between DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c- 
ethip4gtpusw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘20.20.20.2’})
gtpu_add_del_tunnel(is_add=True,src_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=2,teid=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnx01x01’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4udpwireguard1000tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.src and IP.dst are applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

25ge2p1xxv710-ethip4udpwireguard100tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.src and IP.dst are applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

25ge2p1xxv710-ethip4udpwireguard1tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with single WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 1518b-2t1c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x88/xd1|nm.xa9xc4x8cJxbdxbbx8bx81xe2x161x0fxebxf4xb3xx06xe5]xb8!xdcxc4+w’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9c{xceVx04xe1^x99xb6x10xcf=x80lxc9xdex99xf3x8cPx0bx1axe4x8bxcdxedxbbx8bxaftxbaJ’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe8x1fRx8a]xa1xd75xa8xd8xe2xe6xb4xe0xffxe4xffx93x0ex94x19xf6xe63xb86x1d#xdbxe9xc4M’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Bxb1xbdxbfk#x00xe8xfbx18xb1xd1xe8ax9bxeaxf6xb9xc2jx15Hfxc9x08nx03xfdxa0xc7x94X’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-8t4c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x18x11xacvvxbfxbchxebexc5x9dx1fjxbcxa5\xfbx19x19x1d|x8dexdaxb4x8cx00fxb3On’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’.Nxd2x15xb3x9ax94x92x87.’xd5nW3rxeaDxe5xdcx92nxa7x81Usx8dxba+xe8@/’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’ @x88xc5x98x1fvpxb8Txd0xfeQxd2x015xc7g6=xa1(x92’xc5xb2x9exfbx83xb6xecb’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Fxfafx0e,xb3’x07yxde@bxfa_xbexa0xb4xafxa0x041xe5Dxdbx10xb45x01x8dxa8x03s’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x084x9dx0c\xcfx85ox93lxxb9x9cxd7xd7WRxce0xe4x958sx81Sxf8x0exfarx15xd0D’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Ox0exf1xebx13Qx18xffaxd9xfcxfdx9dxd0xd7Q8Yrxc8xcc)6lxdfxd3xeex0cxaaeL4’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c- 
ethip4udpwireguard1tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x`4x80xb9xf5e/xdcx8d\jPxbc>rxcax18xc5xccqx16pxd9%xebxe1xa8x16}Vl’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe5gxffxc2%x98<xd6nxc2cRxa2xed{oxd5r;xf1x94Zkux8a^-x8eWSr~’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4udpwireguard2tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.src and IP.dst are applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 1518b-2t1c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf8x99x95E7Qx0ex93Fxe1x82xd9ox10xf77xc8xa2&9x15x99x15xff’|\x8f\xb1\xd9\x90n^', 'generate_key': False}) |br| wireguard_peer_add(peer={‘public_key’: b’xfbxeaxb8x89&xbcex8e’xdfP(xb4rxa1x92xf3x0exeffx14txe0rGxc7x10xb0xe5-xfe&’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’8Gxff’x03[Lxa9{{Bxb9’xdetxa1xb7x9exafx95x01xb1x9fS:e[x8eYxe6x9f[‘, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd5wx97xbbrx9fH$xe3Rxfbxb5xf2xdf[<xb1x7fx14<;xb5x85x16x00>x8dxe57x91Ax0b’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf0xf3xb1xe8’>xc8rxc2xc3nf6xd2ax15x84wDx1cxd4x00Axc8x97xb4x00Bxf45x1dR’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdc4xd5x8bx93x06Gxfexecxa0#Uxfb’x87YA~xcfxc1x14x03(x06bjn(>xe3xbc|’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x}rVx13o/<xafx8ex8dxcdLx1d@xc0xc7xxbfUx08xcf’=x93Ixd9&xb0x92]w’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’a7x19t%xf2x82xf4x00xfcTxb2x9bxccnx07xb1x0cx19txb0fxeazYHxb1x7f:x94x00x05’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-8t4c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf0exfdUxd6x7fOxf6)xb0x1e#0xc3xa1xbcix1d7x04x98xcb{]x9exa8nx8dxfexc5Hk’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xbexa4(zx9dxdc<:x18#x8dx82WHxf3xe7x17xd1tx8dx93F[xd3xdbx80’ux83x8b!2’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x18xc4xa4x9exefOxa8xb6’x8bxb1x1ckxc8xc18xdejxeex1cx05x05O)xfbx8fxde.xc7pOl’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x16)xdbx1fxff)xd3xf6xc2px0exfdx019wX^xb6xa2x99]x15x94xc2[x12x1fx8dxaexdcr<’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8x1cxd8Sx1b=1x88xc9x82xc4{gxdbxdeWx16xc7x91Vxdexdcxa6xa8xcfx15mxb0xffWx1eg’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’;x17]xcbxccxa0xffxc2xbexccxcd6Sxcaxbaxf7xf5x8ftxc8x11x19x17xa5xe3x8bOxacxe3xxf7I’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb8xb6A0lxdexf5xbcJxc2x15uxaexda2x92[‘x87mwx94\!xcaTyx97Vx18x8fj’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x87xb0*tuxb2x19x16xc4ZAxf9>+x19xf3xfexfbx19x1ffxffxccx0fL^xb3xde xe6S:’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xa8/xc4x9fcxa1xafxcdxa6x06xdaxba4^dxcd(xadx0cxd8xe7x80xc2x17x96x97xddExafQx10m’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf9fxb4)x87xaa’xa1xbc ix0c2x12xf7txa792txbeSxf9Xxcbxa1xcfSx93xdcKx1a’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb8’+x96lxebC$xb6xbdRxc2xd5xcbx8b@]x1bq!Ix96xca16xa6RGxb1kxecG’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’agx1fxc6|x05xacx03mxdfxb9}xc5xbdUxf4O|xdc)xb2MKN)xa63xc3xabx0bxfc|’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c- 
ethip4udpwireguard2tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb8x03qxa9i&SQ&K[x13x0fx1dZxd6x14x13#xf4x02xf7xccx1bx8eRxedxf0xaaxe6>t’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdfx92x86xe4qx10x8exbdxaaxe3xa5x0bxe8xc8ax12x9cx97x91x95x83Xqx9dxf1x8cxfcx19xbbxd9x9dx1d’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8xe3KAxa4DdxbaSx91#(xd7xf2x9eQCxd4xa8%GxTx15]x9fxb2x9dXx8deB’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd3x01rxacx0ex11Exe3’xb5xb0xd3xe4xa7x91x8ex8dmxa8KxcegxFx90xfexc8|nrxc0m’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4udpwireguard4tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.src and IP.dst are applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 1518b-2t1c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’H*xfdxa9&xabxa9QOxd11x1exc0kwx7fx0fx98x1ex14xc9xce=4x94x12xe2x15<xf2mb’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x81xc5x01xddxc4xefx97x0ex8eN.xe8xf7Wxa9S/Q_0xcc5(nx9cxd7x8dxc6Y0x95x17’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x10*xe0Dx82nxf6xecxefxb3x91xcbxfdx1fx05Fx05hFxfa(x04aGx9dUxc3xf9Jx9fx84J’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’=x1fx0cbeexaa’7x9f7x97xc3xd1oxe1N(nxc4sxcbxe2x10xc9xc0+xafLT=p’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’pxa7x98X1xd0nxd5+xb0xbf&xrx9exebx8dxd0xa1xa5@x92xbfxbcx9axc6rx96x19xcex14h’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x16D)x1cx93I/xbdxf2x96xda>xddxc9=x91xc0xa7xc2xaexd3<xa48txf5x14_xf6Xxbbx08’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x90ZRxa6x86hASjxcbxffkx14Txc5x08xc4Kx91txfb.xc6sJNxdax9dxcfWUC’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x062Q73x1bxbax9c:xeax9bx18x88q5`x0cS xe8x11x0b0x10’Fxcaxecx01Ex85w’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’ m3x95zxa5x96xb5xabNx0fxccxd5fxbdxe5x91x16(H0xc3ux8bx04xb1hx0bn Fw’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’:x841xabqG0lxe1ALxd9i]x1bx9xdb6@xc8xaax18`xe6>xb5&x85Cxa8V’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’ #xa0xd4xe2xe4xb2x88xb5Y2)xd7a\x87x8cx06xd2xe4xcbSxdfr-CQxedx12Ox8do’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe8sxed’xa6x84xc8x06x98~xedx8exe7xcex0fxccxf7x1fxd9rxd6x11xfax9cxa8x13xdbbx0f:Ae’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’0x9cxedx12a3+x84v.qxa3x98x9ax1dxecxabxbax90xa5aC-H!x84xf8x88xc4xa6xdbg’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xcc!$xa6xd5[\x98xcbx1axedx85xbaxde*jxd2x9dxca2|x10x9aK9x92xc8x15xb6x1fp!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x80xffx07xb0E#FAWFxc53xf4xe5xdflxf8xb0xfdxd0k(xe3zxc1xb5~xa1rxaaxedQ’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf2xb0xb06x90F(xcdx01xddxd2b1xfdx98Yxdfx0bxf2xafx04x0cxd7x81wx98xe9xe3%xafhP’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-8t4c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xa0x08Lxa2boxe0xa6xa5Bx9exf0xb4vR^x9cxe5wxadku5x1a^g!7qx9fHI’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x01x18x87xc3x08xdax9fx1fxf7n*xd0xd29xfbxe6xbdfxa2xd5xa5xe5xe3xdaxbdx02xa7xfbx1a*xacY’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’p_7xa9x10#xa1yxddxffixccrxa2xaaxfaxa8x9fx1c>zxf5xcaxcdx07=xcfF6xb0xc6f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Hx8fx8f4x1cx94xddxcbx93Hxf6_bx16wxf1xb4#xffx84Y;xd0#xdf4^xb1#xf0nT’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’ x88tx00Nxe1Mb~x0bxeaxf0xb0xc0x8dw Y-8xc1!xc7%x8bxc5uxecxd6x14x96J’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xbaxe1x9f9xe6Oxa5exabx85xdfRxb4xc4x9d3xf9x1dxbbxdazx9c!xb91hx9axa9x10*Mx7f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xc8x9dxeeUv6xb6x7fxf4xd9!xa0tlx14xfaxe1xb6xcbxaaxda^xc3x16xac|x81x8eWxa9tU’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc2x0fx82Pxad>\xcbxa1;txc1xc2xb4xb2xa7xa6xd9xbaxb5Fxe0xe7Nbxe3%Q1x9bx91K’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe8x82xa0(Lxd6xa1F)xc0x1a;BfK)xf6xb7xe2x96Q]:F5xd0xdecxc3oRH’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x077Yox1ezxc5x1dxc7x80xb3x97;/x02x07x86xb7xcfNx9exb3x11Zx98bU^x88x98x8c’’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x80xd7Gxe8r5xbdz`x01q4x8773x03xf9xa3Rx1f#9xf0xb9xeb2[x83x10]xf4y’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’GQxf8xf9x12x08|xc8x902x99rxbdx14x82x1c&xbe.x95xa8j>xa0xf0KRxf1x10axa6T’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xe8cx8cx8deKx9axe5x0ex0fx8axe0lx11 xda!x06xd4x01WOxeexe1x18[x00Mx80=<x7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xffx86*rxf0xe0Qxf5xd8nxa2xc3xDxa0rxc9n}x9axd3xe4`rxf8x13xc2Dp?xbbz’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xf0Jxb2xd1Eqxcexcbx981x0fTx90xbcxdd-x83Fyxb4#xa0x10xd5x8dxf0xb7xd5xf0xadCc’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x00x84xe9x86xa4xf4dx03x92xaexafx01xa1xc8x10x19xe2xc5x1cxfdxbc[xd0xb3x98nxf7r,x97x82E’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe8xx87x1bxa3x00QOxeaxbbxa9xe0yx07jxc6vx85x84x92xc1xbdkx9c7x9fxe6zxfexf5x0cl’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdcxbbxa49xe9Hxc8xddx10,xc4xa8xb66x99Qpxd5xcexc7Vxa5xc3-0x12xf5sxb1jxc4,’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xa8xd6Dx1cx8f}xf0x1dxa1x1dx7flxe6xcexf2y(xc3xba-x89xeaxb2Q$xe9kDEUxbcR’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x17#x91HFx05Fx13x12<xe3xc6xb2x8dxe5x89x99xe7=xbdx1exd0Bxa2xd0x8ex9bxacixd0x1bs’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x08x82?x8bxc6xc31xc4x1aGsqUHx88xc0Fdxb0x06`xbfc?x17oxf0-k.x01H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa6+Qxa6x01Nxcfx89 x03=xbaxa0 wx9b+xe0xf2xf3MDxd4:xcaxcbPx9axb0sx87w’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xf0xf0xccxedxf4xd3xa9{xf1tx13Sxbbxbaxd3txa7Vxdex94[$2xc8xa2x8cx97xc6xfcx1drR’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’JWxbex9axe8xaax81xc1rnxb9nx0f4.ex14xf9gx98xe4xdbxf2xeexda!x89xdf x0cx97|’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c- 
ethip4udpwireguard4tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’H,ox17?xc1[{6xx0fxfbx85x93&D>x7f+xa0x07x19$xf2qx1fxfdxfdxf5eTI’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x91Vx87x80xb6xcf.x96xfaWxec2k8x0bYx04ex84xd1Cdxf8xeexadxffx1cx03xc4x10jU’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb8x92Qx10 rnxc1Xxeb_x02xecx91xbaxd9xbe/xb6zSx10 Zxfd(Ex9ex8fjxd6z’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’bxf0x12xc4~xb1Zx87xad(nl2xdbx18$xe5jxdex9fx1ayMxdaqxb6dx94zx86x16B’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf0x85xfaxa6xf9x86xe8gxa8x1exf7qx06XUgxdexd4x0bxebxdbxcexdaxe6plxaex06x9dTx12F’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa4xf3xe0,t_[xa6xeaxb0Ixb5xafxfexe0xedg@xe7*xde_xd4/xfbk`l0=x90b’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xb8x8axb2xffx83x18xb5xa1.xf6x12x82x8dxe9Ix8excehxf0xf0xf9x1excaxacjxe03xeblZx13j’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’_x04x836xfbexf3yx8exeex12xbdx1d;P)4zxfbxb0xaex0fGxd7xebxecxffxa6xe8xf9x9fx01’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4udpwireguard8tnlsw-ip4base-mrr

RFC2544: Pkt throughput IPv4 WireGuard tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-UDP-WireGuard on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple WireGuard tunnels between them. DUTs get IPv4 traffic from TG, and send to another DUT, where packets are decrypted and sent back o TG.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to

umber of WireGuard tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG ode interfaces. Incrementing of IP.src and IP.dst are applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 1518b-2t1c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’(x90xd1xd0x04xc1xdaxa0x93rxcexd6xc3xf9:pxf1x90x11x08Uxf3xcfxddaZGnxba<x04V’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x99xb4?xdemx8dx00Jxa6+zxedF)x12xc9x0elx15xfdxxe9x0fxec|xf0xf5nx8ax89xd7p’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8x1axf6&xafx05Rx96.x9c’x9axcaADJx98x96x90_x02x85xbaxf7gx17xa6xb2xe1x8drc’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc0Kx8dxf0^xe9x12x12:xe9xc2xfe[x1fxddxbdx00xa6xb5}xd9x01x89dx9dxcb!Jxb0xccxa3x06’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x00x91x8fx99T5Txedxe2\x02xdcxfbxa5xf6x87xfaxcax08x9dsxf4Hxd4x83Tx93xc1+xd1xb3u’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xx1d+x1fQx03x02;x1axc8xc1xf0zux18`xafUv$Px93xbaxabx9cRoudx1akY’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’Px81xf0xfa1yxef%xfdxbbx07xe646x0cxe4xb7x14’Zx8ax91Yxc3tx8ex04L:xdexc1e’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x0fs(xf07x11_Uxd5xd2x17x86Yxd5x0egxc9xc6yx87]xc5xb6[xc8xf3axc6x1exeaxb9x7f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x909xb5Wxd0<@xb1xebxe0xcaqx84HxbeAxc3x18x89oox94xf1mx1bSx97xf28x82~N’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Rx06\xafx99x93xadxeax922xc6xf5qxd6xecvxd4xafHx90xd9x8fxf8(xd2Yxedxc67xcd&%’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’pxcbWGxd1x91xee5x88x07xd7xb6lx86N<x10xa5Cxb2xf7xe37x80xc8x1bx87`1bxe1o’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Rxdax89qxe3x00xb3xddxec,xec+xc7xccxb6lxd5x8bxa0x1ax00rxf2.Xxb9x18xabxf5xb4-z’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’0Cx90xd3oxb7xffx84`Axd8x95xc7xea%xb9Oxabx85Nxfb\xd1Vx89xc7’xc4x0fx1bxdf}’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd8xf2xf5’xc9x07xe5xcagxe8xe1xa2x1bNZxae8x8cxcbxf4x99xd5xeasxc3ox9eF`Kx7fp’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xc8Cxdcx83xd7xd3x98xebx0execxbcUxlxc0W2Vxe9zx1bx07oxb8x90uxeex10xd5rad’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’K’QSW06x1fxb4jxe1qxd84E#onx92x0cxa6xd3x0b4Uxa9JMo.x8eo’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8txd1&txaexb0/#xd9x91&#xf4x89Jxd0Dx99#x88Qxc0!mx0exacxf0xb8Fxe0I’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x03x93xdex0c?x93x16x84$xb8Q/Fx9bx90xef@xa0Hx98lxedx12xc7xf5ZQxdaxeexe6x14t’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P<kxf0xf2xff+h’zkx8dxf0x8ex9fax82txb7xdeTnxd8x91x94x03nxe3Sx0bx99g’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8dixf9Ox80\xfdvx07x1dxaecSxa5}@Uixcc:xecxe5xf0x19x9cxeb_x005xc5KQ’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf0’x83xc1x1aM/xe1x05qx03xce%xfexb0xd0xffxc7x8fxffxd2xc0x8dxe0xe0>Nxfdl>xc0]’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x1ax19fx0fD x1exc9x93’x1dx1bxb8rxf0x9bx9dxc9xcaxc4a5x8b}x14xc4-ax7fxc7x7fx03’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xx1d9xe9x88yxfax19&,Wx01vx91xfc]+xcaxe0xbarx1c\xd6G9xf0xb6xf4xf3xddT’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x07f’ax9b=xde<xfa[x04xafx7fxcexacx1axe7xc2xb7x8dxa2J&xb3xbex00 xa3xf0xb1x82(‘, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xd0R`~xcfx14nxc1xe4xbax06xf5Exf2xf4xbex91xcbYkwYxb8I\^.\xb6xf1xb6L’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa6Lx02x81b{S_Exadxe6xaf-wxecxa0xf7xd2xd3}2x1exdexcdux98xa0xdexbeJxc1?’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hx03x8bxc5>-x8cBx93Axa4/Xx8aB3>xf3x048xbdvDx13|xf6xda\xb2}xc8B’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x98xa5xf1x15xbex86Kxbdxc2xbcTx11xcfxbex05xe9xe6Xxe4.xc3xc1xd4xd1cI,xe3dtxd7b’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xc0x7fx14xe6xxc3xb4xb8x8cxbexf7:txcc<xe0x0cWxbdxccBdx044x82xa3Oxf6x04xcd’n’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’rx0cxf8xffux84Rnxc3xf9xa1*x9cxf1x90xdex99xdaxe5xc7x9cjxabW,xb9xe4sC(xf8R’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x90xbd)vxb7xebx93x82xc9x93xx08|xecW=nx15xd3[x9e7ux11xcaxf1xdazQA|o’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xcdD?x00x9ax84GWx13xf1q7x80xa9Ocxa1x1c+:xaaxb6x86x11;.xacyxfbx8ex8ax11’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-8t4c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x10%xf9Zx023x06x80x06xf2x194?cx9fxc2<V<xd27x7f4xe3xa3xf0xa9JrxaeEt’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’7x9cx1amxacx9fx8fxb7xf6x19Px04xd6&5Uxb2xbd4^Ex9dx08xbcxdbxafxb6Nx17x91x03’’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x18xb9x96n`xf0xecx98vxafixc8x9bx8fx98x8fG4xc1xdfx88x9bx8dx02;=xb9xcd\dx93A’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x98qPx80x18xfeDK:=x8fZx8dxc1x16~x10xf9x1excfxb3xf63x9dx86gx97xd7Avxae!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xb01xf4xb5xecxa0x07xf2xb0x8cW/e^xc2>x019x8dklxecx0bx9dxa7x9cx1fx13xd7x86xdeS’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’nx01x81zx04xadxxbfx1ex03xc8xdcxf9xaat`xaaxaexf7xc5xa1xc5xc3xc6xbcux14xcdcxafxc3Q’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’pxa81xa2x12txfcxc8xd5%2&ReYx13x1exb2Hxeb\xcdxf56Cx10$xdex1bxfcxb2}’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xebxb9Xrxafxccnxb1x17x933xafxebx98Pmxe2wxe6xc5x99AMxd2xd3x18xd0C8xd7x95x12’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’XxaeruJYW)xf6x9ex0c2U;xfex93xc6xf1xe7mxf4Wq xc7xd1x1fxa3xb9xeexcf\’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x89x9ax98x0bxf9W\xbfxf4xee$=xa8)x01xa9x85xbax96xbexff160yxd4xd6 AJ)x0f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hxea!x8d<xfdxb5xd5xdf9^xb6x16xf3_xd1xb0xe8xf5!xc6bx94x7fEx060x8bxe3xc8xffM’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x80xb7xe6%xe9x80xfeETx01xf8x96x1cxfdxeaVx92/xd2lxc3=BQxfbxe8vKxb9x11xd6q’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x00|xe7lxe0Tx91xedKx0fxb24xd5x85Zx92Pxefxc3xdbxfbxf6x10@t’x95x17xc1x9a7J’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb0Pxfehxd3x0fexecrxd6tx99nW1bExa1xb9xee[xa7x99Uxb2xf2~/xeaxeejQ’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xd0x99x1f)#xfex06x9exf1x1axa1PYx11xbaxbblfx8bkc+lxa4xe2nLxacx9fxd8vJ’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’~x0cxf2exb6Oxc8xe8xa2.x1fx94xbblxeax93@x006x17ox8dx14xb6xb13<xe2x82xcexady’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xf0pex19p/xb1x1aiJx9b&x87xc4ex00s}xa3xfbxe5{xbfx978 !xafxedx81e’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x93ixb8n-xxd6x06xeax9dxaaxbfx196xddx85xb3uxad\x0e*xc9xd1xd9x9dLx7flx87?/’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P~x9exb3xc8xd6x83xf5xcex9fxf5D@x1fx1bxeax04=x12xfe!xf2zx17V4cTxbd’x18c’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x16xfcxccQx92dxdax1dux92Bxddxa9_@xa2xedwxb0Gxbesx9d!xa86rj%x95xfdv’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x88qP$ x8fUHxa3xdaDxb8x9fx90xc0O]xd8x11xf9xb8xfbx9c`x8b+rAx1fx88xd2D’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x1dxe3xa5xd6xcexadwxccx97xe9 xcex8fxd6}xefYpx19~xffxf0xcbxx08x9axdfxaaxb9xc2x8fV’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’Hkxc2xcb-x13mxddx9fg<rxccxcb?xc6xf35zgn9?xc8wfx1e!xb9]xb0X’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Sxd5x1e6Gx9bxf3=xabx08xa8rxf6x14#xcc2x9fxb1xc8xf2x14dx02xfcxd5x9a_xb3gxa1&’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xb0xccxfdxf3axf5xd9xb2L[rxa3`x95xc2x1bxd3xe4sxf6x9crxeexfdmxcaxe7jfxe0oB’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9exa4x14Sxfbtx8fS<xb5x12xcbxaaxd9A{x8axcebCSx87x82xe2x80xf9xe5Fxbe3xfc$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe0xedxb3vNmx9cx15xa6Qxa5xdaxdcxa9xa4xacxda)x8axaexc4xa3t:x9bxf0ixfdxe9xa5x14a’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xebxd3MxefT_xcbxd1[&Vx1fxe0Ixfexd0xf2&xdd5x8dxb0xa0x03xec>x8d8xfax98x8a!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’(xedxdam@wx90x0b’x81bnE/xcfxec3]x85xa1nx8fxfajxbbxf0x08[xa0xaexc1^’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’(x06xb2xb6kx93xad!jx1dxd2xd1x93xbd’xf9xcdxe7Bxcex16xb4x1fx08 xd6xa2{x12x9ex96c’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’0zgx1ex95Dxfxe1)xa8xc3xefx0fx81Orxfb7xcfmHxfbdxf4xf3xa4xd2ex14sS’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’fxe7Ixd9xcdF0;nyxfaxd0xf1x021Gxb5xe0x1fx16\x07nS’$txc7xa5Pxe5e’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xd8x0ex98xfcjmx82x88xddx04xc2hx10Mx02Txe0xb7>xd7x97n//xe0Tx{:x82xcfI’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8a/x9fxebx10Cx99x17&&xc7xba8xabx01Ox8c(Jxb7xedx02x1fx19<0x90tjL5x7f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’Hx9fxefxa5xf0dPxc7x91xc0dx06xf0LXGtxd8x89|nb(xbaxd7x88x05xdexf9x97rI’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’rm&xabM>9xc3xd5xf2xb6x88TGexfex02xa6xcaHxfexa6Exc5x11xf3$Gx92xef@6’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xd0x90x1fx95x971xd1 xc7u=UxeeWxcd2x80xc7@|x16xd1xb3xadwxab’xacx15xe1ri’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf7zxc9xb7xe3)xa0xf8yx8cMx98xcex99xdesxe9xd5xe1xxcfx9fkxcexdcx12xb3x99xa7xY<’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]})
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xx8a2xbfPxc0xbbKxfdx16{xc1Yy-xabdlxb50x9ex98s[>xc8txd7x851xecc’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa84xed2~@x94x15uVxcd;xa0Pxe1D<xa9x92Xx89xb7xa1xd8x1cx0fhxf6%}xcc4’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xa0Bx16xdb%)x05'xcfxeb\h}~xe9Xbx0ex06vx1e:Wx94x11xc8x18x8bx19’x9bC’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’X’xa4x95xbfx81xc4xa9&xc0x95cxxd2/=Xxad&x17JQTxdcPxf54x8cx08bx11%’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’x18x86BtX*Xx84xcdxfdxb5xb8bxd7x83xa7x0exxcc!x12)x8bx8cxa5+xeaxbdsxdb-Y’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x10xf2qxe0?Jxd0xfax1eFx92xb3Dxddx89x85xcaxe4xec1xc9xc9Bxd8xbbxa8x06E4GHx14’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xb8xf91Lx8bxf8xb2x99nxeaxd1gEhn`;xccx0emx02x12xbaxbcxacxf6x9avIxbcxb0G’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’<x8exabPx16tuu56xfexdfxf5%Zxecx86x02xdbx16xx80]x8dx9b:xd5xaegx1a^!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8xc9,x8ex94x80x0b$x97mxa8x87tx93xc0x00`xd8Mx82xafxe0x15x8c{Q.x8dx88x96xbdw’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’7x1aKixe8K3Mx96xf3gD}x89x0cyAx8fxb8Ex13Bx96x86Sx9dxaa6xdbx89xf2`’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c- 
ethip4udpwireguard8tnlsw-ip4base-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x80x8dxfcxbf’xabxaeAxbax97bx00xc5x8eMxf6xe6xeflxc7txc4xb7x1c4x1e/Qx15xf7x1eQ’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’,x9bx1ex1fxb0x81xa6x02x89xc9x1e$xd3xd8x85x0e-xd4Sx9cx8f*Yxac\!xacxd1xe2xbdx90S’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]})
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x90*xc8mx80x01xeaxb6>':Px8ex81<xd1!xc1xdbvxe1xb3’x0e`x83xabxabx95ox95K’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe3xe2’xeaxb3xc1x99x85x90jx07_xfdx99xb0x01xe1$xb8x9d#<ijx18x9bW'xa89xed ‘, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]})
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xc0Wx91T4x06x91#x18Uxd1x02xf4xc0xda+%Yx16xbdx15xa7xa9xf6xeb]>x99Ix8dja’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’2x89xfe6x02C7x94xc9xe8hx9cLZx99x98xe4x1amxf9xb4:|\x94\xb2\xef\x80Nd\xb5\xb2T', 'port': 51820, 'endpoint': IPv4Address('200.0.2.1'), 'sw_if_index': 5, 'persistent_keepalive': 256, 'n_allowed_ips': 1, 'allowed_ips': [{'len': 24, 'address': {'af': 0, 'un': {'ip4': b'\n\x00\x02\x00'}}}]}) |br| sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xd8xx9b’xdcvxfbx82>xa5x9cx13 xa3x94x16xUxdbx84xd8^xd0xb1Kxb5nVxb7xdaxcdK’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’bxa8yxfbuxc3’xed%o5x91xdexf9x84xd58xaex12qx82x9axb8tv6xa27-xcdex1c’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]})
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xa0Qx13%xe9x97x00x83fxadx1ax9exdaxb2xf9x99x81xfdx1f2x8dxa1x9cx0fx9bTx96ix1bxf5x12d’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9cxac7xe8x92xc3CJx9f;xf9Ex84nxa8x17xbcx0fx8d|Xxffx97Sxf3f4xd8xe4xc1{$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]})
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’p*xb0x86x8exffNoxc8Bx892]8{x05xcfxb6yxa4`\6x98.xea]xb1#xadyx7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’kxb1F0x8cx96xb2Wx99xabrx96gxba<x9axe9Cxb5xa5Urx92xe5x864xcfgxc3y-x1a’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xd8xc7xb9xb8x13xcbxe8x86x8b*x1fx94xf31(_>x1efxc9xa7x87Xx1b<:xa3xfdx85xd4jt’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’tex02x86x0cxedx8fn(fxa0xd0F]x14x7fPx8axcexbfx00xf8xc8x90fxfaxd8xfbxf2xd6xb0$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]})
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x88xccx9b3x94xc0xa6|wPx18UTxdaxbekxd0nxa4xb4xeexe3Wx81xccxb6xa1x9axddx9axf1z’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe8H(xd3x1dBx05x04xadxeaox910x8fx0fx7fx8d%xab/xa5hx8bMx16x01x87x9ex9cx7f1t’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]})
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4vxlan-l2bdbasemaclrn-mrr

RFC2544: Pkt throughput L2BD with VXLANoIPv4 test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4 on TG-DUTn. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUTs.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2

bridge-domain. VXLAN tunnels are configured between L2BDs on DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544, RFC7348.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

 64b-4t2c- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

 64b-8t4c- 
ethip4vxlan-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=3,flags=1)

25ge2p1xxv710-ethip4vxlan-l2xcbase-mrr

RFC2544: Pkt throughput L2XC with VXLANoIPv4 test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular opology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross-connect on TG-DUTn. Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. VXLAN tunnels are configured between L2XCs on DUT1 and DUT2. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG vefication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per

flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544, RFC7348.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=True)

 64b-4t2c- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=True)

 64b-8t4c- 
ethip4vxlan-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘172.16.0.1’})
vxlan_add_del_tunnel_v3(is_add=True,instance=4294967295,src_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x02’}},dst_address={‘af’: 0, ‘un’: {‘ip4’: b’xacx10x00x01’}},mcast_sw_if_index=4294967295,encap_vrf_id=0,decap_next_index=4294967295,vni=24)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=True)