Definition at line 37 of file interface_factory.hpp.
std::shared_ptr< interface > VOM::interface_factory::new_af_packet_interface |
( |
const vapi_payload_af_packet_details & |
vd | ) |
|
|
static |
std::shared_ptr< bond_interface > VOM::interface_factory::new_bond_interface |
( |
const vapi_payload_sw_interface_bond_details & |
vd | ) |
|
|
static |
bond_member VOM::interface_factory::new_bond_member_interface |
( |
const vapi_payload_sw_interface_slave_details & |
vd | ) |
|
|
static |
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.
std::shared_ptr< pipe > VOM::interface_factory::new_pipe_interface |
( |
const vapi_payload_pipe_details & |
payload | ) |
|
|
static |
std::shared_ptr< tap_interface > VOM::interface_factory::new_tap_interface |
( |
const vapi_payload_sw_interface_tap_details & |
vd | ) |
|
|
static |
std::shared_ptr< tap_interface > VOM::interface_factory::new_tap_v2_interface |
( |
const vapi_payload_sw_interface_tap_v2_details & |
vd | ) |
|
|
static |
std::shared_ptr< interface > VOM::interface_factory::new_vhost_user_interface |
( |
const vapi_payload_sw_interface_vhost_user_details & |
vd | ) |
|
|
static |
The documentation for this class was generated from the following files: