|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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;
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;
A base class for all object_base in the VPP object_base-Model.
bool operator==(const bridge_domain_arp_entry &bdae) const
comparison operator
std::string to_string() const
Convert to string for debugging.
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
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
manual_print typedef address
std::shared_ptr< bridge_domain_arp_entry > singular() const
Return the matching 'singular instance'.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
A entry in the ARP termination table of a Bridge Domain.
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.
~bridge_domain_arp_entry()
Destructor.
void replay(void)
replay the object to create it in hardware
Type def of a Ethernet address.
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.
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.
const key_t key() const
Return the object's key.
static std::shared_ptr< bridge_domain_arp_entry > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.