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);
91 std::shared_ptr<interface> singular_i()
const;
96 virtual std::queue<cmd*>& mk_create_cmd(std::queue<cmd*>& cmds);
101 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.
const l2_address_t & l2_address() const
Return the L2 Address.
Type def of a L2 address as read from VPP.
const std::string & name() const
Return the interface type.
vhost_vring_state_t state
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)
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
The interface to writing objects into VPP OM.
tap_interface(const std::string &name, const admin_state_t &state, const route::prefix_t &prefix)
Construct a new object matching the desried state.
The VPP Object Model (VOM) library.
const key_t & key() const
Return the interface type.
std::shared_ptr< tap_interface > singular() const
Return the matching 'singular instance' of the TAP interface.