FD.io VPP
v19.04.4-rc0-5-ge88582fac
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 39 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 45 of file acl_binding.hpp.
|
inline |
Construct a new object matching the desried state.
Definition at line 50 of file acl_binding.hpp.
|
inline |
Copy Constructor.
Definition at line 62 of file acl_binding.hpp.
|
inline |
Destructor.
Definition at line 73 of file acl_binding.hpp.
|
inlinestatic |
Dump all bindings into the stream provided.
Definition at line 100 of file acl_binding.hpp.
|
inlinestatic |
|
inline |
Return the 'singular instance' of the L2 config that matches this object.
Definition at line 83 of file acl_binding.hpp.
|
inlinevirtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 88 of file acl_binding.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 163 of file acl_binding.hpp.
|
friend |
Definition at line 158 of file acl_binding.hpp.