3n-icx-e810cq

100ge2p1e810cq-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-E810CQ.

  • [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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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)

100ge2p1e810cq-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-E810CQ.

  • [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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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=18415616,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=18284544,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’: ‘b4:91:b2:a7:b1: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)

100ge2p1e810cq-ethip4gtpuhw-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 on each DUT and enabled GTPU offload RX. DUT1 and DUT2 are tested with Intel-E810CQ.

  • [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- 
ethip4gtpuhw-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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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]}]})
gtpu_offload_rx(hw_if_index=2,sw_if_index=3,enable=True)

 64b-4t2c- 
ethip4gtpuhw-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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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]}]})
gtpu_offload_rx(hw_if_index=2,sw_if_index=3,enable=True)

 64b-8t4c- 
ethip4gtpuhw-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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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]}]})
gtpu_offload_rx(hw_if_index=2,sw_if_index=3,enable=True)

100ge2p1e810cq-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-E810CQ.

  • [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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘1.1.1.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘b4:96:91:b2:a1:49’, ‘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]}]})

100ge2p1e810cq-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.

100ge2p1e810cq-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.

100ge2p1e810cq-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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x08xc0x0cx1exc3pxe2x9d8xd18?xdeux99x05xabxe4Px87xb0xddx8cx07xbfxf8xd8E*x9c>h’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’n|0x93xbaxe8x81|oxdbmUxdbx9cjKxe3xaax04x14xa8:x8fxabx99xf8~xb2^~xd2x17’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0xf9x19Vxd4xa9x84xd9x13Ldzxb3jhxc6xb6MVxcexf2x9fJxd5xa5jxf6xabx0e\)O’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x93x86x15)@xcdgxf3x1dx97x9e’xfa^x8axe6Hxab0WNxb2Yuu/sxc9xdc’xa7 ‘, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x18xecp_;xb8xfeSx0exfdxc2x10EfNxf3xf04xfcxf9xd3=tx88Qx01Pxc5^Hx90v’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’1,xee~N0x82xcb~xc2xf0>x0cxfbx98xbarx1exf9xdann’x91xecnxd8x7f}q)V’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’Pmxa1xbex89Cxd9xeexc3^Fxe8x8d>xb8xd6x81yxebn[xd9J;xceAaRxc6xddxfbS’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xfbdx83xa9x10hxe8;xb1xa5xb2xebx98xe3xf7xb9-xfcx82xafxd2xb2x1elxbbxf3xfc]xb7xdbx90J’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x10x0b^7<xe4’xa6jxd8dxa5(x12xd3xfb8}x87xe6xfbx89x9axf5_xd2lPx86vxcc_’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9c#ixeex10xf1cqxf8x13JDx9d*xf7xc8exb0xe4~qx03Ix10Hx86x1axf7xd8xeeg#’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0x0fx1e[lx8exca|Yx9axc9%xbfTxbdxe9xcaE@%xb5xd3xb90x0bhXza^3t’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8c\xdcx07xbbx0bhvxe5xf5&n$1xecxe8%xc0xeaxe6|xdaxa0xd1xbfvxc3jxe3nS^’, ‘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]}]})

100ge2p1e810cq-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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’8y#x07xc0xde?xddnxd2Tx10truxe4Gxe9:L@}g%xdeix8eExf9xfbx11W’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xfbxaeixf5x81txeex98dx00Zxb0x06xa5x0fx1c0xfa[xa6O xe2xf4Drxc8mxfb`x8c0’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb8d&'x0fZxe8xaaxc9x0b<xf3x89C=xcf$]<x0fxe8rxb4ix05o’x8cx14x91xc4m’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb1txa8Xx03x81xacYFx96x97xfaxa0xx9cpQx05x80xb6oxc8nx01xa4aCox10xfdx18X’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’`/x12xc0x0cxd5x99xa9.xb3xedxeexf5:xbbxfbxc4x97?Q;xd3xb1q.x8c)xa9x96_nt’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’rxcbx07xd3xf2p_.4xe1x8bxd2x0c1TNxdexe6xa1{x00xdbxefxfex04x9c9x0e/&x1ax0c’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’ xd7hxe4C|x91x07Uxabx11?x1efxe6xc5xe3x9fxbfxd3x19x95x9e.x055xccxf9xedp$U’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Fxe3Hx9c?xc3xedx01lnn_xefxf0xecxb8x07xc0V!xefQ[xd3xebx12;Rx8cGX(‘, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x00xf0zxe2xc0xb2'xe3’<Wx83rSx881xc4xa4~xbdxdfxd9(xdaOixfeiKxd7xead’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’>x92xfbx00xd2x1fxdaxbfx80xa5x05x93wHx8cx02xd3#xd9(}xecTxd2xe6x04x83xa9$\x03x17’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x08fxa5&sjx98&abxb6xcbx0cjxdcxa4M’xbbQx9cxd68xadxd7x1f;xfexe5xa9DT’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc7gAxe3xe4xac5xdex81x01*nxb2Zxdam(xbdx7fx9fxfbx8ex92Nxe0xa4x1a];xa2xc2C’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0xa9m-xa6tT<x01=x11x96Yxf5x93xe9xb4x0exafLx14xebx00xf90x16\’x02xb7xd9y’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’A%x95xefxe9xbexf2xbaY\Pxc4xcex9fxc0x14x81x8b<x01Xx19’#x80`x93W.;vx1d’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8xe3xaex80x90x99xd8Jhx12Gxd2xd3xfexb1x8cx14xcax0fx86xadxe9xf5Qjxc1xa9xdcx923x1c_’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’rxa9xcbex19,x9exbcx8ex98xe6xa3px0fx95xc8x8bxe7-x8axe7x1excbxd8xf2xe1qxc5[xbdr=’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8xd8xffx13gx8c$txafbRSx1bxe6xd5Ixebxc8xfc9,x88`nxb5;xbax0fxfbxd5xc4x’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe5xbc)xd8enxfd`ufxa6xfaxabD@x07xf9 xacx11xe4xa8Cx0exe87(x08xe2x89E0’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xd8x8b@x1cxe9Gx0epxebuxaexa2xf0xaax08xe6x1dx19exc4x02xdcxb1x06xf1xe3jx9exbbxa7xd3H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x19ax00vxc1dWxa4x85xbcx9fxf5 x94xe6xd8Kx0b7xe4x85x80ixdb#/`x83x95xdcxadN’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x10ax10%/wxadxedbx16xbec61~&xd9xd2xd0(x90xee_{&^xa2x98&xf2V]’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9e3x9cnx10Ex15x0fu:xbb0’xd3x8fxfexa4%x03xc7x0ex0ex99x0fxecx0bxabVx93x8axdeI’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x98rx01x0fix91x08xb0xe9fZxa3bxdbxc5:sxd4Kx10x03+x15x05xd5xc1xfexfdBVxffX’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x0bxe3xecIOV8xadx97xd1xa1SN,b[ts$x1dEusGxdafxa9/Gxbbx1a6’, ‘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]}]})

100ge2p1e810cq-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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’8x07\,x12xd5x93x1dx1bxd9xbepO+xa5_yx11x86xbaTrx86xc1x9doA’xfaxb31A’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8b*xacxe9xefwxccx0cx1ax15xf9xf2YVxb8xdd=x08xdf8xafxc2xa7xb7}xd9x1axc7xc8Zxb5e’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’Pxe7axd1x10ixc8xa1xd3xcdxecjxbftkxc4x1dxd63xa1w x05x9c+?vxb9Bxb6xbaF’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’2xfet/xffDxa3xe8Hxc5x98|nxd5xbax17{V<x9axbcGx0ex16xe0xa7Sx15!Rxa0x13’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xc8xf10sXxd5x0bxb0>x9axf6xe3x12xb4xf2x19x19x05vxb0{xb2<Jxd6.xf2jsx1ex08s’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’{x8alx98x04xe0Mxd7xb8=xefxe8xe9R@x9ex1dPxe9xbe)’, xee?#x003x87xde’’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xd8xa4xc00hxa0x80:xbfx00Mxa2’x8dx80.gCx16>tfx16yxbdx0f’Wxa9W`D’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x03x9fx1abx89?xcax05x11xa1Xx81x8dxcd0x98]xdfx88xadPxebxdex12xe8x85^)H?W<’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc0xa2xd5xc2x85Vx12;Qx90Pxb0Wcxcfx94xe0:x0fx87x90 xd1T8Qxa7}x9axeaxd6b’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’7!9x83Z<xa4gx02.xc0txedxb1^8xeeUx81^<xeax0edx9cxa0oixacx03xb5F’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x88E:A’x02xd8xb1x83xceD]x88b;xbdx1ax8e’x9aC6+xfcxxddx11xc6xa2xae~t’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x81xe3xx9f’xdfx92x15fxf3V_Yx9dxa7H}x9bx82xd1xbfxe4Nx9dxfcx97x998xa9Zx83v’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x10x91xa6xe7xdfTxbbxe3x94xfcxb8xd0xa6xa9xb6|x8bxbbxa7Kxa0J-xa5xd5Mxed8x14]Xp’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’_xe6xc1xf4xc9lx0c@x81xd2xbfCRWx01*gxe2xdd(xe33xfcexc9x15,Xxa9x1ax9eZ’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x10 x1bPx90xe2xebxf6x1fxc1xb83UUxd3^xdaIx98x9fxb4x0bQexfexc1x91x04x01|xa9Q’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’^x97n1x9cx01xc3lx1a~xb0x91x8dxb1C1x19xfbwxbxa6Pxc7?x84Yxf2xbcxa2x80x01’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf0x10x00Yx86x91x93?$xc3:xf4xd0ngx93jxe8x99-x12e,xe5x9exffx16xe0xb6Y\b’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xed@<x80x18[$x92Dxfax03xddN9xb9x9dxafxfexefvxffxd49lx8cx8dxdcxa7fxedWx14’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x18Q]@x97xb0xbfExe0Yx94yxa4Y?xbfxb7KhSx83xbcx95xa6Nxfd#xd7txe6xefw’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb4xe8xfcx06xebx14xe6xd37x86axd3r1xbd~Wxe5xbcx9execcRxe4xf5xcbxfexbfx08xc1xffn’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xd00xd1xd7x8exe3xe8x9dxccxdcxeeN,-g]xa5Vxf6xf1nxa5x82x1aUHxa6Px8en:f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’qNkK6xc8xe62k~;yx1cnx15xcexcfnxcbWxc4x1dx04xf47xb2xb2Exa3Ixac5’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’(,Ixebx8exa2xf4xfex84hxb5xf1x8bx1cx1fx81x86%xd3xedxbe~x1fx9ax87~xd6x94x8dx9bE`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8bx08xa0xb8r&gxd9x98wx1cxc3xbbxdbx89xa0x9dtpg3`xbexe0x03xddxf85H<xe9E’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0x9cx17x05xd5^hxc3xe4xe0tx11’yx9axbbzUx1dsxd8-x8dLxd1xc7xc6x89;/pC’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’]x81xdfxabxffx1duWxa6Z3|xf3 xaex9bhxc3xe4<kx8fxdbxc3Ux15{\xe9gx9ex1f’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x08xc1xf2,dx1axfexfexfeYx94x86[t`xdfxc2xfabL:xc1jxf5x89xe1UOG&xaeE’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb0xdevGx07Hx9eXxcfxcbxe6xf4xd6xd84Nxd5xbbvxef’Dx06}Rxc6>xcaG}xc2x04’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xd0xa7xfb[8(x0exbdxc5}x91+}jx11Zxdbx1fx80Qx8fmx7fxd0x1bxa9xbcxc0xc5xafxe3_’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Naxfex0e?pxb3x10j’(xe8% x19%x9bxf14xaaxdaxbb<56x89tExbbxdcxa8?’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’Hxa2xaexaexc3x9bxa0yxf8rHVx83Kxedx96xe1xe0^Sxbbxb4x17x92Txdfx19xfc[h[x’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’r)xd1Fx11xddx98xabxb4x88x9bx97xa5sp!rxfcxdc%x86x12xd1xd4xa5xb5x18Tx910xa7V’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc0xac#xf8xa0xd4xf3xfezx1cxc7xbcxc8xb5x7fxdexc1,n8xc8bxb1x02xd0#x04xd9xefxafpq’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’wxaex13x99x9aOxb0x9dxcbxf5x03x168l9~xb9Nkx1dx18xfcx9fxe9x8ax8dFxeex830*X’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xf8Mxb3mx0b6Wxfcx91xa8xc9xb0x0ex8dxffJ|`xc0x98;xa1x8djx8exf6xaa0x9arPx7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd6xecx18x19xe5x0fx1bx19x06nOx81Nxb0xf6x8exe09:xf6x9dV]x0fxfcxefUx81xa5x87xe5x7f’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf8+x8bVxb99x07_r3x10%&x02s9x7fx88)ax87xf3’x8e}Cg{x8ftxa2a’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’9x0f(x01xb1xb1exc3xf0xfcxa7x9excbtxfexa0x0ex95xd4xecxcdxb0fxa8lx0cxd1xfbx9bxfax15q’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xe8x89Z2mmxa4Dxfexe3xd7xb6xcbx91kwx18xc1xfa{xcdex7fxc4xcf{x08xebxf8Ap`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’vxaa:Vxcfxde~`xf3xbdx9fxd07Wd8xc3K5xccx93xaax82gx80rxdf\x91:x93p’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x10xb0Kxe7xeaxccx1cxb3xe7#x86]Xxccx80^5x10Vx06qAn1XZAx98xc2’rJ’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xcb=xb3x10x92x0bx9axabx8drx9cnxc8xfcxa6xacx03x02xf0~xdbx1a[x9bxdex7fx1exee$5xc9+’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8xc4x912xca7txddXY.xc3exffx16Ixc9xado_x96x9cxacEY}xf1pxa0x98xa3r’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd2:xe5x82x8ax83xe1xdcx951wxc1cx9dx91m##x9cxcfxac]xb0Vxee}xbexd3U:,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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xd0[xe6@xd7lxc3Kxf3xffxdexcexf2rxa8xceKxea@x95xe4x8dty)xbdx07[x92xc45i’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x90xe6xfdaxbbxa8/n9xa6n4x12xdbxefxaax98xdaTxd9`xdbexa6xb6zxbexcfxe1qx80s’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’0xa7jx15xf0xa9xd4x97xa8x97xe3xc8Ox9d+;xb3xxa6xb8xaf~xa6<xc9xabYxf6x12x93At’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’3uxf7xf7x8fx03S;5x8a_xd9x0cE[rxb4xfanx91x8exfe0xeaxeauxf5x1dIxbfxabx18’, ‘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]}]})

100ge2p1e810cq-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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xefx8c4Ix94Yxf3xffjx98xe4xcavxc0xcdxe9xadSxb3x12uJ9xa82xac/rxe7x9dO’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x99xbcanx17xd6xe6xfexe3xe5xa7x0ex0fx19x9bx01x96xe2w9_x95xb2xe1XqZ1~x05x93V’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’@ZAHx83x13x82=%Fx0box1dx13xb1xe4xd3`&xe9xee~xa8,xeex8ddxa6wx81xc4d’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdcxcatxc7x1d>x9cx9fQx10Knxb2xb9Lxa8x8exa0Fxcfxe6xa9x83xe7xefix9bxefix95x1bB’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf0x0exd7xfd<vx0ex0fx91Mo%x04Yx0fx14JMxa8x?xc5x0fxb2x1cxc3xa5x8dxbbxc4ox’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’t]xfex9cx95uxcaxe6xb9xcex97XkO7Ix16xf5*xdcx12rx97xa3xf3(xc5dxd6Ix95x07’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xb0:’Kexc8xcbxfe,xbdVnxe5x1a^xfex9ex99-;x1fxbe\xb6xcex06xd7x00Rxd5J`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc4x11x03xb2x11;xa4Gxcfaxccx04xf8x1d:xc9xd6xf8x06 xe0Usl}x91’xe3zx9cxd3d’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x18xe0yxfdxd5xa9xabxbfxdaxf4xf7xa3xbc*x0f>x85xa6Pxbex17xdcxeexaaxaexeax81xf7Nx91xb3@’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa5x1exff1xb7xf2fxc1)Exb0COExa9xaexd8C]xccxc9xf1x85xe0xbex86xafxe9xf1x8bx9fx10’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe8%x84x0cWx9fXxf6x87xecdxcaxdebxc4x82xe8Gxfelxb6G=xf6Lxc1Uxcf ,^E’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8ex18’jxbex94xa9x9fxc0x81xd1xb3xd0x8ax99Vbwux82x9dxaex1bxb9x06xcbx8cRxb4x9fxab(‘, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x90xdax8cxb5x8ax08Dxe0xbcMAx98`9x18x0bx80xe2xb4xf9xabO1xeaxdex1axccxbdxf2xffKi’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’61x80xd0{Dx97Kxd5xa6/*/x1fx0b5x92xdcxbfxde#xcex84xecx11x05XSx8dxb8xd7O’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xc0Zx98~rW_xcf5Mx11xe0`x8e|_x98x06xc8xa4x94x0cxc7xc3Zxa2:xa1xc7xa5xbfM’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’,xb4xd0Wxd3x04Zxf2x9exb1?xecxf6xf3(xa0xf7xfbxe9p%0x89x8excaxf6xbbxf4xd6ux00x1a’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0xda<x94x04xe2xfexc5xe0<x14xaenxabx96xbdzxfb rx88pxfaxbdx17xa3kgx9b;\N’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x14xf6N[kxd1xe4x81xeexba%xf6xa3kxf8x87xaaWxbcICx06x95xb4xfdxddxd1xe5xb7xdbx05;’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x08g|; x8fx10xedxfe*x19x0fxbfexffBx02x06x8e1xffxbfx89xe4xa6x92Dxaa9xd9x81f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf0xd6xd4xd1xa3N:;xd7x06x1fIxb7xd0xe8Tx1bfK$xaexaax8ex85x1c’VTxdaMx9a9’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xa8xcd{YVFx91g{xf1x9d#x12xb8xdf*sBx12x8fx06xf9wxfex8emx82x00vTxbbK’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’~xe9xa7x17Sctxbb7x8br{xe8-%xf0o[4xa2x7fxfdx19xcdx96i8cxe8xd9ex14’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xa8xbfwx91EVxecl0%tx0c4xecTxedxcc~&\dbx85xd1Nox85xd8x01tOx7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x909^ xfcx9exfcrxa0sxb2x99x06}x8bxc2x93x1aWx08xb5xa2xd0xb1Kxfdx9bxa9jO*x0c’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’hxabxedxdfxf5dxf1Lx038x0b.xf3x8ax06xf2vxe97)xc6’xaaex05HMfxd4x17ye’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’wxdfxb7\x83xdcxb4Uxe8x97’]’Plxd4_xa9axe7xf6xdbn177wxcdLx8ex12s’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’@xbbx01lxc6xe6dkx1dxc3>x8b%x84x934>xfe1x8dbx00Sxefdxaexd7x8ax03xf5me’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9fl,BQ&xb5a8x05x069Sx08QPxc7+Rx94kx16x16x19xd9xx8dx85x8e_x0b\’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’Pxa6xb8Y<x18x90xe9x8fx06pox05t(qbxc1-xcdxddSxb8zxeb8xa9x84xd9xc5t~’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdcxc9xaaxebFx04eBx83xb9x88Unxd9px8cx9bkxb9xc9xd0x8cx8b_x0exdbx13xbexe4x9cxc5`’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xe8x8aa##’x06Kk0[x81xa7xd9xdftx15bxd1txfdxdcxd0xbf;8Jxb4xbcxd4*q’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x97xb6’xe0lxc9nYx905x8ax9fxba x042xe4X4x8exa3xb7cx96?xabx16x83Bxa6j4’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x08x9d*’Oxd8MQhx15dfxddwxf1xe9xe8xbfxf6bxa4x92xdbx16x1exa8lxce^pxebu’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’\xeaMyxf3xf4xf9# xcfx03Y@xedxe9xecYxca399x85@x19xfbx[xa1xf5x14xf1t’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xd8xcdtxb3.xc1xdfr-xc1fvxd8xbdxe0nAxf6x85 xbc%u*xfdxd5x97xe5x14fQr’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe9W,xd6}xacx8axa8x088gxf6xx0cxd1xbbxf6x04txbbxa2xfex87xf7x9aWxd7xb3Zxb6x0fx01’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x08xc0xeb\xf5xda5xc0xf9xe6xc7x91]ixde_Qqx02Ux14xcbxe7x95xb9xab#xf0xb0xadxd5H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd8x84:x13\xfdx82vcx1ayDx96%xbavxc6H+9!xe3xddxf9xb11Rx00xafxf6Rl’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’hxb78CCxc8xcc|pppx1cxdcx8dqxf7x82[x84xbcx9fxb9xb4xa3x80xf5kx84wxfe;h’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb3x1f0t>xb7zx03xbfx9cfxeb0x0ehwx12x90xe4x07xefxbax83x15xa4x97xc9x11/zxabx0f’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xd0xa6xd1x80xefx8fUx81`x86x08/xb7x1fx8cxafxdbxb1xe6]cNxb4x87xb7B-xb2xfdxc91`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’_xa9~Jx00@xa1xf1xfbrLxx07xe7xee,xf9xd5x9a)Cx1exb6[xc5ex93x89lxe6x94G’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hMxbcx87x9c3$x17_xaeR?xe7>x1bi,Exb7xfax94xfaxa7xa0xfahx8e*x05x9axe3J’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’TYxc8xa3`hxc6xb5x95xfd:xb8x10#xf1x0ftxa7x1b*Scxc9axc5f@xe9xef@_,’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xc8xccx0ex04xaa5xc5xa1x8bx95yCxadx80xeax05xd3 V2x818]{x9fxa5Exfexdfxb1dP’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe2xfe,xeex00x0cx98xIxfexa7<xdfxd0x9dxf8xadxe6-=xfbxa0x87x150#gxb2xb4%x8d!’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x08x9cx0f[xbe#xe0x93x8axa0-x15jI[xc0Lxd8TFwxe3xf0Mxbexd5xf5xb7x15xc1xdc|’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x08x13|xb9xd0Fx8erxf8xbfrx03xabxacx05@x81x0exdepilx14xc2x83x98C*xef,xffx17’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x80xb3xfaxb5!xc7x9e>xe1xd3tx01xedxdexc5Jxc7x17xc9xc8xf6xf4x92xfdxe2xe5xca{x8eEML’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9bx03brq x14x05`x03Px05x96*,#Bx96*xbdx10x9dxfdx0fxd5x1fcxc79n:x14’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x0ex03xb3xd7xc4DEx953xdbE-xaex0cxfdxef&xe1R}nxbewxb5dxbfjx9cUx8bD’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’n=xf5xffx8dx1ex1cx0cxb6J9n xc3x0bxb7<fxbfx90xb0xd7xfa~:Lxc2xf8xf7t$’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xb0xebx86cxe5xaegx05Jx14xe0xb8x15hxfdx18x8axbfx9cdxe5Z%%fxf1xb6xabD2xbfw’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’4x88xx9exfd’Jx8bxc6xx85xe0Xx88m4nxd5xa9x9d@b-O9x8cFxb9xffx0b*Y’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xd0x8ax0exa88x86fx03b*xe0x80x81xb9wxdb|xb6%ix8bxf5xd7Txfeyxfdxdbxe0rB~’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x84xc8xbex8axd4Pxe1xb3xc9x16Px0ebxdaxbdxb2!xafxecx82x89`x92ns6xf6xe0Zxc7xa5r’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’0xbax82x896x96x9c6’}x94xe9xc1#mkxae0&x014xfa-fxf6]cxde1x1c(e’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xebxe7\xd3x90xeaH</++x848xf3x13x15Z$xa3wGxa1x08xd0*xacA^:px9e7’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe0x9cgx04xb2jx1bxb3xb4xc1xacxb8xe5xb1x13xe3xfc;fx10x0cxb9wxcbxf4xb6(x00xbcx19(X’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x1bx8d^xa5xa5?xecxe7xfexc2,xa6xac<x18Z.sxc3x05xc1x02xb9x82X$uxefxf4xefxe5’’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’@Zxa5x0bx9exaaxd6xd9xe6\ox9ax87@xaaxb1}xe7x04xb3!xf6x08x92x13h)x11xfcxbcx98T’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8dxccxd7)3*jP{xa5xdcP8x82xac9xdbxd2,x80+x0cxfex83xccx11xc6jOATo’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8ex91xd9x896Yx96xe0x13x1cRExd1Sx0exc7Gxf4xd8xbbwx15}xa3xc1fx141xaax1bO’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf0x92U#x15xe7xaaIxcf5xd0xb1x0cx08xebDx7f’vxde8xc5xfaqpex051xfbxd6!~’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xa7xa8`x87)x9bxdaxf29R#xf0xa8pxefxb2xc2_xfbeJxxf38xf9x95’xdbxeapo’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’?xacn-x9d^cp6,xf7xb9x90<xdbtxedmxb4x13xcG(x13x05x02JxedSx986’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb0xcdx08fx06j(xdbxb9x7fr(xffgxf8xc5xf1x1axb9x89x1fnx98xb6xcdKx9dX+;rS’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’4x19?lx82%xfc6Uxa4xb6xd7*xc4x89xadGx97^txc0xb5!x8a xfd0xb5[xc7xf8x07’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x80Gxb7?x86xb38xffx02xddxe9Mk@`xb5xf9xf2xfcxcagxf86k=x1exb8&xe8x15|G’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb4xad’x18Sxc4x9ekax04<x06tx18x91xf0x82x9bxb2xcb7x118xb9xdcxdcOxb5xd4xddO!’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xc8x91wxb6x9fx9acxa3xc3uzxd5x89rxeexe9xddd>xa9x10x9eTx7f[x17>x1bxc5xe0&j’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe4xf0Ux96xf1xe0x8dxfa$xafxf0x82Jxf5xd3x17xbex08xddNx94xbdx00Wx0bx1axe96x13x86x86o’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x98xf5x8exf7?5xb4x13dxeetAx08Rx9cxd3xa3xa9-x1e4xda;’x01xc9xe8x1cxdf x19Z’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x82=xdaGx8cS6x96\Gxbbxc0\xe2x80xcbx96xb4xc7$.Dx83xx16x05xbasB)xd6+’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’0xbaxa6Qx07xe3x19xa6x01xebxc4xbfxfbxfdx96xaexe9xccxf1xcdx11rx8f>xb1x98i3cxc1,I’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xbeyzxc4xa7x0exbfdxffrx00Sx01xe5x11|xbcxc5x1dxf0x8axfdxd7xfb:Ox04UgKxfa?’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’0xfetvxbaPxdaxa6xf1xb9jx1bxf0kx06xe86x17x9f3Uxeb6Qxedx98 xb55xb9H{‘, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’3xbd\xecx06xf2?xa7x7fnxb5x93;x06`’xc1Fxea#x10xf7x81xa8xf1x89x87*xdcxca x15’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8xdc.x0ex1ex8cxeaan3xa56x87wx19xd3xacxb6xe9xcdhx83x80xc6xx93g(5xa7xdbU’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdf0xd2x01x12xa3-x14xa5xb0x03Ixad,JKxc4xf8xdaxb5xc6x9e!x8b3x9fSx00x8fxa6x8a6’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’`rJxe3xb4rEx07D}Ux01xbfxdbxe7xeax1eGxc8L*xc3x94Qx92x19xd8x9dGHmi’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa2Vx16xd0[x1axfb|x8foZxd5xaaxc7rwixf7xccxdbxe8xaahxa1xf7r{xfbxb2M`6’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’ Rxd4xb6xff?x1cx94xc4xb5h_xa2xc0x0ex1fxa9xxd6xe8xd5x1d8]xb6:xce>x93qx17K’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’\/xaaxe8x8bxa3.xf8xefOxd5Kxd0xeebxa0x83x98xaa4xd7xb6^&[Zxaex1ee{7{‘, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xIx7fx91+x8f{xfb?xdaxb5xd7x91yDxb9t>x044xeax15Pxd7xb3jJoxa3x1fx96L’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x11=x01!x8enx05x9ffxc6x84xf6x85xf7x07o$x98xa3xdawWx93xaexfcxd9Dxba<b,K’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xe8}ipOxd4xf5xf6xddx1dx17x85xdcx08xa0xaexb1zx93xc7xcf_8x97xefx85V-xc9xcexb8j’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa4xa8x0cxf4x7fxc1nxd23,&$x142o’x89xb0xc1x01xd35x1dx9cxc4bx13oxd7xf7x81u’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’hxe1xc1x8exd2xaaxd6p(V1x04xfexd0ZHxa2xb1xa5mVx9dxe6_xa6oUx03dxbexd0v’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’nx15lx0c,xc6fx9ex9c3xbcx16rxcex9e^x10x1fx90mxecxc6sExd5x1bG|xadxbfxa1:’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xa8Cx81x8cxb1xe3)xbc-xbe3gq5bxdbf.x0fx8eQnVMxcdx15x8fhx1cxa2xa0H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa4x84xd3nxebxf5x86$x13xbcxc4/xf1;xdexb8xbbx94xafx92a=xdf\xdexef%exa9xc9xffZ’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’`axbfx8ax9ax06x08xa8O%xcbxa4rFx18xx8bxdaxf625x9ex02xc4Exd3xc6xb9x90x07’H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’wx82xb7x08x8fx9btxe7x18e’xf3x95xfaAx12Mx08xcax14xbfx14ax15xa2(Kxfa_xe6xf4x1e’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x00x9brx8ekxe8x00x9exb1xc1&x03Wx83x95xb84xf8x06xf49xx0bx17Ox92xf4Tx13xa5/V’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x82xdax8fxffx1c2/x8cxc9xc7mxc9x12xe8axc3bx83x15x8cxb29WxdbAxb8xe5.txb2,g’, ‘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]}]})

100ge2p1e810cq-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-E810CQ.

  • [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’: ‘b4:96:91:b2:a7:b1’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘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)

100ge2p1e810cq-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-E810CQ.

  • [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’: ‘b4:96:91:b2:a7:b1’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘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)