FD.io VPP  v18.01.2-1-g9b554f3
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...
 

Detailed Description

Definition at line 27 of file interface_factory.hpp.

Member Function Documentation

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 24 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: