l2bd

eth2p-avf-dot1qip4-l2bdbasemaclrn-dev

IPv4 routing with IEEE 802.1Q test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing. IEEE 802.1Q tagging is applied on links between TG-DUT1.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /30 route entries. DUT1 is tested with virtual.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications: IEEE 802.1q.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 68b-avf- 
dot1qip4-l2bdbasemaclrn-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=1,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=708509696,enable_elog=0,rxq_num=1,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=’’)
create_vlan_subif(sw_if_index=1,vlan_id=1300)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vlan_subif(sw_if_index=2,vlan_id=1301)
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=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=4,bd_id=1,shg=0,port_type=0,enable=True)

eth2p-ethipv4-l2bdbasemaclrn-dev

L2 bridge-domain test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. Both apply to all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain switching.

  • [Ver] TG verification: Test IPv4 packets with IP protocol=61 are sent in both directions by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.

  • [Ref] Applicable standard specifications: RFC792

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4-l2bdbasemaclrn-dev 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)

eth2p-ethipv4-l2bdbasemaclrn-iacl1sf-dev

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4- 
l2bdmaclrn-iacl1sf-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_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=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=1,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=1,count=1)

eth2p-ethipv4-l2bdbasemaclrn-iacl1sl-dev

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4- 
l2bdmaclrn-iacl1sl-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_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=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=1,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=1,count=1)

eth2p-ethipv4-l2bdbasemaclrn-macip-iacl1sl-dev

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required MACIP ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4- 
l2bdbasemaclrn-iacl1sl-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_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=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
macip_acl_add(r=[{‘is_permit’: 1, ‘src_mac’: b’x01x02x03x04x05x06’, ‘src_mac_mask’: b’x00x00x00x00x00x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}}, {‘is_permit’: 1, ‘src_mac’: b’xcaxfex00x00x00x00’, ‘src_mac_mask’: b’xffxffxffxffxc0x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 18, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}}],count=2,tag=’’)
macip_acl_add(r=[{‘is_permit’: 1, ‘src_mac’: b’x01x02x03x04x05x06’, ‘src_mac_mask’: b’x00x00x00x00x00x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}}, {‘is_permit’: 1, ‘src_mac’: b’xfaxcex00x00x00x00’, ‘src_mac_mask’: b’xffxffxffxffxc0x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 18, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}}],count=2,tag=’’)
macip_acl_interface_add_del(is_add=True,sw_if_index=1,acl_index=0)
macip_acl_interface_add_del(is_add=True,sw_if_index=2,acl_index=1)

eth2p-ethipv4-l2bdbasemaclrn-oacl1sf-dev

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4- 
l2bdmaclrn-oacl1sf-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_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=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=0,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=0,count=1)

eth2p-ethipv4-l2bdbasemaclrn-oacl1sl-dev

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-ethipv4- 
l2bdmaclrn-oacl1sl-dev

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
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=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=0,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=0,count=1)