FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
A binding between an ACL and an interface. More...
Public Types | |
typedef std::pair< direction_t, interface::key_t > | key_t |
The key for a binding is the direction and the interface. More... | |
Public Member Functions | |
binding (const direction_t &direction, const interface &itf, const LIST &acl) | |
Construct a new object matching the desried state. More... | |
binding (const binding &o) | |
Copy Constructor. More... | |
~binding () | |
Destructor. More... | |
std::shared_ptr< binding > | singular () const |
Return the 'singular instance' of the L2 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 bindings into the stream provided. More... | |
Friends | |
class | VOM::OM |
class | singular_db< key_t, 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 binding between an ACL and an interface.
A representation of the application of the ACL to the interface.
Definition at line 37 of file acl_binding.hpp.
typedef std::pair<direction_t, interface::key_t> VOM::ACL::binding< LIST >::key_t |
The key for a binding is the direction and the interface.
Definition at line 43 of file acl_binding.hpp.
|
inline |
Construct a new object matching the desried state.
Definition at line 48 of file acl_binding.hpp.
|
inline |
Copy Constructor.
Definition at line 60 of file acl_binding.hpp.
|
inline |
Destructor.
Definition at line 71 of file acl_binding.hpp.
|
inlinestatic |
Dump all bindings into the stream provided.
Definition at line 98 of file acl_binding.hpp.
|
inline |
Return the 'singular instance' of the L2 config that matches this object.
Definition at line 81 of file acl_binding.hpp.
|
inlinevirtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 86 of file acl_binding.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 162 of file acl_binding.hpp.
|
friend |
Definition at line 157 of file acl_binding.hpp.