FD.io VPP  v21.10.1-2-g0a485f517
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

◆ key_t

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

◆ arp_proxy_config() [1/2]

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.

◆ arp_proxy_config() [2/2]

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

Copy Constructor.

Definition at line 35 of file arp_proxy_config.cpp.

◆ ~arp_proxy_config()

VOM::arp_proxy_config::~arp_proxy_config ( )

Destructor.

Definition at line 42 of file arp_proxy_config.cpp.

Member Function Documentation

◆ dump()

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

Dump all LLDP configs into the stream provided.

Definition at line 61 of file arp_proxy_config.cpp.

+ Here is the call graph for this function:

◆ singular()

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.

◆ to_string()

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

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 75 of file arp_proxy_config.cpp.

Friends And Related Function Documentation

◆ OM

friend class OM
friend

Definition at line 119 of file arp_proxy_config.hpp.

◆ singular_db< arp_proxy_config::key_t, arp_proxy_config >

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: