FD.io VPP  v18.07.1-19-g511ce25
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_details &vd)
 
static std::shared_ptr< tap_interfacenew_tap_v2_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 37 of file interface_factory.hpp.

Member Function Documentation

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

Definition at line 148 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 205 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 223 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

+ Here is the caller graph for this function:

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

Definition at line 239 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 163 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 178 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 134 of file interface_factory.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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