FD.io VPP
v19.01.3-6-g70449b9b9
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... | |
static dependency_t | order () |
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 38 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 44 of file acl_binding.hpp.
|
inline |
Construct a new object matching the desried state.
Definition at line 49 of file acl_binding.hpp.
|
inline |
Copy Constructor.
Definition at line 61 of file acl_binding.hpp.
|
inline |
Destructor.
Definition at line 72 of file acl_binding.hpp.
|
inlinestatic |
Dump all bindings into the stream provided.
Definition at line 99 of file acl_binding.hpp.
|
inlinestatic |
|
inline |
Return the 'singular instance' of the L2 config that matches this object.
Definition at line 82 of file acl_binding.hpp.
|
inlinevirtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 87 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.