3n-snr-e822cq

25ge2p1e822cq-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.

25ge2p1e822cq-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.

25ge2p1e822cq-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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’Hxfex1fXxdf(xf6x93xe7x9exdbxa7#2xebxcbxfex93xd0xa8x04xbcxb3xa3x0exabUwxdf\xcdi’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x16x077x18x10uexa6uxbbxb0xb4xabxc52xd1.!txb6x14x92rx10Vx8c’xa1x90,xa9+’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’`xb5}xaeMx8fxfax0exbax9cPxb1x0bxa3xb7tyxb9>xf6xdaaxab1x0b&xc0x95xa6.YX’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’6xe1Pxc1nxeexf9x15x02qxa1xc8x1ax9bkx1b||dxa7~xbdx1e}’xfdx8cxcfx96xe4(k’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’pBy~f9xc5xb4x9dxf0x05x19xf6x15&xb2xa3xdex89k9xeaYxf1NPx97xf6x15x95xc1X’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x04 Oxb0x8axb0vx82xabD’xb3>exa8x88Vxc5xf1z2xebnx1e1xe1xe0xa3xb9x9dxabx1f’, ‘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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x08x87xa0x95’xf3xf54mx96xacexeexafxf8x83x81x9fg4jxabWSx1eF\xfex06xeb{D’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb7x17ixf9#xd6xe0wxee0x14gx84Qx17xa42x98xf1xb7xc1x01j3xb8x17Rx02xc3xcdXx19’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x88yj^x80<zxfd#x81&(xb0k1Pxbcx0bx804xb4’0x15x7fxf5x97sx8fd~Y’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa3[xd3txa1D’xa0tx187x93xf9nxdeJxbdk:Px0bSxce![y8xc3Cxeex10|’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’@rLfxx80Ax99E~x05x8exf1~xa9xa1xcfxecxe0xb9xf4xa0xf1Oxd9x1fxa9xfcx96Ox9fn’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’%xefxe9xdbxfexc3 x90x17xe9x9axa7xc2xdax87x01Rbxbb x07xa3x88xe9xebxedWx0bUx8aK9’, ‘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]}]})

25ge2p1e822cq-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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’`Exbbx9exe6xf8xdcx00xf2x02Ox12x0fXxba-[xa4=.xednKx1cvPchxad]aY’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc9xbdxe1xe35xe81x0cxcbxc6ax80xebxbcx0cx0bxa8x01^x9exa8xc4xd3!x02xdbxe8x01MFxefx1c’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb8xb0xa7Kx9dxe2xebo4xcacoHx05xa2xc8x8daxecxa8x00t\czxa1xcaxf2xfbo1G’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Yxdci?x86!xccxb5Exfe+4roSx08x01x9bx14x8dUrExa1xc0x11x0bx95x0exccxc5~’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8_xde?}`xe2xa5xa3x85x965xdexfdxc1duOHxbf!xe8x12xcexdbxc4vxnxa1xddd’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’nx96xebQxcax82xf6x9exa9x1bexb0Yx95vx9bx17xe8xf0xe7x1d\xcexe9x865&x94xe3xebxc16’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xa8xbfn09xf5x8bvtxbexfcxf4xe1J5AIxc0xf2txa8ux19dxabkxc8vx9dx14x19{‘, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’WyTx11xddxe3{$xe2}xcbA*7gxf2x11x13xd6x82x12xe3xa2xe4l#kxf2xbdxb8x1fx11’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x00xccxc1x8ax97*xaba.Vxbaxeexe8x0bxf3xcdHxf3xc4exc9xd4xb9xcexba|x0exa1xc5xa1xe8f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x86UCxb2xb8?xf2Hx86x9bxb7)x8dxedxfax9fx92~xb4xf3Txf1x91xd5puxx7fxd6xf8xaeK’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x00rx00x8cSvGpx8aii>xdcx0bxa1~bxe1bttxbcx11x89xa0rx86xe7x8cxb3<k’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xaex06x0fxd6xc9[x1cx89xdbxb1x9bxc9]Ac$ff76xd2x8cxb7cx85xd5x18d<exfd5’, ‘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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’ xfaxd6 Vxf6x82x88xb3xcaxc3xfax88xee’xc1xac)xa6-~nx91@xfc6x1fxa7?qx17`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’V3xd36K4x83y6xeeuxf3xcaxa1zuxd9xbbxb5xf8Oxf1x82x04u?xce)xf8xaex1a&’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’H%gOxebxdcx8bjxd2x0eI|kxa7xccxd3x1dx99xebxbb]xb6xebxe0@sx7f.icxabf’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’}x91xaax90Uxf1xe8xb5xe0px85xf8xe3{Pxc9x06x18cx8dx11xd6xd4xcdxe940x1exb1jox14’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xd8Hx032xcf’Yx07Fbxe37xacx83~_x8bM^xc7Uxb1xcat^zx9exe7(Exf8z’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x15xd5Sx91xd4x89sVxddx0exfctxd9xaex1dx8bx01xcax8dxa7xe8xa1xbfx0ex98-x99(x93Jxa3z’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x08Bm`xb3xedxeemxcabxfbxb7!x80Yx8axf7xebxdcx13xb3xe7xb2xcfx9exe9xd8:x9aMx90P’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb6xc4ox85cJxbfdxa4xf9xabYxc2x7fBx063x81xddxa6xf0gx90uixf7<xa3 x96x13v’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xx81x9ex08x00Bxfcxaa<Yxb2xbcx08x0bx0bxfbMxa1x18x12xf6xf6x02{xb7xb5xfdxa7xf0xa3x97m’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’:xc7xd1%nx05K]xe6;xc7x90xa0|xbbxd0x01xd6xc3xbbxb4S.~x8fxc1xc3x0cKx8axdax0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’pGx80xbaL’xd5x98yx1flNxb3xa1xe16x06px86xd8/xa4xf5+x803xedx7fPxfdxc2j’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Hxb8x01;xd70,x8ftx02xe5xfaxa6x1axb8xafxf9xb4Gx04!gx10ax85exa1Hx07x10xddT’, ‘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]}]})

25ge2p1e822cq-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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x98[e’tlxb9x81xa9xa6xd6xe7x03nxf6\Nxa3k0xefxbcinnxfaxa3,x8eYxdaN’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x9axb6x12;xd3d1x00Yxddxf0Oxfcxbfx97xe9xe6x0ex17x0fBxb0xf2xc2xc2xf3xf9x8dHgxb6/’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P:xb6sxx9dxb6x8dxab0x05o[4XxedaPxa0=7Ix8fxffx91x88txd2x9dxf0xf0{‘, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x90x0f.xb6Nx8bxa6xabxc6xadxd8x1fx1d;xe7xeax9f|xd7xe5xdcMMx1fx08xfdx08Zx94x8excf[‘, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xe0pYx0c[}4’xf7xbax89)>x08xd7x96@Knx8fx0c9xc7*Qrx90~omx9cK’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’:x18xc9x1fxc4xa4kxd1x03/lxb4qxf4x1cxd0xeaxd8#-xf8)xc9xfaxb5xbdx7fnxe2fxf1r’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x80x03xbdx80*xd9(d’x15Gxbaoxd4oxfaxd21}x84xb4x02Hxb1xeb_q-xdfmxdft’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’’xecx95xbcx08fwx0cxb6~mx97xb6x9f\x0e+WxafGx9aRxcc x04xc9xcc%xc7xf8xfbY’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’hex12Mx0bx1abxc5xcdx11Kx13xefxb6xc2xf0xacxbbxfbgenxf3xe2@xc6xd5xf5x94R(\’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’!xd2x9f*xbax7fx85xc7xd0xf4xc7x11x97xcdx8d|rrx16}:_x87A[x91x10x9fx89x82xa4)’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xe8xb7x0b8x16xd0xe1x15xf8xfbxe6/x85xa8xafxc9lx1bxc0x94x1cxaf:T?xabxd1sxc2xd9x92U’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe3Zxe1xc2I yxe0xfb,x1d}xafx88x8axde7xc5xedx96/xfe<xdax0fZ1bxbfxf6x08U’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’Pxa2x1fxa6xeaxd8;Gxe1Ys|xd50|xdcx9f7x1ax84xd1xf4xe4x03fx0e{Cx9exf9xfe~’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd6x07xacx18xa6x84xe8xdcIxeeBqx9aRexf4x05xd4Kx8fnx1c Mxc0xc4rx855jxcaP’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x90 xccx87x04Wx8axc6rxbfxb8x8bx9e=4exf5&FExe6|xb1x81xf1xaaxc4Hxaaxc2xaeB’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd4x7fx15x97x99xe1x824xdeDxbdx13l’kx93x10x14x8bxb0x8ex12xb8xb0xdbx8ax10\xd7xf1K$’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x00x11xa9bxeaxf1’x06|lx14xc3xa1xfbx12xdfx83x1fxdbx10x071.xb2x14xacx87x8aP%x03u’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xfaNx89x1dxb1x14 l=x9axbbxbaSAHx91.)xfbx92xcaxf4x17<’yx9cx03x12x0eVp’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xd0xf6x80’xe4x8fxafxa2x84xbcx90Nxf9xc7x85xb28?)=x8bxb4x04xb4xfexa5/xaf'xaf,E’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf8x98xe2Xlwxfdx15x87Axc6x14xe2x12x82xdfWx1e9xddxb3xc5Oxe3x87`x06x7f$x0c’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x183to(-xf5Ixc9’kfx195xcaxa0x05x7fx08%I&x80xb3x1dx15xdcx19dx10(B’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe6xe1xea?x84xe8xd54.#htMxd8xa6[xfa4x08ix19x12|Vx06Bx15xba#x9bxf9*’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xc0xbex9ax8dx864x04xe3E:xd1xeaxfanxebNx97x9cxfbxc5x81y]uxe9xb2xa1x15x89xf2x88u’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa50xd4xf5x0cQzxe0xe8xde0xec+=H?x19{x8axfecxbdB\xbfxe6xdaxf7xa8x99t^’, ‘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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’huxe5xa89x8bxcax9cx87xd86xdax05xffxe7xb9cx83x02x8bxa9sx1ex86xffxeaxc3xf4xc1(!b’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf4xc8xd2xf1x12’Axc9xe8xbe.xbbx9axa7xa7x18xeaxddx8bx93x11xc6xd6x1c[xaaxcf+x9fxe4x1cl’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’hxcf’x0bx1dx83xc9Yx08x9exdaSxe2x193x90yxaexe4xdfz>Zx01Uxb8xbe:xa3+Gy’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd3Pxbexd0xb1xccx97xd7xc06xd9xedAxb3xdfxccwExb7xbb/xe3x96xabxc6xfex05Kn)xafK’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’XUxfaxd9ztx87x8fx81_x81x06?x02xc7xc6xffx08[xbexd7x96Bx9ex8ax14xa9xc39xc2xc8Y’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xbbxf1(x84aGxa3xd0x96x97Xtxc5x01&xa3<xa4xf0xa0LPxc5xd5_x8axcex0fx10xe0xce|’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’0x89xfexeex1dx9bx9bxe3?x83xeax0e-‘xe7rXx1fHxc5x8f6xa7eBxf0xedTxb4zxf0A’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’49x80?ESxfcx85xf3x12xa4#xd14Jx04x94ex84xcbx9ax0cxdexc8xb6~@gx07x86x1b ‘, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8xbbxd0xd7rx8dx8dxd1xfbx9exa17x86Px19x03xa6xc3xf4x94~xccx89[x99Kx13xc5xc6xd0+h’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’2x894D0xcexefxa2xc16zdxa5Xx06xfcxd0nx1cxb3x87x98x95xc7xabaN]xe1xbahx04’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x18x02x86xafxbc7xa6x07Dx97tq&|’xa4xf8xa8xa7ix05xe4$Xx01x17=xa6xb8u+g’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Txfdxecub1xf9x98nx02Ax92xe2xa2x9asxd8Fx8dx16ix8cxc1oExc1|x8ex961x12x’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf8xdcx94x05cS.xcb@}nxbf’^sfxedx8cx94x8fx93x0exe4t3x9exe5xedxd3x07xfew’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’~zxe4x19Zx10sxcbx82x15xbcxe1x81x1a;xd3]3Qs4x94xafx14\xd3@x97xdd3H^’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’x90x9bx90xaax88[xf9px19x88xc3x168xf6x00xb8xeexfcx05x1bxc0cx8ftxf7xb5xacxfeF5gh’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x90qSx08xf5xa37>xc4x86xa3xe6:x0csx17xa29xbdOxafx0eKxedxdcxf4xd0xd6rxc5xa8x0b’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’pxe2nxe1xe6x0cm4x86x19x80x8axf5x9dxdfZxf5|xb6a_xf1&xb64.xd4-7xdax12w’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’ux11p-rx17xa1axafxdf<xfeSxacx8dxc3xf4X’3xd0x97xd3xa1x02mGxd2ixc8xf9H’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xd8i/p4@x8e’Xxf4xb5#cSx04bhxa9xe9x87xe8xeex882xaaxdfx82 x8cxf0xdcy’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Cx01xf9x1ex1b_xbdxdex9exd5x86xa8xafx1axdcx1cuxx17xa4xf2t#xa7xf7mWxf1.!x1e~’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x90x01jx0eux10xa0:xd0xbex0fxefxf3rxffrwx18x90xd0xbfx8ex84xbaxf0xedxd5\x07x9f)s’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’zM DUx02xc7bXX%x15xa7ndx14x01xb5x9axbfx8dx94~Mvxc0x95x11)Kx9c0’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’8:x05Kxfexeaxa6O^Wxffxc8xf2xca6xa77xd2]xd0Nxbbxa4xf5[x9fxc0x14^xa4~a’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’yyxferx9b(xf63Ixfex1cx0cxf2Xxfbxcerxfdu&x91x97xf3$axb0x0bnx1f9xc9K’, ‘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]}]})

25ge2p1e822cq-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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf8xeb5nUa<xa6xb7x80x95&Gxffxa0’xb6xcdh!x08Kxd8x08xf5x1exe8xdf`xf8xb5d’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’rSGxdex08zQi+xd7xc3_xb8xe3xc2xf7,XOx9exccT|7xc4xc0xa7xfcxd6nxd1x10’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xf8mxec4[bxfdxbbx18{xbax83x04xb4rx81]xebxf5xf5xf6rx99x99xbcxb8tdxc7x89xf0L’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’%x01-Dx95’Dxa8x1a=lx1a~@’He{xc5x93cxa8xb4xa8x98xf3xc1xdaxd70xa0x00’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xa0xa8QxcamxeeUx17xfax19!xe7xe9xadxfd$x97x0eYfxddx86x14xc1P~xbfx835pxb4e’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc2xe2xdexc8xa3{xbe3xd7xb0x83x16eyxf8x8eVx8dxa2xeaxcbxf4xb4yx89o&xb2xd9x8ex12[‘, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’@sx86xa3xa5-2Hxfdxd8x07x16xc4x9dxecxd5x7fxd5x05Zxd1Px8e&Fcxc3xb4(‘i|’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’%x16)x8ax97x1b’/Nxb2xd7xcbx11xe4>xfcxZ;xcdx13xff(:x8axc7x18xf9xbd@xc6<’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xb0xde’3x9cxc0dx0cKxebx96xbfx83x14xbbxaexf6Q]prxdax93gWxc8xb4xb3x08x1dx9bx’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Jwxda=x1dxa7xad*)xd2Zxdbxd3rxcex9dxf0xcfEx11Dxf3xeenuxe0txearx1fxac0’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hxd8xaf$’Fxe7xfcxxb4exdaxe8xfbxd6x8exd5xc0x8eX9x16x97lx18$x95’xd3Nxb8s’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’ixa1x14nx9fx11XQxd2:x12xc7fxb9x9fxc9%xa7xe2Lxc0x04xeagx89x8axc8pxf1Axc1m’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x98x00Zxac4x02x98xd3xc8x8cx81x1ex1bx8bxc4exe4xe92zx9ex05xc5tS)%x1cxddx7fxcfj’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’~xdaxacxa3x99x8dxb5wxdexb8xf7Gxb7xe4xedxa3\px9ea=x97x9diwxb8x1axfcx04xbcxc9{‘, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x08xcaxf1^x0fg,xbf Mox84Y?Exf3nxc5xe6VBxd2$x8dBxdbx18xe1;Lx90E’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’5xaadxefxc8?ixcf)xb4x1exaf[xdexf8xdfxbdixd8|Sxe9x9fx7f|Uxf3Nxd1[}x12’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x00xa1’Eex84rx82x8ax00p^x95xf9x04xf6Hmxc93xfe&xcdx84x96)sxb8xdax1fxf5R’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xabqxb9x1fxe9’!xddU]x81bxc2)xd3x0bxa1xe79-x19d7gxa5xf7xe1Sxb8xc8e>’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’px98xc7R\Ex874xc4^x86xc8xfexa0Qxc6x0cx14xd7x1bJFxecxdbx104Jxb07>’f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf9cSx8c}x07xbfxf5x9exf8xf4x91xd8xfbRxf8xf8xb1x15Jxacxaexb9xa9x1exacx15Hxf8{q’, ‘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’}}}]}) |br| sw_interface_set_flags(sw_if_index=4,flags=1) |br| 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’}}}) |br| 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]}]}) |br| 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’}}}) |br| ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’}) |br| wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x88$xaatnx8dxb5xc0;&xd7xfbx02|xdcxaeoxfex82xb1x91Sxd5)uxd8Ax8frx8dHQ’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’x0bx17x92xa3xd8xfex9axf4xadx9bx16x8exe6xf0ixac*xa4xc8x1dxfaxa1xdfxa9xeegxbfxc9.xa2xff’’, ‘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’}}}]}) |br| sw_interface_set_flags(sw_if_index=5,flags=1) |br| 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’}}}) |br| 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]}]}) |br| 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’}}}) |br| ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’}) |br| wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’@xb2Mxf2x89x81xf5DxdaZ@xb0xf3xcdxbexe7xa1’q~xd4xcfxbdjxc7qxadx0fx96hHG’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’xffxd0%E3[B6xe6Ttxd0lx93xf3x8ax9exe3x98%xe1jl4xd7,’xd8x07Hxa0’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x10xae4UmPxd4xebxe1(xfdx907xbcx8aUxc7x99$+xcbx9b<MAxe1xb5%x1fxd1uc’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’-Tx04x97;x0bx87xedJ4{Txbexxffxaaxd0x19xd4x8bxcdGHxc73.x17x011xfbFZ’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’x98xc4x07x99x8e0xdekS9x8ax06Sxa5xfdxe3xb7xffxcaxb0Crxa8x1dxc2x8exa4#x0cLxc4G’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd1TKx12 xf1’&bxb0Axbbexe3xbdx94Qxc9xa0x89Vxfdx0e’tx89M,x00Ux99|’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x18xdeR;xf9xd8xd9xfdBxcbxe6x8bxcfxcc2^x1cxc2xc4<Tx12xc0oxa8x1e<x9cx1dA5H’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Vxc0x13xa0xbaxc5,$GNxf0xf4g?xf9nxbbx0bx9c6x91x97Axe8hxe1Uxcax95xbaUQ’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’`xd3x14xd0xb0xbbxba;&Ixbex96>xa4x87#xd0Uxe4sx9fxc6x90xf7txb0Gxabx952xc5x7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xxc9xddxcexd5x91x0cxcax9axdaxa5xf6x00x93~wxe8|xxf3)8xa8@Sxbcxf1x15NW\x1f’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’Hlxdf5xf7Txb0Kexd4xcc*xfexf7xbebg#Vxbbx88xbc1}v/xc3x8cNxa6h^’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x17.xe2x87xebxa5ixc0xf7xd4[Xx89]xffx16 x0exb1xe1(?xdfx00x9dxb0ox92Jxecxb3(‘, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8xb7xc7xa1x17xb8xe7xc6L1xb3x8axfcxa9_xdcxd1xffxdcxeexc7Bx90xc01xe6F{o;VP’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’.xcdxf5hGx16x10ndxaam’Vxc7-\{xf1Exa9Kx96h7&xf3xf7\x03x0fx10.’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xc0]x03pxcfxedx80PiX^xfd’x84erxd4xfbEq/vxfe )xe4xc7xe9xafxdex9eL’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Nhxa1x94BBx84x04x92x86xf1Xxc2Bxefxbb1x8cxfdxe31xb9xdd*x1bNF-nxc7x17#’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’@nxd1}3+cxa0Vxcbx14x0bd&ehtxccxaaxb3x89xa6Exc5F=T/xd9xbcx9cS’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’qxbb`xb1xf5xb1$x18Yixe5kx13xc4TNQxc2x98x1axeav#+x17x0cxbcxf5xb6Dtz’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xe8x01’xb9,x06’x0cxa9>Bxxcaxd8&7x98xcbyxf2xb3xacFxbcx99exa7xbbx9b;nf’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’0xfb&x9cx8cxd7D+Exa6x99xc9x07Mxc5xddxcd8$xb2xc0x90Bx88x0cxacxba(xeaxd8xf5>’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe0xdfxd3xcaxb8Ox7fx07xeaxb8’xdbxc7xebxbdvxe4x81xe9x89xdex9d7xb8x96Nm0W4xc2L’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’tx0fx97EDxd5xm-x17x07x9axc3zxb8x04xcbxb5xdaNx1bxefxdexf8xc3$*xc8 xaf>z’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]})
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’`xc5$xd3xdbx94dxeax7fxb7xb24xa5xe4xf0jx1fxeaxd6=xdcxe5Nxd1+xbcrxccx8cx95_G’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xaaxd2xeaxa9xd35x0cxcexfb1xddtx01xf4x16x84t9xaex06Bxaa7x81x8ecY2&xf3Rx1e’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’`yDxd2xddpx9cxfcx8axb2BCxddxbdx08xb9%IxbbYxc5xc6Rx94Pxf1x87xe8xe7xf7x1aa’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xa9xc4~exb8xc1x89xe9; xc0=nx8exa2&x15Uxc1x00Zjxc1xbaxe5nxb4xccx89x80xb2x17’, ‘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-1t1c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xf0x8axc68Ix1ax01x1ex7f|hPxc4xcby*!xc0j2EHx00z\}x19Sx00x95xbax7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x903xe3exeb’xb9!snxebxeexd0xdf:8Yx8cvx9fxe3xd8Wx02xe2rxbexd4’xbdxa3s’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x98xd7xf4]x83xeex84xc2xe4xb4xe8xf5]x85xdaxc2xb86x11buA;1/xf2Uxe0jx1aJi’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xb5x9axd7xa8xde’x10x99qxddxa7x8exff3odx0b=xf85xe4xed3xea9x1bHx13x04x00x1cx18’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xa8Lxafxecx17bhx0b~9xfbUaxd3xeax8axa1Ax80/w7Exa9x80x1cx8ax1d^x16QG’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’)x9dxx98xbf83xdax88x18’xddx0bxa9xe7x04xb7}n){xebxafxecxa7x7fx88xe2!jx190’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xc0h+~x89O{:gxbcvx9dx8exf4iqxffL0<x9eovx84hx0bxb2P}x1bxc8T’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xf3x08Exd6x11xafx0fx11Lax19/2x0cx8b2)xf8xf3x93UHx7f6sx1fx953xferxd7x1f’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x08ZxafI>xa2X^x10xfdxd5xbd1xabxd1x18xd4xfaQ6x0exa0xe1x94rx0b'’x81$lf’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’’xafx13x0fx99xa6Lxbdxf4rx89xcbxf8xf4_xabxca$ax1c;x94xf8xfcZx03x93xecxd6!OL’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’8x8cgxdfx84xd6Cxf3xd2-xbdxxdaj^)x97~xa5x98’xf2x8dx0cx05ixee'Hoxbfc’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x95x03x1fxf6Axfdxx1b*v\x8ctxe1#<x93Msx1bxedxb6xc3x7fx8dxccx7fxa8xb7xadx85x1c’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’ xfax91xd3xa6xf8Lxcbx8ax88x07|lx93xacxb88|6xdcxd1xf4K`Hx15x8fQxebrx1fT’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’vx97x0b’Dxf90x7fx91xf6Vxc0~x80xadxe3x00`x01xa5xddxcfx95xa3xffxeexf6x1fxf5x02pG’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’(|3\xfc\xc9]\xfe\xfb\x8c\xee\t\xd3u\xfc5\x82\xf7kM\xe7+\x01\xdbjao\x94\x00\x11\x8c\x14{', 'generate_key': False}) |br| wireguard_peer_add(peer={‘public_key’: b’xb4{x9axaaxf6dVu3x839txf6xeax0fxd6x96=xf3x0exe3x0ex02xda+txdbxbdtxbf x01’, ‘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-2t2c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8xaa’xf9x8ax91xf2xeex0f3`x1ex80x9dxd7x84x08x03x0cx87x8dxc3Xr9Nxbaxa8xd54h`’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xec:x12xbeyx9eAmxd8xf8'xe1xedx0ex94’x16x17x87xbdxeb|xaexc9#1xbeux19xc0Ux08’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x98x06x88x1arxedbx1exc18#x87xb7xe0_xe7xc1xd2=x08x04,x98’Oxb3x08x0bhtEp’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x8exd7xfbxc4c(xa7b|x1ex16r$x9b!Lx19]Gx93xd6/xebRxca;nzxaf<x90<’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xe0xafx11xa5xe21x14nxccZxa6xccx0cUx`x9dJxb4ndxeeWx84x91x89r}6x96Nj’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xbaxefx8ax0c)x8e brxfbbxa0x9dxcaxacGxd51,^xd6xf5Vx08xbe;xe7x96Ox14xb2y’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xxf5Rxb2=x93x80xadx19|xd9-[xc3x0exd0Rxcfx1b(xa4-Wk{xd0xbd|ux1b@B’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’swzxcbx16xa7x8dxe3xf8x83xaeGxbax84x1dxd9~xcbxa66x08x08x7fQx1fx1e*x10x05bxe3L’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x90%sxb6xcd8Oxeax0cxf3x13Yxbaxe2xf8xc7x98xe8Jxfexf1xa7x80!x13xc8x10xf4x18xd1x89{‘, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’Raxbbxfdxd7t_x92x01ymx16xd2xf8xfdxf9Psnxf2Oxabxa0xb8xb8x15xcaxd3xecxc2Bx’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xc0xcf)0xf7bxf8xc1x02Ixa1LWGx9ex10x9axa8Yxfexf3xf8pxc1)fyxaa|}x9eM’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xe0xa4xf5xe0Px93x8dx8ehxc6x16ZCxeexfexcdUox17x83dx17xe2x05xb3x89xa7xa1%x85xc3c’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xb0xbd)xxc5xbaxb5xdfYxbdxdbTOx11x83Rx94,qxc6xceTRxb7Jxa0x0bTxdaxd8Op’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’@xa9gx93x9bxbcxb1oxf6x83PQxf2Ixd2+xffk54xfec@xb1xb09xa3YV|xff>’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x90xe4A3x1axea0x94@x13KxbdIx11xd7x94x0czxeamxa2x01.xddxfbx9dVxb5Hh4q’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xc8x0bx9cxfbx13x7fxdccjxd3xeaxeexeex14xb4Xxdex91vF@vwxfefxedxbcxa2xfbSZL’, ‘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-4t4c- 
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:a5:22:0b’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.0.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb4nx91Vx11xf22Oxe6x14(xc1Qzxbe%Kxf2xdfxd7x15=Qxe5qxbesxa1Vxd7Q’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’x06xcexe5Oxf3x9fxf0xd2U[xd9x02xd9xb4x90x05x0fxfbxdfx11?A>x9bxba}MHn2x07x0e’, ‘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’}}}]}) |br| sw_interface_set_flags(sw_if_index=3,flags=1) |br| 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’}}}) |br| 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]}]}) |br| 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’}}}) |br| ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.1.1’}) |br| wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P:+x16mxd1xe3xc0x12xb5xfdxe8x05xa5x02xf5({hfx93r#EPxffx1eKnxb3S{‘, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’x0cxaexa9x9bx14xf8xefxb0wx8dHGxdaF=xc8x9exf2x089x94vuxe6xe6LXx14xa5x9aa0’, ‘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’}}}]}) |br| sw_interface_set_flags(sw_if_index=4,flags=1) |br| 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’}}}) |br| 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]}]}) |br| 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’}}}) |br| ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.2.1’}) |br| wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xa0xf2)xadxfexfex13[xfeVUx00xf4Tx8bx91xd0xeexabxf7x84<xb7ex80]x17x86x08x82x05w’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’gxb6Nx [xf9xc4xff]%xdfxd3~Rxd3Bxa4xa7&xc4=xfcxa03x81rWx08ix00x00’, ‘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’}}}]}) |br| sw_interface_set_flags(sw_if_index=5,flags=1) |br| 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’}}}) |br| 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]}]}) |br| 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’}}}) |br| ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.3.1’}) |br| wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’H9x19m&x8cx14xaf;xdcxa9x00x03x?Sxf0x8bxe0xc0xb9Xx02/kx97lxabxfaxc0x7f’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd6xe7rEx12xaf|xebxe53Xxe26fxa1x14xd7x13@g xf9x94x04vxa78x1cx94{+.’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.4.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’(x84Mxf4x9aix93xbcx03xf9xf7xb4gx1exbbx7fxa8x04xfbxb6!xe1xdfxa2x83xc8x80xc0rkxfe]’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xcbxc3xd1x0cx96 xfex8a1axb7rx9fx7fx8d6s-XAxf6CxaaOxa1x9dxbcx11Wxc2xde}’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.5.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’x10xebxe2!xbawx98qxaaxdax12xcehxf9x80x96:xadkxd3x13xf8Rx12x9fex17x19x13xc5xedY’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xd4xcazXywxb4xd4>xafxab!xaex82x17Mxacx18Q’xd5x19xdbxe3xffxe5jxebxc0xae9-‘, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.6.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’8xd5x9axeaxa5xf1SExabx94x9abxd3xb1xadxd3dxfdxbdJxqxefx93x14xb5x85x1bx02`cO’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’xdexddrbxfewxc3xe8xb6xecCxfdx1bCxf4Y*3xcfL>x8exe1txfex95xe8;(xfcxf8x7f’, ‘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’: ‘00:00:00:01:01:02’, ‘ip_address’: ‘200.0.7.1’})
wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’h’x90xe3}nx87qtxf3:1xedb.xc9Q4x1axcfxd2xab!baxbbxffxce7xd2x9fG’, ‘generate_key’: False})
wireguard_peer_add(peer={‘public_key’: b’x1dxbfxeax8bx17xa8xc4Hxf0Bxab:CMxcfxc1x0cx04:x89B~yxe3xbdx12<%xb1xcex0ex08’, ‘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]}]})

25ge2p1e822cq-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-E822CQ.

  • [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-1t1c- 
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’: ‘00:00:00:01:01:02’, ‘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-2t2c- 
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’: ‘00:00:00:01:01:02’, ‘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-4t4c- 
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’: ‘00:00:00:01:01:02’, ‘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)

25ge2p1e822cq-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-E822CQ.

  • [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-1t1c- 
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’: ‘00:00:00:01:01:02’, ‘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-2t2c- 
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’: ‘00:00:00:01:01:02’, ‘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-4t4c- 
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’: ‘00:00:00:01:01:02’, ‘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)