16 #ifndef __VOM_BRIDGE_DOMAIN_ARP_ENTRY_H__ 17 #define __VOM_BRIDGE_DOMAIN_ARP_ENTRY_H__ 35 typedef std::pair<bridge_domain::key_t, boost::asio::ip::address>
key_t;
63 const key_t
key()
const;
73 std::shared_ptr<bridge_domain_arp_entry>
singular()
const;
78 static std::shared_ptr<bridge_domain_arp_entry>
find(
const key_t& k);
83 static void dump(std::ostream& os);
113 void handle_replay();
118 void show(std::ostream& os);
139 static std::shared_ptr<bridge_domain_arp_entry> find_or_add(
165 std::shared_ptr<bridge_domain> m_bd;
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
std::string to_string() const
Convert to string for debugging.
bridge_domain_arp_entry(const bridge_domain &bd, const boost::asio::ip::address &ip_addr, const mac_address_t &mac)
Construct a bridge domain ARP Entry in the given bridge domain.
void replay(void)
replay the object to create it in hardware
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
A Database to store the unique 'singular' instances of a single object type.
std::shared_ptr< bridge_domain_arp_entry > singular() const
Return the matching 'singular instance'.
std::pair< bridge_domain::key_t, boost::asio::ip::address > key_t
The key for a bridge_domain ARP entry; the BD, IP address and MAC address.
A base class for all object_base in the VPP object_base-Model.
Class definition for listeners to OM events.
inspect command handler Handler
~bridge_domain_arp_entry()
Destructor.
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 ...
bool operator==(const bridge_domain_arp_entry &bdae) const
comparison operator
The interface to writing objects into VPP OM.
A base class for all object_base in the VPP object_base-Model.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
The VPP Object Model (VOM) library.
const key_t key() const
Return the object's key.
Type def of a Ethernet address.
static std::shared_ptr< bridge_domain_arp_entry > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
A entry in the ARP termination table of a Bridge Domain.