|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_LLDP_BINDING_H__
17 #define __VOM_LLDP_BINDING_H__
66 std::shared_ptr<lldp_binding>
singular()
const;
76 static void dump(std::ostream& os);
81 static std::shared_ptr<lldp_binding>
find(
const key_t& k);
101 void handle_replay();
106 void show(std::ostream& os);
127 static std::shared_ptr<lldp_binding> find_or_add(
const lldp_binding& temp);
154 const std::shared_ptr<interface> m_itf;
const key_t & key() const
Return this object's key.
static void dump(std::ostream &os)
Dump all LLDP bindings into the stream provided.
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 ...
static std::shared_ptr< lldp_binding > find(const key_t &k)
Find or add LLDP binding based on its key.
std::string to_string() const
convert to string format for debug purposes
A representation of LLDP client configuration on an interface.
The interface to writing objects into VPP OM.
inspect command handler Handler
std::shared_ptr< lldp_binding > singular() const
Return the 'singular' of the LLDP binding that matches this object.
Class definition for listeners to OM events.
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.
~lldp_binding()
Destructor.
interface::key_t key_t
Typedef for the key of a LLDP binding.
lldp_binding(const interface &itf, const std::string &hostname)
Construct a new object matching the desried state.
A Database to store the unique 'singular' instances of a single object type.
std::string key_t
The key for interface's key.
void event_handler(void *tls_async)
bool operator==(const lldp_binding &b) const
Comparison operator.
A base class for all object_base in the VPP object_base-Model.