2n-clx-xxv710

2n1l-25ge2p1xxv710-avf-ethip4-loadbalancer-l3dsr-ndrpdr

RFC2544: Pkt throughput loadbalancer l3dsr test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer l3dsr.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer l3dsr and one static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUT. TG traffic profile contains two L4 flow-groups (l3dsr use flow-group is only from TG to DUT, 6 flows for flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-4t2c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-8t4c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,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=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-2t1c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-4t2c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 9000b-2t1c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-2t1c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-4t2c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-8t4c-avf- 
ethip4-loadbalancer-l3dsr-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=37421056,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=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

2n1l-25ge2p1xxv710-avf-ethip4-loadbalancer-maglev-ndrpdr

RFC2544: Pkt throughput loadbalancer maglev test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer maglev.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer maglev and one static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUT. TG traffic profile contains two L4 flow-groups (maglev use flow-group is only from TG to DUT, 6 flows for flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-4t2c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-8t4c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-2t1c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-4t2c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 9000b-2t1c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-2t1c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-4t2c-avf- 
ethip4-loadbalancer-maglev-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=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,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=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-8t4c-avf- 
ethip4-loadbalancer-maglev-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

2n1l-25ge2p1xxv710-avf-ethip4-loadbalancer-nat4-ndrpdr

RFC2544: Pkt throughput loadbalancer nat4 test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer nat4.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer nat4 and two static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L4 flow-groups (flow-group per direction, 6 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 64b-4t2c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 64b-8t4c-avf- 
ethip4-loadbalancer-nat4-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=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 1518b-2t1c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 1518b-4t2c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 9000b-2t1c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-2t1c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-4t2c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-8t4c-avf- 
ethip4-loadbalancer-nat4-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=37421056,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=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

2n1l-25ge2p1xxv710-ethip4-loadbalancer-l3dsr-ndrpdr

RFC2544: Pkt throughput loadbalancer l3dsr test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer l3dsr.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer l3dsr and one static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUT. TG traffic profile contains two L4 flow-groups (l3dsr use flow-group is only from TG to DUT, 6 flows for flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-4t2c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-8t4c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-2t1c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-4t2c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 9000b-2t1c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-2t1c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-4t2c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-8t4c-ethip4- 
loadbalancer-l3dsr-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=33554432,dscp=7,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

2n1l-25ge2p1xxv710-ethip4-loadbalancer-maglev-ndrpdr

RFC2544: Pkt throughput loadbalancer maglev test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer maglev.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer maglev and one static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUT. TG traffic profile contains two L4 flow-groups (maglev use flow-group is only from TG to DUT, 6 flows for flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-4t2c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 64b-8t4c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-2t1c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 1518b-4t2c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 9000b-2t1c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-2t1c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-4t2c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

 imix-8t4c-ethip4- 
loadbalancer-maglev-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,encap=0,dscp=0,type=0,target_port=0,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=255,port=0,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)

2n1l-25ge2p1xxv710-ethip4-loadbalancer-nat4-ndrpdr

RFC2544: Pkt throughput loadbalancer nat4 test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4-UDP for LoadBalancer nat4.

  • [Cfg] DUT configuration: DUT1 is configured with LoadBalancer nat4 and two static IPv4 /24 route entries. DUT1 tested with with Intel-XXV710.

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

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L4 flow-groups (flow-group per direction, 6 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=17 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 64b-4t2c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 64b-8t4c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 1518b-2t1c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 1518b-4t2c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 9000b-2t1c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-2t1c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-4t2c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)

 imix-8t4c-ethip4- 
loadbalancer-nat4-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=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’: 0, ‘is_ip6’: False},is_add=True)
sw_interface_set_table(sw_if_index=1,is_ipv6=False,vrf_id=0)
sw_interface_set_table(sw_if_index=2,is_ipv6=False,vrf_id=0)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82H’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<I’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ec’, ‘ip_address’: ‘192.168.50.79’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.74’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.75’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.76’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.77’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.78’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:cf:69:ed’, ‘ip_address’: ‘192.168.60.79’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa82x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘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’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8<x00’}}}, ‘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’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
lb_conf(ip4_src_address=’192.168.60.73’,ip6_src_address=’ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff’,sticky_buckets_per_core=128,flow_timeout=40)
lb_add_del_vip(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,encap=50331648,dscp=0,type=0,target_port=3307,node_port=0,new_flows_table_length=1024,is_del=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<J’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<K’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<L’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<M’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<N’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_as(pfx={‘len’: 128, ‘address’: {‘un’: {‘ip4’: b’Zx01x02x01’}, ‘af’: 0}},protocol=17,port=20000,as_address={‘un’: {‘ip4’: b’xc0xa8<O’}, ‘af’: 0},is_del=0,is_flush=0)
lb_add_del_intf_nat4(is_add=True,sw_if_index=2)