16 #ifndef __VOM_INTERFACE_FACTORY_H__ 17 #define __VOM_INTERFACE_FACTORY_H__ 24 #include <vapi/bond.api.vapi.hpp> 25 #include <vapi/interface.api.vapi.hpp> 26 #include <vapi/vhost_user.api.vapi.hpp> 37 const vapi_payload_sw_interface_details& vd);
40 const vapi_payload_sw_interface_vhost_user_details& vd);
43 const vapi_payload_sw_interface_bond_details& vd);
46 const vapi_payload_sw_interface_slave_details& vd);
static std::shared_ptr< interface > new_interface(const vapi_payload_sw_interface_details &vd)
Factory method to construct a new interface from the VPP record.
static std::shared_ptr< interface > new_vhost_user_interface(const vapi_payload_sw_interface_vhost_user_details &vd)
static bond_member new_bond_member_interface(const vapi_payload_sw_interface_slave_details &vd)
The VPP Object Model (VOM) library.
static std::shared_ptr< bond_interface > new_bond_interface(const vapi_payload_sw_interface_bond_details &vd)