16 #ifndef __VOM_TAP_INTERFACE_H__ 17 #define __VOM_TAP_INTERFACE_H__ 43 std::shared_ptr<tap_interface>
singular()
const;
68 void show(std::ostream& os);
93 std::shared_ptr<interface> singular_i()
const;
98 virtual std::queue<cmd*>& mk_create_cmd(std::queue<cmd*>& cmds);
103 virtual std::queue<cmd*>& mk_delete_cmd(std::queue<cmd*>& cmds);
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
Type def of a L2 address as read from VPP.
const l2_address_t & l2_address() const
Return the L2 Address.
The admin state of the interface.
A representation of an interface in VPP.
Class definition for listeners to OM events.
inspect command handler Handler
void event_handler(void *tls_async)
std::shared_ptr< tap_interface > singular() const
Return the matching 'singular instance' of the TAP interface.
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
const std::string & name() const
Return the interface type.
The interface to writing objects into VPP OM.
vhost_vring_state_t state
The VPP Object Model (VOM) library.
tap_interface(const std::string &name, admin_state_t state, route::prefix_t prefix)
Construct a new object matching the desried state.
const key_t & key() const
Return the interface type.