16 #ifndef __VOM_GBP_ROUTE_DOMAIN_H__ 17 #define __VOM_GBP_ROUTE_DOMAIN_H__ 49 const std::shared_ptr<interface> ip4_uu_fwd,
50 const std::shared_ptr<interface> ip6_uu_fwd);
65 const key_t
key()
const;
80 std::shared_ptr<gbp_route_domain>
singular()
const;
85 static std::shared_ptr<gbp_route_domain>
find(
const key_t& k);
90 static void dump(std::ostream& os);
127 void handle_replay();
132 void show(std::ostream& os);
153 static std::shared_ptr<gbp_route_domain> find_or_add(
176 std::shared_ptr<route_domain> m_rd;
178 std::shared_ptr<interface> m_ip4_uu_fwd;
179 std::shared_ptr<interface> m_ip6_uu_fwd;
uint32_t table_id_t
type def the table-id
route_domain::key_t key_t
The key for a route_domain is the pair 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
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< interface > get_ip6_uu_fwd() const
const std::shared_ptr< interface > get_ip4_uu_fwd() const
const std::shared_ptr< route_domain > get_route_domain() const
Accessors for children.
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.
gbp_route_domain(const route_domain &rd, scope_t scope)
Construct a GBP route_domain.
void replay(void)
replay the object to create it in hardware
route::table_id_t id() const
Return the route domain's VPP ID.
route::table_id_t key_t
The Key for a route-domain.