FD.io VPP
v21.06-1-gbb7418cf9
Vector Packet Processing
|
A representation of LLDP client configuration on an interface. More...
Public Types | |
typedef std::pair< boost::asio::ip::address_v4, boost::asio::ip::address_v4 > | key_t |
Key type. More... | |
Public Member Functions | |
arp_proxy_config (const boost::asio::ip::address_v4 &low, const boost::asio::ip::address_v4 &high) | |
Construct a new object matching the desried state. More... | |
arp_proxy_config (const arp_proxy_config &o) | |
Copy Constructor. More... | |
~arp_proxy_config () | |
Destructor. More... | |
std::shared_ptr< arp_proxy_config > | singular () const |
Return the 'singular' of the LLDP config that matches this object. More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
Static Public Member Functions | |
static void | dump (std::ostream &os) |
Dump all LLDP configs into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< arp_proxy_config::key_t, arp_proxy_config > |
It's the singular_db class that calls replay() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::object_base | |
object_base ()=default | |
Constructable by derived classes only. More... | |
virtual | ~object_base ()=default |
Destructor. More... | |
A representation of LLDP client configuration on an interface.
Definition at line 29 of file arp_proxy_config.hpp.
typedef std::pair<boost::asio::ip::address_v4, boost::asio::ip::address_v4> VOM::arp_proxy_config::key_t |
Key type.
Definition at line 36 of file arp_proxy_config.hpp.
VOM::arp_proxy_config::arp_proxy_config | ( | const boost::asio::ip::address_v4 & | low, |
const boost::asio::ip::address_v4 & | high | ||
) |
Construct a new object matching the desried state.
Definition at line 27 of file arp_proxy_config.cpp.
VOM::arp_proxy_config::arp_proxy_config | ( | const arp_proxy_config & | o | ) |
Copy Constructor.
Definition at line 35 of file arp_proxy_config.cpp.
VOM::arp_proxy_config::~arp_proxy_config | ( | ) |
Destructor.
Definition at line 42 of file arp_proxy_config.cpp.
|
static |
Dump all LLDP configs into the stream provided.
Definition at line 61 of file arp_proxy_config.cpp.
std::shared_ptr< arp_proxy_config > VOM::arp_proxy_config::singular | ( | ) | const |
Return the 'singular' of the LLDP config that matches this object.
Definition at line 99 of file arp_proxy_config.cpp.
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 75 of file arp_proxy_config.cpp.
|
friend |
Definition at line 119 of file arp_proxy_config.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 124 of file arp_proxy_config.hpp.