16 #ifndef __VOM_QOS_MARK_H__ 17 #define __VOM_QOS_MARK_H__ 40 typedef std::pair<interface::key_t, source_t>
key_t;
45 const key_t
key()
const;
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;
const 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 mark &bdae) const
comparison operator
mark(const interface &i, const map &m, const source_t &source)
const key_t key() const
Return the object's key.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
A Database to store the unique 'singular' instances of a single object type.
std::string to_string() const
Convert to string for debugging.
sll srl srl sll sra u16x4 i
A representation of an interface in VPP.
Class definition for listeners to OM events.
inspect command handler Handler
The Source of the QoS classification (i.e.
void event_handler(void *tls_async)
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.
A QoS map determines how value from one source are translated to values of another source...
A base class for all object_base in the VPP object_base-Model.
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::shared_ptr< mark > singular() const
Return the matching 'singular instance'.
The VPP Object Model (VOM) library.
static std::shared_ptr< mark > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
The marking of packets with QoS bits as they egress an interface.
void replay(void)
replay the object to create it in hardware