16 #ifndef __VOM_QOS_STORE_H__ 17 #define __VOM_QOS_STORE_H__ 39 typedef std::pair<interface::key_t, source_t>
key_t;
44 const key_t
key()
const;
54 std::shared_ptr<store>
singular()
const;
59 static std::shared_ptr<store>
find(
const key_t& k);
64 static void dump(std::ostream& os);
99 void show(std::ostream& os);
115 void update(
const store& obj);
120 static std::shared_ptr<store> find_or_add(
const store& temp);
146 std::shared_ptr<interface> m_itf;
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
const key_t key() const
Return the object's key.
std::shared_ptr< store > singular() const
Return the matching 'singular instance'.
std::pair< interface::key_t, source_t > key_t
static std::shared_ptr< store > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
store(const interface &i, const source_t &source, bits_t value)
A Database to store the unique 'singular' instances of a single object type.
void replay(void)
replay the object to create it in hardware
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 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)
bool operator==(const store &bdae) const
comparison operator
The VPP Object Model (VOM) library.
std::string to_string() const
Convert to string for debugging.