64b-1t1c-ethip4-ip4base- eth-2memif-1dcr-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=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_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_version() ip_table_add_del(table={‘table_id’: 10, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=10) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:90’, ‘ip_address’: ‘1.1.1.1’}) ip_table_add_del(table={‘table_id’: 11, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’x02x02x02x02’}, ‘via_label’: 1048576, ‘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_set_table(sw_if_index=2,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x02x02x02x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:91’, ‘ip_address’: ‘2.2.2.2’}) memif_socket_filename_add_del(is_add=True,socket_id=1,socket_filename=’/tmp/memif-DUT1_CNF1-1’) memif_create(role=1,rx_queues=1,tx_queues=1,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=1,tx_queues=1,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) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=10) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1fx1fx1fx01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’ x01’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’ x01’}, ‘via_label’: 1048576, ‘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’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x1fx1fx1fx01’}, ‘via_label’: 1048576, ‘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_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:82:6e:88:53’, ‘ip_address’: ‘32.32.32.1’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:65:9b:0b:7b’, ‘ip_address’: ‘31.31.31.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=’’) memif_dump() 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=4,queue_id=0,worker_id=0,is_main=False)
|
64b-2t2c-ethip4-ip4base- eth-2memif-1dcr-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=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_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_version() ip_table_add_del(table={‘table_id’: 10, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=10) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:90’, ‘ip_address’: ‘1.1.1.1’}) ip_table_add_del(table={‘table_id’: 11, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’x02x02x02x02’}, ‘via_label’: 1048576, ‘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_set_table(sw_if_index=2,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x02x02x02x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:91’, ‘ip_address’: ‘2.2.2.2’}) 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) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=10) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1fx1fx1fx01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’ x01’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’ x01’}, ‘via_label’: 1048576, ‘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’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x1fx1fx1fx01’}, ‘via_label’: 1048576, ‘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_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:cf:e1:e9:4f’, ‘ip_address’: ‘32.32.32.1’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:54:fa:7c:d4’, ‘ip_address’: ‘31.31.31.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=’’) memif_dump() 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-4t4c-ethip4-ip4base- eth-2memif-1dcr-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=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_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) show_version() ip_table_add_del(table={‘table_id’: 10, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x01x01x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=10) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:90’, ‘ip_address’: ‘1.1.1.1’}) ip_table_add_del(table={‘table_id’: 11, ‘is_ip6’: False},is_add=True) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’x02x02x02x02’}, ‘via_label’: 1048576, ‘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_set_table(sw_if_index=2,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x02x02x02x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:c3:e0:91’, ‘ip_address’: ‘2.2.2.2’}) 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) sw_interface_set_table(sw_if_index=3,is_ipv6=False,vrf_id=10) sw_interface_set_table(sw_if_index=4,is_ipv6=False,vrf_id=11) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1fx1fx1fx01’}}}) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’ x01’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 10, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘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’ x01’}, ‘via_label’: 1048576, ‘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’: 11, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘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’x1fx1fx1fx01’}, ‘via_label’: 1048576, ‘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_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 3, ‘flags’: 0, ‘mac_address’: ‘02:fe:93:85:35:6a’, ‘ip_address’: ‘32.32.32.1’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 4, ‘flags’: 0, ‘mac_address’: ‘02:fe:fd:63:d6:0d’, ‘ip_address’: ‘31.31.31.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=’’) memif_dump() 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)
|