|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_QOS_MAP_H__
17 #define __VOM_QOS_MAP_H__
38 typedef std::array<std::array<bits_t, 256>, 4>
outputs_t;
65 std::shared_ptr<map>
singular()
const;
70 static std::shared_ptr<map>
find(
const key_t& k);
75 static void dump(std::ostream& os);
105 void handle_replay();
110 void show(std::ostream& os);
126 void update(
const map& obj);
131 static std::shared_ptr<map> find_or_add(
const map& temp);
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
static std::shared_ptr< map > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
std::array< std::array< bits_t, 256 >, 4 > outputs_t
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
const key_t key() const
Return the object's key.
std::string to_string() const
Convert to string for debugging.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
bool operator==(const map &bdae) const
comparison operator
std::shared_ptr< map > singular() const
Return the matching 'singular instance'.
void replay(void)
replay the object to create it in hardware
A QoS map determines how value from one source are translated to values of another source.
map(uint32_t id, const outputs_t &o)
A Database to store the unique 'singular' instances of a single object type.
const key_t id() const
Return the object's ID.
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.