64b-2t1c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:21:cd:05:20’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:4a:42:b0:03’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False)
|
64b-4t2c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:11:52:c4:f1’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:fa:0e:ff:5a’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=3,worker_id=3,is_main=False)
|
64b-8t4c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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) 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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:30:2a:93:d9’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:d5:06:96:b4’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=4,worker_id=4,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=5,worker_id=5,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=6,worker_id=6,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=7,worker_id=7,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=4,worker_id=4,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=5,worker_id=5,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=6,worker_id=6,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=7,worker_id=7,is_main=False)
|
1518b-2t1c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:4c:31:0d:90’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:61:1f:6f:13’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False)
|
1518b-4t2c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:e5:12:04:79’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:1e:52:d7:6a’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=3,worker_id=3,is_main=False)
|
9000b-2t1c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:a5:e3:02:54’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:de:f5:af:b0’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False)
|
imix-2t1c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:31:77:9a:5e’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:9a:a0:8c:f4’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False)
|
imix-4t2c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:12:3e:54:01’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:bf:03:c0:4c’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=3,worker_id=3,is_main=False)
|
imix-8t4c-avf-ethip4- ip4base-eth-2vhostvr1024-1vm-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=’’) 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=’’) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘100.0.0.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘200.0.0.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vhost_user_if_v2(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False) 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=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) ip_table_add_del(table={‘table_id’: 101, ‘is_ip6’: False},is_add=True) ip_table_add_del(table={‘table_id’: 102, ‘is_ip6’: False},is_add=True) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=101) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=102) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:2c:2c:cc:2e’, ‘ip_address’: ‘1.1.2.2’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:c1:2d:a3:a6’, ‘ip_address’: ‘1.1.1.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 101, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x02x02’}, ‘via_label’: 1048576, ‘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’: 102, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_threads() sw_interface_rx_placement_dump(sw_if_index=1) sw_interface_rx_placement_dump(sw_if_index=2) sw_interface_rx_placement_dump(sw_if_index=3) sw_interface_rx_placement_dump(sw_if_index=4) sw_interface_set_rx_placement(sw_if_index=3,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=4,worker_id=4,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=5,worker_id=5,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=6,worker_id=6,is_main=False) sw_interface_set_rx_placement(sw_if_index=3,queue_id=7,worker_id=7,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=0,worker_id=0,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=1,worker_id=1,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=2,worker_id=2,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=3,worker_id=3,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=4,worker_id=4,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=5,worker_id=5,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=6,worker_id=6,is_main=False) sw_interface_set_rx_placement(sw_if_index=4,queue_id=7,worker_id=7,is_main=False)
|