|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_QOS_MARK_H__
17 #define __VOM_QOS_MARK_H__
40 typedef std::pair<interface::key_t, source_t>
key_t;
55 std::shared_ptr<mark>
singular()
const;
60 static std::shared_ptr<mark>
find(
const key_t& k);
65 static void dump(std::ostream& os);
100 void show(std::ostream& os);
116 void update(
const mark& obj);
121 static std::shared_ptr<mark> find_or_add(
const mark& temp);
147 std::shared_ptr<interface> m_itf;
152 std::shared_ptr<map> m_map;
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 ...
void replay(void)
replay the object to create it in hardware
mark(const interface &i, const map &m, const source_t &source)
The interface to writing objects into VPP OM.
inspect command handler Handler
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
bool operator==(const mark &bdae) const
comparison operator
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
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
const key_t key() const
Return the object's key.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
std::pair< interface::key_t, source_t > key_t
std::string to_string() const
Convert to string for debugging.
std::shared_ptr< mark > singular() const
Return the matching 'singular instance'.
A QoS map determines how value from one source are translated to values of another source.
The marking of packets with QoS bits as they egress an interface.
A Database to store the unique 'singular' instances of a single object type.
static std::shared_ptr< mark > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
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.