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);
static void dump(std::ostream &os)
Dump all LLDP configs into the stream provided.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
A HW::item is data that is either to be written to or read from VPP/HW.
std::shared_ptr< arp_proxy_config > singular() const
Return the 'singular' of the LLDP config that matches this object.
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.
A Database to store the unique 'singular' instances of a single object type.
~arp_proxy_config()
Destructor.
Class definition for listeners to OM events.
inspect command handler Handler
std::string to_string() const
convert to string format for debug purposes
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 ...
A representation of LLDP client configuration on an interface.
The interface to writing objects into VPP OM.
A base class for all object_base in the VPP object_base-Model.
The VPP Object Model (VOM) library.
std::pair< boost::asio::ip::address_v4, boost::asio::ip::address_v4 > key_t
Key type.