FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
A representation of IP unnumbered configuration on an interface. More...
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_unnumbered > | singular () 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_unnumbered > | find (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... | |
A representation of IP unnumbered configuration on an interface.
Definition at line 30 of file ip_unnumbered.hpp.
The key type for ip_unnumbereds.
Definition at line 71 of file ip_unnumbered.hpp.
Construct a new object matching the desried state.
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.
|
static |
Dump all ip_unnumbereds into the stream provided.
Definition at line 60 of file ip_unnumbered.cpp.
|
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.
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 75 of file ip_unnumbered.cpp.
|
friend |
Definition at line 127 of file ip_unnumbered.hpp.
|
friend |
It's the singular_db class that calls replay.
Definition at line 132 of file ip_unnumbered.hpp.