|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_IGMP_BINDING_H__
17 #define __VOM_IGMP_BINDING_H__
67 std::shared_ptr<igmp_binding>
singular()
const;
77 std::shared_ptr<interface>
itf()
const;
82 static void dump(std::ostream& os);
87 static std::shared_ptr<igmp_binding>
find(
const key_t& k);
107 void handle_replay();
112 void show(std::ostream& os);
133 static std::shared_ptr<igmp_binding> find_or_add(
const igmp_binding& temp);
160 const std::shared_ptr<interface> m_itf;
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 ...
std::string to_string() const
convert to string format for debug purposes
The interface to writing objects into VPP OM.
inspect command handler Handler
Class definition for listeners to OM events.
const key_t key() const
Get the object's key.
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.
~igmp_binding()
Destructor.
A representation of IGMP binding on an interface.
A Database to store the unique 'singular' instances of a single object type.
std::shared_ptr< igmp_binding > singular() const
Return the 'singular' of the IGMP binding that matches this object.
static std::shared_ptr< igmp_binding > find(const key_t &k)
Find a listen from its key.
static void dump(std::ostream &os)
Dump all IGMP bindings into the stream provided.
interface::key_t key_t
A binding is tied to a given interface, hence its key is that of the interface.
std::string key_t
The key for interface's key.
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.
igmp_binding(const interface &itf)
Construct a new object matching the desried state.
std::shared_ptr< interface > itf() const
Return the matching'singular' of the interface.
bool operator==(const igmp_binding &l) const
Equal operator.