FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
VOM::interface_factory Class Reference

Static Public Member Functions

static std::shared_ptr< interfacenew_interface (const vapi_payload_sw_interface_details &vd)
 Factory method to construct a new interface from the VPP record. More...
 
static std::shared_ptr< interfacenew_vhost_user_interface (const vapi_payload_sw_interface_vhost_user_details &vd)
 
static std::shared_ptr< interfacenew_af_packet_interface (const vapi_payload_af_packet_details &vd)
 
static std::shared_ptr< tap_interfacenew_tap_interface (const vapi_payload_sw_interface_tap_v2_details &vd)
 
static std::shared_ptr< bond_interfacenew_bond_interface (const vapi_payload_sw_interface_bond_details &vd)
 
static bond_member new_bond_member_interface (const vapi_payload_sw_interface_slave_details &vd)
 
static std::shared_ptr< pipenew_pipe_interface (const vapi_payload_pipe_details &payload)
 

Detailed Description

Definition at line 36 of file interface_factory.hpp.

Member Function Documentation

◆ new_af_packet_interface()

std::shared_ptr< interface > VOM::interface_factory::new_af_packet_interface ( const vapi_payload_af_packet_details &  vd)
static

Definition at line 154 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_bond_interface()

std::shared_ptr< bond_interface > VOM::interface_factory::new_bond_interface ( const vapi_payload_sw_interface_bond_details &  vd)
static

Definition at line 195 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_bond_member_interface()

bond_member VOM::interface_factory::new_bond_member_interface ( const vapi_payload_sw_interface_slave_details &  vd)
static

Definition at line 213 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_interface()

std::shared_ptr< interface > VOM::interface_factory::new_interface ( const vapi_payload_sw_interface_details &  vd)
static

Factory method to construct a new interface from the VPP record.

Determine the interface type from the name and VLAN attributes

if the tag is set, then we wrote that to specify a name to make the interface type more specific

Definition at line 26 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_pipe_interface()

std::shared_ptr< pipe > VOM::interface_factory::new_pipe_interface ( const vapi_payload_pipe_details &  payload)
static

Definition at line 229 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_tap_interface()

std::shared_ptr< tap_interface > VOM::interface_factory::new_tap_interface ( const vapi_payload_sw_interface_tap_v2_details &  vd)
static

Definition at line 169 of file interface_factory.cpp.

+ Here is the call graph for this function:

◆ new_vhost_user_interface()

std::shared_ptr< interface > VOM::interface_factory::new_vhost_user_interface ( const vapi_payload_sw_interface_vhost_user_details &  vd)
static

Definition at line 140 of file interface_factory.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: