FD.io VPP  v18.04-17-g3a0d853
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< 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)
 

Detailed Description

Definition at line 30 of file interface_factory.hpp.

Member Function Documentation

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

Definition at line 132 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 150 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< interface > VOM::interface_factory::new_vhost_user_interface ( const vapi_payload_sw_interface_vhost_user_details &  vd)
static

Definition at line 118 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: