|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_ROUTE_DOMAIN_H__
17 #define __VOM_ROUTE_DOMAIN_H__
71 std::shared_ptr<route_domain>
singular()
const;
91 static std::shared_ptr<route_domain>
find(
const key_t& temp);
96 static void dump(std::ostream& os);
101 static std::shared_ptr<route_domain>
get_default();
126 void handle_replay();
131 void show(std::ostream& os);
152 static std::shared_ptr<route_domain> find_or_add(
const route_domain& temp);
188 static
singular_db<route::table_id_t, route_domain> m_db;
A HW::item is data that is either to be written to or read from VPP/HW.
route::table_id_t table_id() const
Get the table ID.
std::string to_string() const
Debug print function.
bool operator==(const route_domain &r) const
comparison operator - for UT
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.
inspect command handler Handler
key_t key() const
Get the route-domain's key.
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
std::map< KEY, std::weak_ptr< OBJ > >::const_iterator const_iterator
Iterator.
singular_db< const key_t, route_domain >::const_iterator const_iterator_t
The iterator type.
static std::shared_ptr< route_domain > get_default()
Return the sigular instance for the default table.
void replay(void)
replay the object to create it in hardware
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
static const_iterator_t cbegin()
~route_domain()
Destructor.
route_domain(route::table_id_t id)
Construct a new object matching the desried state.
A Database to store the unique 'singular' instances of a single object type.
static const_iterator_t cend()
static void dump(std::ostream &os)
Dump all route-doamin into the stream provided.
std::shared_ptr< route_domain > singular() const
Return the matching 'singular instance'.
uint32_t table_id_t
type def the table-id
void event_handler(void *tls_async)
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.
static std::shared_ptr< route_domain > find(const key_t &temp)
Find the instnace of the route domain in the OM.