16 #ifndef __VOM_GBP_ENDPOINT_GROUP_H__ 17 #define __VOM_GBP_ENDPOINT_GROUP_H__ 89 const key_t
key()
const;
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 retention_t &o) const
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
Endpoint Retention Policy Settings.
const key_t key() const
Return the object's key.
uint32_t remote_ep_timeout
Remote Endpoint timeout/ageing.
sclass_t key_t
The key for a GBP endpoint group is its ID.
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 entry in the ARP termination table of a Bridge Domain.
retention_t & operator=(const retention_t &)=default
std::shared_ptr< gbp_endpoint_group > singular() const
Return the matching 'singular instance'.
A Database to store the unique 'singular' instances of a single object type.
void replay(void)
replay the object to create it in hardware
A representation of an interface in VPP.
A entry in the ARP termination table of a Bridge Domain.
Class definition for listeners to OM events.
inspect command handler Handler
const std::shared_ptr< gbp_bridge_domain > get_bridge_domain() const
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 ...
The interface to writing objects into VPP OM.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
A base class for all object_base in the VPP object_base-Model.
std::string to_string() const
const std::shared_ptr< gbp_route_domain > get_route_domain() const
A entry in the ARP termination table of a Route Domain.
The VPP Object Model (VOM) library.
uint32_t vnid_t
EPG IDs are 32 bit integers.
~gbp_endpoint_group()
Destructor.
static std::shared_ptr< gbp_endpoint_group > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
vnid_t vnid() const
Get the ID of the EPG.