|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_BRIDGE_DOMAIN_H__
17 #define __VOM_GBP_BRIDGE_DOMAIN_H__
67 const std::shared_ptr<interface> bvi,
68 const std::shared_ptr<interface> uu_fwd,
69 const std::shared_ptr<interface> bm_flood,
74 const std::shared_ptr<interface> uu_fwd,
75 const std::shared_ptr<interface> bm_flood,
106 std::shared_ptr<gbp_bridge_domain>
singular()
const;
111 static std::shared_ptr<gbp_bridge_domain>
find(
const key_t& k);
116 static void dump(std::ostream& os);
129 const std::shared_ptr<interface>
get_bvi()
const;
149 void handle_replay();
154 void show(std::ostream& os);
175 static std::shared_ptr<gbp_bridge_domain> find_or_add(
198 std::shared_ptr<bridge_domain> m_bd;
199 std::shared_ptr<gbp_route_domain> m_rd;
200 std::shared_ptr<interface> m_bvi;
201 std::shared_ptr<interface> m_uu_fwd;
202 std::shared_ptr<interface> m_bm_flood;
A base class for all object_base in the VPP object_base-Model.
const static flags_t UCAST_ARP
The VPP Object Model (VOM) library.
A entry in the ARP termination table of a Bridge Domain.
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
const std::shared_ptr< bridge_domain > get_bridge_domain() const
const static flags_t DO_NOT_LEARN
The interface to writing objects into VPP OM.
inspect command handler Handler
static const flags_t & from_vpp(int i)
Class definition for listeners to OM events.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
vnet_hw_if_output_node_runtime_t * r
void replay(void)
replay the object to create it in hardware
const std::shared_ptr< interface > get_bvi() const
bool operator==(const gbp_bridge_domain &bdae) const
comparison operator
std::shared_ptr< gbp_bridge_domain > singular() const
Return the matching 'singular instance'.
static std::shared_ptr< gbp_bridge_domain > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
A template base class for all enum types.
A representation of an interface in VPP.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
bridge_domain::key_t key_t
The key for a bridge_domain is the pair of EPG-IDs.
sll srl srl sll sra u16x4 i
gbp_bridge_domain(const bridge_domain &bd, const gbp_route_domain &rd, const interface &bvi, const flags_t &flags=flags_t::NONE)
Construct a GBP bridge_domain.
std::string to_string() const
Convert to string for debugging.
const key_t key() const
Return the object's key.
A entry in the ARP termination table of a Route Domain.
~gbp_bridge_domain()
Destructor.
const static flags_t UU_FWD_DROP
A Database to store the unique 'singular' instances of a single object type.
const static flags_t MCAST_DROP
void event_handler(void *tls_async)
const static flags_t NONE
uint32_t key_t
Key Type for Bridge Domains in the sigular DB.
uint32_t id() const
Return the bridge domain's VPP ID.
A base class for all object_base in the VPP object_base-Model.
vl_api_wireguard_peer_flags_t flags