16 #ifndef __VOM_GBP_ROUTE_DOMAIN_H__ 17 #define __VOM_GBP_ROUTE_DOMAIN_H__ 46 const std::shared_ptr<interface> ip4_uu_fwd,
47 const std::shared_ptr<interface> ip6_uu_fwd);
62 const key_t
key()
const;
77 std::shared_ptr<gbp_route_domain>
singular()
const;
82 static std::shared_ptr<gbp_route_domain>
find(
const key_t& k);
87 static void dump(std::ostream& os);
119 void handle_replay();
124 void show(std::ostream& os);
145 static std::shared_ptr<gbp_route_domain> find_or_add(
168 std::shared_ptr<route_domain> m_rd;
169 std::shared_ptr<interface> m_ip4_uu_fwd;
170 std::shared_ptr<interface> m_ip6_uu_fwd;
route_domain::key_t key_t
The key for a route_domain is the pari of EPG-IDs.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
std::string to_string() const
Convert to string for debugging.
bool operator==(const gbp_route_domain &rdae) const
comparison operator
gbp_route_domain(const route_domain &rd)
Construct a GBP route_domain.
std::shared_ptr< gbp_route_domain > singular() const
Return the matching 'singular instance'.
static void dump(std::ostream &os)
Dump all route_domain-doamin into the stream provided.
const std::shared_ptr< route_domain > get_route_domain()
uint32_t id() const
Return the route domain's VPP ID.
A Database to store the unique 'singular' instances of a single object type.
A representation of an interface in VPP.
Class definition for listeners to OM events.
inspect command handler Handler
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.
A base class for all object_base in the VPP object_base-Model.
A entry in the ARP termination table of a Route Domain.
~gbp_route_domain()
Destructor.
The VPP Object Model (VOM) library.
static std::shared_ptr< gbp_route_domain > find(const key_t &k)
Find the instnace of the route_domain domain in the OM.
const key_t key() const
Return the object's key.
void replay(void)
replay the object to create it in hardware
route::table_id_t key_t
The Key for a route-domain.