vpp_sub_interface module

class vpp_sub_interface.VppDot1ADSubint(test, parent, sub_id, outer_vlan, inner_vlan)

Bases: vpp_sub_interface.VppSubInterface

add_dot1_layer(packet)
create_arp_req()
create_ndp_req()
inner_vlan

Inner VLAN tag

outer_vlan

Outer VLAN tag

remove_dot1_layer(packet)
class vpp_sub_interface.VppDot1QSubint(test, parent, sub_id, vlan=None)

Bases: vpp_sub_interface.VppSubInterface

add_dot1_layer(packet)
create_arp_req()
create_ndp_req()
remove_dot1_layer(packet)
vlan

VLAN tag

class vpp_sub_interface.VppSubInterface(test, parent, sub_id)

Bases: vpp_pg_interface.VppPGInterface

add_dot1_layer(pkt)
create_arp_req()
create_ndp_req()
parent

Parent interface for this sub-interface

remove_vpp_config()
resolve_arp()
resolve_ndp()
sub_id

Sub-interface ID