|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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 l2_address_t & l2_address() const
Return the L2 Address.
The VPP Object Model (VOM) library.
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.
inspect command handler Handler
vl_api_dhcp_client_state_t state
Class definition for listeners to OM events.
const std::string & name() const
Return the interface type.
const key_t & key() const
Return the interface type.
A representation of an interface in VPP.
const typedef 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.
The admin state of the interface.
tap_interface(const std::string &name, const admin_state_t &state, const route::prefix_t &prefix)
Construct a new object matching the desried state.
void event_handler(void *tls_async)
std::shared_ptr< tap_interface > singular() const
Return the matching 'singular instance' of the TAP interface.