|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_QOS_RECORD_H__
17 #define __VOM_QOS_RECORD_H__
39 typedef std::pair<interface::key_t, source_t>
key_t;
54 std::shared_ptr<record>
singular()
const;
59 static std::shared_ptr<record>
find(
const key_t& k);
64 static void dump(std::ostream& os);
99 void show(std::ostream& os);
115 void update(
const record& obj);
120 static std::shared_ptr<record> find_or_add(
const record& temp);
146 std::shared_ptr<interface> m_itf;
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
Class definition for listeners to OM events.
static std::shared_ptr< record > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
vnet_hw_if_output_node_runtime_t * r
record(const interface &i, const source_t &source)
std::shared_ptr< record > singular() const
Return the matching 'singular instance'.
void replay(void)
replay the object to create it in hardware
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.
sll srl srl sll sra u16x4 i
std::pair< interface::key_t, source_t > key_t
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
bool operator==(const record &bdae) const
comparison operator
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
std::string to_string() const
Convert to string for debugging.
A Database to store the unique 'singular' instances of a single object type.
void event_handler(void *tls_async)
The Source of the QoS classification (i.e.
A base class for all object_base in the VPP object_base-Model.
const key_t key() const
Return the object's key.