16 #ifndef __VOM_BOND_GROUP_BINDING_H__ 17 #define __VOM_BOND_GROUP_BINDING_H__ 68 std::shared_ptr<bond_group_binding>
singular()
const;
78 const key_t
key()
const;
83 static void dump(std::ostream& os);
93 virtual ~event_handler() =
default;
103 void handle_replay();
108 void show(std::ostream& os);
119 static event_handler m_evh;
129 static std::shared_ptr<bond_group_binding> find_or_add(
157 std::shared_ptr<bond_interface> m_itf;
162 const enslaved_itf_t m_mem_itfs;
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
A representation of bond interface binding.
bond_group_binding(const bond_interface &itf, const enslaved_itf_t &mem)
Construct a new object matching the desried state.
A Database to store the unique 'singular' instances of a single object type.
std::string to_string() const
convert to string format for debug purposes
static void dump(std::ostream &os)
Dump all bond interface bindings into the stream provided.
std::set< bond_member > enslaved_itf_t
The container type for enslaved itfs.
Class definition for listeners to OM events.
inspect command handler Handler
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.
const key_t key() const
get the key to this object
std::shared_ptr< bond_group_binding > singular() const
Return the 'singular' of the bond interface binding that matches this object.
The VPP Object Model (VOM) library.
~bond_group_binding()
Destructor.
std::string key_t
The KEY can be used to uniquely identify the Bond Binding.