|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_ARP_PROXY_CONFIG_H__
17 #define __VOM_ARP_PROXY_CONFIG_H__
35 typedef std::pair<boost::asio::ip::address_v4, boost::asio::ip::address_v4>
42 const boost::asio::ip::address_v4& high);
57 std::shared_ptr<arp_proxy_config>
singular()
const;
67 static void dump(std::ostream& os);
92 void show(std::ostream& os);
113 static std::shared_ptr<arp_proxy_config> find_or_add(
139 const boost::asio::ip::address_v4 m_low;
140 const boost::asio::ip::address_v4 m_high;
145 static
singular_db<arp_proxy_config::key_t, arp_proxy_config> m_db;
154 std::ostream& operator<<(std::ostream& os, const arp_proxy_config::key_t& key);
std::string to_string() const
convert to string format for debug purposes
A HW::item is data that is either to be written to or read from VPP/HW.
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 ...
std::shared_ptr< arp_proxy_config > singular() const
Return the 'singular' of the LLDP config that matches this object.
The interface to writing objects into VPP OM.
inspect command handler Handler
arp_proxy_config(const boost::asio::ip::address_v4 &low, const boost::asio::ip::address_v4 &high)
Construct a new object matching the desried state.
Class definition for listeners to OM events.
static void dump(std::ostream &os)
Dump all LLDP configs into the stream provided.
A representation of LLDP client configuration on an interface.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
std::pair< boost::asio::ip::address_v4, boost::asio::ip::address_v4 > key_t
Key type.
~arp_proxy_config()
Destructor.
A Database to store the unique 'singular' instances of a single object type.
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.