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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:6c:6c:0f:4c’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:8b:08:17: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=’’)
|
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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:42:c1:d4:80’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:13:01:e8:06’, ‘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=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) 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) 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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:52:5f:52:e8’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:fe:d7:fa:46’, ‘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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:27:d8:6a:bf’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:e1:fc:3e:8d’, ‘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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:b3:f7:86:58’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:d1:b0:ea:21’, ‘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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:8e:19:66:a4’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:6c:e5:49:51’, ‘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=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=’’) 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) 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) 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) 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) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:9d:8e:c7:52’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:de:ff:06: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.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=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=’’) 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=’’) 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-DUT1_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-DUT1_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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 128, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’0x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}}}) 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:fe:bd:f9:f5:00’, ‘ip_address’: ‘2001:3::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:24’, ‘ip_address’: ‘2001:1::2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:1c:bd:1c:54’, ‘ip_address’: ‘4002::’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x03x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x03x00x03x00x00x00x00x00x00x00x00x00x00x00x00’}}}, ‘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’ x01x00x01x00x00x00x00x00x00x00x00x00x00x00x02’}, ‘via_label’: 1048576, ‘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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x00’) sr_policy_add(bsid_addr=b’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,weight=1,is_encap=True,is_spray=False,sids={‘num_sids’: 3, ‘weight’: 1, ‘sids’: [b’ x02x00x02x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x03x00x00x00x00x00x00x00x00x00x00x00x00’, b’ x02x00x04x00x00x00x00x00x00x00x00x00x00x00x00’, 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’ x02x00x01x00x00x00x00x00x00x00x00x00x00x00x01’,sr_policy_index=0,table_id=0,prefix={‘len’: 64, ‘address’: {‘af’: 1, ‘un’: {‘ip6’: b’ x01x00x02x00x00x00x00x00x00x00x00x00x00x00x00’}}},sw_if_index=4294967295,traffic_type=6) cli_inband(cmd=’sr localsid address 2003:2:: behavior end.am nh 4002:: 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=’’) DUT2: 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:f8:69:00’, ‘ip_address’: ‘2001:3::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’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:f3:41:cd:60’, ‘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=’’)
|