3n-icx-xxv710

25ge2p1xxv710-avf-ethip6ip6-ip6base-srv6enc1sid-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with one SID (SRH not inserted) test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-IPv6 on DUT1-DUT2, Eth-IPv6 on TG-DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.DX6 - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-4t2c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-8t4c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-2t1c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-4t2c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-2t1c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-4t2c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-8t4c-avf- 
ethip6ip6-ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

25ge2p1xxv710-avf-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with wo SIDs (SRH inserted) test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2, Eth-IPv6 on TG-DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and two SR behaviours (functions) - End and End.DX6 - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-4t2c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-8t4c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-2t1c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-4t2c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-2t1c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-4t2c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-8t4c-avf- 
ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=2,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

25ge2p1xxv710-avf-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with wo SIDs (SRH inserted) without decapsulation test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2 and DUTn->TG, Eth-IPv6 on TG->DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-4t2c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-8t4c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-2t1c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-4t2c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-2t1c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-4t2c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-8t4c-avf-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:69:00’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

25ge2p1xxv710-avf-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with Masquerading SRv6 proxy test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2, DUTn-CNT and DUTn->TG, Eth-IPv6 on TG->DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.AM - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.and Segment Routing for Service Chaining - internet draft 01.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:e6:10:0f:61’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:70:71:1d:74’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-8t4c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:8b:0a:3b:33’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:2a:8d:d1:0d’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:6e:f3:1a:d3’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:d8:88:ea:3f’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:27:de:d3:10’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-8t4c-avf-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:b9:70:ec:e3’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

25ge2p1xxv710-avf-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with Static SRv6 proxy test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2 and DUTn->TG, Eth-IPv6 on TG->DUTn and DUTn-CNT for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.AS - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.and Segment Routing for Service Chaining - internet draft 01.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:2a:01:ed:cc’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:5d:66:c0:e9’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 78b-8t4c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:55:48:a4:74’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:79:cb:45:50’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 1518b-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:87:e8:0e:a8’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-2t1c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:54:3e:2e:3d’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-4t2c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:80:52:fc:49’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

 imix-8t4c-avf-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:71:00’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:f2:0c:78:4f’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)

25ge2p1xxv710-ethip6ip6-ip6base-srv6enc1sid-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with one SID (SRH not inserted) test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-IPv6 on DUT1-DUT2, Eth-IPv6 on TG-DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.DX6 - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-4t2c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-8t4c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-2t1c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-4t2c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-2t1c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-4t2c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-8t4c-ethip6ip6- 
ip6base-srv6enc1sid-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 1, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

25ge2p1xxv710-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with wo SIDs (SRH inserted) test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2, Eth-IPv6 on TG-DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and two SR behaviours (functions) - End and End.DX6 - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-8t4c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-8t4c-ethip6srhip6- 
ip6base-srv6enc2sids-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=6,sw_if_index=1,vlan_index=0,fib_table=0,nh_addr={‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

25ge2p1xxv710-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with wo SIDs (SRH inserted) without decapsulation test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2 and DUTn->TG, Eth-IPv6 on TG->DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 78b-8t4c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 1518b-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-2t1c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-4t2c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

 imix-8t4c-ethip6srhip6- 
ip6base-srv6enc2sids-nodecaps-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘2001:3::1’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_localsid_add_del(is_del=False,localsid=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’,end_psp=False,behavior=1,sw_if_index=4294967295,vlan_index=0,fib_table=0,nh_addr=0)
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 2, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
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=’’)

25ge2p1xxv710-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with Masquerading SRv6 proxy test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2, DUTn-CNT and DUTn->TG, Eth-IPv6 on TG->DUTn for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.AM - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.and Segment Routing for Service Chaining - internet draft 01.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:f0:1c:2e:7c’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 78b-4t2c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:61:75:05:34’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 78b-8t4c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:17:4e:19:23’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 1518b-2t1c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:c7:7f:09:10’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 1518b-4t2c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:66:c3:48:d7’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 imix-2t1c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:c3:2e:13:90’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 imix-4t2c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:83:0a:22:6d’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

 imix-8t4c-ethip6srhip6- 
ip6base-srv6proxy-masq-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:86:50:74:79’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.am nh 4001:: oif memif1/1 iif memif2/1’)
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=’’)

25ge2p1xxv710-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr

Packet throughput Segment routing over IPv6 dataplane with Static SRv6 proxy test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv6-SRH-IPv6 on DUT1-DUT2 and DUTn->TG, Eth-IPv6 on TG->DUTn and DUTn-CNT for IPv6 routing over SRv6.

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

outing and static route, SR policy and steering policy for one direction and one SR behaviour (function) - End.AS - for other direction. DUT1 and DUT2 are tested with Intel-XXV710.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

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,IPv6 header with static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: SRv6 Network Programming - draft 3.and Segment Routing for Service Chaining - internet draft 01.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 78b-2t1c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:5d:1a:87:af’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 78b-4t2c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:64:9f:47:5e’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 78b-8t4c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:5c:d5:64:fc’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 1518b-2t1c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:de:52:ed:42’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 1518b-4t2c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:a2:71:8e:e9’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 imix-2t1c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=2,tx_queues=2,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:dc:9a:63:f5’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 imix-4t2c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=4,tx_queues=4,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:a7:19:96:af’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)

 imix-8t4c-ethip6srhip6- 
ip6base-srv6proxy-stat-ndrpdr

 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=’’)
show_version()
memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT2_CNF1-1’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=1,id=1,secret=’’)
memif_dump()
memif_dump()
memif_socket_filename_add_del(is_add=True,socket_id=2,socket_filename=’/tmp/memif-DUT2_CNF1-2’)
memif_create(role=1,rx_queues=8,tx_queues=8,socket_id=2,id=1,secret=’’)
memif_dump()
memif_dump()
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
memif_dump()
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}}})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}})
sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x02x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}})
ip_address_dump(sw_if_index=1,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=1,suppress=1)
ip_address_dump(sw_if_index=2,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=2,suppress=1)
ip_address_dump(sw_if_index=3,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=3,suppress=1)
ip_address_dump(sw_if_index=4,is_ipv6=True)
sw_interface_ip6nd_ra_config(sw_if_index=4,suppress=1)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:71’, ‘ip_address’: ‘2001:3::1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:40:87:29’, ‘ip_address’: ‘2001:2::2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:98:d8:5e:47’, ‘ip_address’: ‘4001::’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 1, ‘nh’: {‘address’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sr_set_encap_source(encaps_source=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x00’)
sr_policy_add(bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x03x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x03x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’, b’x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00’]})
sr_steering_add_del(is_del=False,bsid_addr=b’ x03x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6)
cli_inband(cmd=’sr localsid address 2002:2:: behavior end.as nh 4001:: oif memif1/1 iif memif2/1 src 2002:1:: next 2002:3:: next 2002:4::’)
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=’’)