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=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0) avf_create(pci_addr=38469632,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=172687360,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) ip_table_add_del(table={‘table_id’: 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’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:48’, ‘ip_address’: ‘192.168.50.79’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.74’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.75’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.76’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.77’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘ip_address’: ‘192.168.60.78’}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘40:a6:b7:4c:34:49’, ‘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)
|