16 #ifndef __VOM_TAP_INTERFACE_H__ 17 #define __VOM_TAP_INTERFACE_H__ 45 std::shared_ptr<tap_interface>
singular()
const;
70 void show(std::ostream& os);
98 std::shared_ptr<interface> singular_i()
const;
103 virtual std::queue<cmd*>& mk_create_cmd(std::queue<cmd*>& cmds);
108 virtual std::queue<cmd*>& mk_delete_cmd(std::queue<cmd*>& cmds);
tap_interface(const std::string &name, type_t type, admin_state_t state, route::prefix_t prefix)
Construct a new object matching the desried state.
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.
vhost_vring_state_t state
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.
The VPP Object Model (VOM) library.
const type_t & type() const
Return the interface type.
const key_t & key() const
Return the interface type.