|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_LLDP_GLOBAL_H__
17 #define __VOM_LLDP_GLOBAL_H__
42 uint32_t tx_interval);
67 std::shared_ptr<lldp_global>
singular()
const;
77 static void dump(std::ostream& os);
82 static std::shared_ptr<lldp_global>
find(
const key_t& k);
102 void handle_replay();
107 void show(std::ostream& os);
128 static std::shared_ptr<lldp_global> find_or_add(
const lldp_global& temp);
159 uint32_t m_tx_interval;
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 ...
The interface to writing objects into VPP OM.
std::shared_ptr< lldp_global > singular() const
Return the 'singular' of the LLDP global that matches this object.
inspect command handler Handler
bool operator==(const lldp_global &l) const
Comparison operator.
Class definition for listeners to OM events.
std::string key_t
The key for the global conifugration is the 'system' namse.
static void dump(std::ostream &os)
Dump all LLDP globals into the stream provided.
A representation of LLDP global configuration.
const typedef 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
Get this objects key.
static std::shared_ptr< lldp_global > find(const key_t &k)
Find LLDP global config from its key.
A Database to store the unique 'singular' instances of a single object type.
void event_handler(void *tls_async)
A base class for all object_base in the VPP object_base-Model.
lldp_global(const std::string &system_name, uint32_t tx_hold, uint32_t tx_interval)
Construct a new object matching the desried state.
~lldp_global()
Destructor.
std::string to_string() const
convert to string format for debug purposes