|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_BRIDGE_DOMAIN_H__
17 #define __VOM_BRIDGE_DOMAIN_H__
173 std::shared_ptr<bridge_domain>
singular()
const;
183 static std::shared_ptr<bridge_domain>
find(
const key_t&
key);
188 static void dump(std::ostream& os);
208 void handle_replay();
213 void show(std::ostream& os);
234 static std::shared_ptr<bridge_domain> find_or_add(
const bridge_domain& temp);
A base class for all object_base in the VPP object_base-Model.
const static flood_mode_t OFF
Bridge Domain ARP termination mode.
std::shared_ptr< bridge_domain > singular() const
Return the matchin 'singular' instance of the bridge-domain.
Bridge Domain ARP Unicast Forward mode.
const static uint32_t DEFAULT_TABLE
The value of the defaultbridge domain.
static void dump(std::ostream &os)
Dump all bridge-doamin into the stream provided.
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 ...
Bridge Domain flood mode.
The interface to writing objects into VPP OM.
const static learning_mode_t OFF
inspect command handler Handler
const static mac_age_mode_t ON
~bridge_domain()
Destructor.
Class definition for listeners to OM events.
static std::shared_ptr< bridge_domain > find(const key_t &key)
Static function to find the bridge_domain in the model.
A template base class for all enum types.
const static uu_flood_mode_t OFF
const static arp_ufwd_mode_t ON
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
const static arp_ufwd_mode_t OFF
const static arp_term_mode_t OFF
std::string to_string(void) const
convert to string format for debug purposes
const static arp_term_mode_t ON
const static flood_mode_t ON
bridge_domain(uint32_t id, const learning_mode_t &lmode=learning_mode_t::ON, const arp_term_mode_t &amode=arp_term_mode_t::ON, const arp_ufwd_mode_t &aumode=arp_ufwd_mode_t::OFF, const flood_mode_t &fmode=flood_mode_t::ON, const uu_flood_mode_t &uufmode=uu_flood_mode_t::ON, const mac_age_mode_t &mmode=mac_age_mode_t::OFF)
Construct a new object matching the desried state.
const static uu_flood_mode_t ON
const key_t & key() const
Return the bridge domain's key.
A Database to store the unique 'singular' instances of a single object type.
Bridge Domain Learning mode.
Bridge Domain Unknown Unicast Flood mode.
void event_handler(void *tls_async)
bool operator==(const bridge_domain &b) const
Comparison operator - for UT.
uint32_t key_t
Key Type for Bridge Domains in the sigular DB.
const static learning_mode_t ON
A base class for all object_base in the VPP object_base-Model.
uint32_t id() const
Return the bridge domain's VPP ID.
const static mac_age_mode_t OFF
Bridge Domain MAC aging mode.