|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_ENDPOINT_GROUP_H__
17 #define __VOM_GBP_ENDPOINT_GROUP_H__
99 std::shared_ptr<gbp_endpoint_group>
singular()
const;
104 static std::shared_ptr<gbp_endpoint_group>
find(
const key_t& k);
109 static void dump(std::ostream& os);
150 void handle_replay();
155 void show(std::ostream& os);
176 static std::shared_ptr<gbp_endpoint_group> find_or_add(
212 std::shared_ptr<interface> m_itf;
217 std::shared_ptr<gbp_route_domain> m_rd;
222 std::shared_ptr<gbp_bridge_domain> m_bd;
bool operator==(const gbp_endpoint_group &bdae) const
comparison operator
retention_t & operator=(const retention_t &)=default
The VPP Object Model (VOM) library.
A entry in the ARP termination table of a Bridge Domain.
std::string to_string() const
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.
const std::shared_ptr< gbp_route_domain > get_route_domain() const
inspect command handler Handler
const std::shared_ptr< gbp_bridge_domain > get_bridge_domain() const
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
bool operator==(const retention_t &o) const
std::string to_string() const
Convert to string for debugging.
static std::shared_ptr< gbp_endpoint_group > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
gbp_endpoint_group(vnid_t vnid, sclass_t sclass, const interface &itf, const gbp_route_domain &rd, const gbp_bridge_domain &bd)
Construct a GBP endpoint_group.
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.
vl_api_gbp_endpoint_retention_t retention
uint32_t remote_ep_timeout
Remote Endpoint timeout/ageing.
const key_t key() const
Return the object's key.
uint32_t vnid_t
EPG IDs are 32 bit integers.
Endpoint Retention Policy Settings.
void replay(void)
replay the object to create it in hardware
std::shared_ptr< gbp_endpoint_group > singular() const
Return the matching 'singular instance'.
A entry in the ARP termination table of a Route Domain.
A Database to store the unique 'singular' instances of a single object type.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
sclass_t key_t
The key for a GBP endpoint group is its ID.
void event_handler(void *tls_async)
~gbp_endpoint_group()
Destructor.
A entry in the ARP termination table of a Bridge Domain.
A base class for all object_base in the VPP object_base-Model.
void set(const retention_t &retention)
vnid_t vnid() const
Get the ID of the EPG.