|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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);
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;
gbp_route_domain(const route_domain &rd, scope_t scope)
Construct a GBP route_domain.
static void dump(std::ostream &os)
Dump all route_domain-doamin into the stream provided.
The VPP Object Model (VOM) library.
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.
route_domain::key_t key_t
The key for a route_domain is the pair of EPG-IDs.
inspect command handler Handler
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
std::shared_ptr< gbp_route_domain > singular() const
Return the matching 'singular instance'.
bool operator==(const gbp_route_domain &rdae) const
comparison operator
const std::shared_ptr< interface > get_ip4_uu_fwd() const
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.
const std::shared_ptr< interface > get_ip6_uu_fwd() const
const std::shared_ptr< route_domain > get_route_domain() const
Accessors for children.
~gbp_route_domain()
Destructor.
A entry in the ARP termination table of a Route Domain.
A Database to store the unique 'singular' instances of a single object type.
route::table_id_t id() const
Return the route domain's VPP ID.
void replay(void)
replay the object to create it in hardware
uint32_t table_id_t
type def the table-id
void event_handler(void *tls_async)
const key_t key() const
Return the object's key.
A base class for all object_base in the VPP object_base-Model.
route::table_id_t key_t
The Key for a route-domain.
std::string to_string() const
Convert to string for debugging.
static std::shared_ptr< gbp_route_domain > find(const key_t &k)
Find the instnace of the route_domain domain in the OM.