|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_IP_PUNT_REDIRECT_H__
17 #define __VOM_IP_PUNT_REDIRECT_H__
67 std::shared_ptr<ip_punt_redirect>
singular()
const;
77 static void dump(std::ostream& os);
112 void handle_replay();
117 void show(std::ostream& os);
138 static std::shared_ptr<ip_punt_redirect> find_or_add(
164 const std::shared_ptr<interface> m_rx_itf;
168 const std::shared_ptr<interface> m_tx_itf;
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
A representation of IP punt_redirect configuration on an interface.
interface::key_t key_t
The key type for ip_punt_redirects.
Class definition for listeners to OM events.
static std::shared_ptr< ip_punt_redirect > find(const interface &i)
Find an singular instance in the DB for the interface passed.
const key_t key() const
return the object's key
A representation of an interface in VPP.
ip_punt_redirect(const interface &rx_itf, const interface &tx_itf, const boost::asio::ip::address &addr)
Construct a new object matching the desried state.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
sll srl srl sll sra u16x4 i
manual_print typedef address
std::shared_ptr< ip_punt_redirect > singular() const
Return the 'singular instance' of the ip_punt_redirect that matches this object.
~ip_punt_redirect()
Destructor.
A Database to store the unique 'singular' instances of a single object type.
static void dump(std::ostream &os)
Dump all ip_punt_redirects into the stream provided.
std::string key_t
The key for interface's key.
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.
std::string to_string() const
convert to string format for debug purposes