FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
VOM::arp_proxy_config Class Reference

A representation of LLDP client configuration on an interface. More...

+ Inheritance diagram for VOM::arp_proxy_config:
+ Collaboration diagram for VOM::arp_proxy_config:

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_configsingular () 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...
 

Detailed Description

A representation of LLDP client configuration on an interface.

Definition at line 29 of file arp_proxy_config.hpp.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

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 26 of file arp_proxy_config.cpp.

VOM::arp_proxy_config::arp_proxy_config ( const arp_proxy_config o)

Copy Constructor.

Definition at line 34 of file arp_proxy_config.cpp.

VOM::arp_proxy_config::~arp_proxy_config ( )

Destructor.

Definition at line 41 of file arp_proxy_config.cpp.

+ Here is the call graph for this function:

Member Function Documentation

void VOM::arp_proxy_config::dump ( std::ostream &  os)
static

Dump all LLDP configs into the stream provided.

Definition at line 60 of file arp_proxy_config.cpp.

+ Here is the call graph for this function:

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 98 of file arp_proxy_config.cpp.

+ Here is the call graph for this function:

std::string VOM::arp_proxy_config::to_string ( void  ) const
virtual

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 74 of file arp_proxy_config.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class OM
friend

Definition at line 119 of file arp_proxy_config.hpp.

It's the singular_db class that calls replay()

Definition at line 124 of file arp_proxy_config.hpp.


The documentation for this class was generated from the following files: