FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
A representation of bond interface binding. More...
Public Types | |
typedef std::string | key_t |
The KEY can be used to uniquely identify the Bond Binding. More... | |
typedef std::set< bond_member > | enslaved_itf_t |
The container type for enslaved itfs. More... | |
Public Member Functions | |
bond_group_binding (const bond_interface &itf, const enslaved_itf_t &mem) | |
Construct a new object matching the desried state. More... | |
bond_group_binding (const bond_group_binding &o) | |
Copy Constructor. More... | |
~bond_group_binding () | |
Destructor. More... | |
std::shared_ptr< bond_group_binding > | singular () const |
Return the 'singular' of the bond interface binding that matches this object. More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
const key_t | key () const |
get the key to this object More... | |
Static Public Member Functions | |
static void | dump (std::ostream &os) |
Dump all bond interface bindings into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< key_t, bond_group_binding > |
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 bond interface binding.
Definition at line 34 of file bond_group_binding.hpp.
typedef std::set<bond_member> VOM::bond_group_binding::enslaved_itf_t |
The container type for enslaved itfs.
Definition at line 47 of file bond_group_binding.hpp.
typedef std::string VOM::bond_group_binding::key_t |
The KEY can be used to uniquely identify the Bond Binding.
(other choices for keys, like the summation of the properties of the rules, are rather too cumbersome to use
Definition at line 42 of file bond_group_binding.hpp.
VOM::bond_group_binding::bond_group_binding | ( | const bond_interface & | itf, |
const enslaved_itf_t & | mem | ||
) |
Construct a new object matching the desried state.
Definition at line 30 of file bond_group_binding.cpp.
VOM::bond_group_binding::bond_group_binding | ( | const bond_group_binding & | o | ) |
Copy Constructor.
Definition at line 38 of file bond_group_binding.cpp.
VOM::bond_group_binding::~bond_group_binding | ( | ) |
Destructor.
Definition at line 45 of file bond_group_binding.cpp.
|
static |
Dump all bond interface bindings into the stream provided.
Definition at line 75 of file bond_group_binding.cpp.
const bond_group_binding::key_t VOM::bond_group_binding::key | ( | ) | const |
get the key to this object
Definition at line 54 of file bond_group_binding.cpp.
std::shared_ptr< bond_group_binding > VOM::bond_group_binding::singular | ( | ) | const |
Return the 'singular' of the bond interface binding that matches this object.
Definition at line 131 of file bond_group_binding.cpp.
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 95 of file bond_group_binding.cpp.
|
friend |
Definition at line 135 of file bond_group_binding.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 140 of file bond_group_binding.hpp.