FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
VOM::ip_unnumbered Class Reference

A representation of IP unnumbered configuration on an interface. More...

+ Inheritance diagram for VOM::ip_unnumbered:
+ Collaboration diagram for VOM::ip_unnumbered:

Public Types

typedef interface::key_t key_t
 The key type for ip_unnumbereds. More...
 

Public Member Functions

 ip_unnumbered (const interface &itf, const interface &l3_itf)
 Construct a new object matching the desried state. More...
 
 ip_unnumbered (const ip_unnumbered &o)
 Copy Constructor. More...
 
 ~ip_unnumbered ()
 Destructor. More...
 
std::shared_ptr< ip_unnumberedsingular () const
 Return the 'singular instance' of the L3-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 ip_unnumbereds into the stream provided. More...
 
static std::shared_ptr< ip_unnumberedfind (const interface &i)
 Find an singular instance in the DB for the interface passed. More...
 

Friends

class OM
 
class singular_db< key_t, ip_unnumbered >
 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 IP unnumbered configuration on an interface.

Definition at line 30 of file ip_unnumbered.hpp.

Member Typedef Documentation

The key type for ip_unnumbereds.

Definition at line 71 of file ip_unnumbered.hpp.

Constructor & Destructor Documentation

VOM::ip_unnumbered::ip_unnumbered ( const interface itf,
const interface l3_itf 
)

Construct a new object matching the desried state.

Parameters
itf- The interface with no IP address
l3_itf- The interface that has the IP address we wish to share.

Definition at line 28 of file ip_unnumbered.cpp.

VOM::ip_unnumbered::ip_unnumbered ( const ip_unnumbered o)

Copy Constructor.

Definition at line 34 of file ip_unnumbered.cpp.

VOM::ip_unnumbered::~ip_unnumbered ( )

Destructor.

Definition at line 41 of file ip_unnumbered.cpp.

+ Here is the call graph for this function:

Member Function Documentation

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

Dump all ip_unnumbereds into the stream provided.

Definition at line 60 of file ip_unnumbered.cpp.

+ Here is the call graph for this function:

static std::shared_ptr<ip_unnumbered> VOM::ip_unnumbered::find ( const interface i)
static

Find an singular instance in the DB for the interface passed.

std::shared_ptr< ip_unnumbered > VOM::ip_unnumbered::singular ( ) const

Return the 'singular instance' of the L3-Config that matches this object.

Definition at line 100 of file ip_unnumbered.cpp.

+ Here is the call graph for this function:

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

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 75 of file ip_unnumbered.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class OM
friend

Definition at line 127 of file ip_unnumbered.hpp.

friend class singular_db< key_t, ip_unnumbered >
friend

It's the singular_db class that calls replay.

Definition at line 132 of file ip_unnumbered.hpp.


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