|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_ACL_BINDING_CMDS_H__
17 #define __VOM_ACL_BINDING_CMDS_H__
23 #include <vapi/acl.api.vapi.hpp>
27 namespace binding_cmds {
31 template <
typename BIND>
64 return ((m_itf == other.m_itf) && (m_acl == m_acl));
87 template <
typename BIND>
120 return ((m_itf == other.m_itf) && (m_acl == m_acl));
143 template <
typename DUMP>
bind_cmd(HW::item< bool > &item, const direction_t &direction, const handle_t &itf, const handle_t &acl)
Constructor.
unbind_cmd< vapi::Acl_interface_add_del > l3_unbind_cmd
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const unbind_cmd &other) const
Comparison operator - only used for UT.
bind_cmd< vapi::Acl_interface_add_del > l3_bind_cmd
Typedef the L3 ACL binding commands.
The VPP Object Model (VOM) library.
A cmd class that Dumps all the ACLs.
dump_cmd()=default
Constructor.
A base class for all RPC commands to VPP.
unbind_cmd(HW::item< bool > &item, const direction_t &direction, const handle_t &itf, const handle_t &acl)
Constructor.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
bind_cmd< vapi::Macip_acl_interface_add_del > l2_bind_cmd
Typedef the L2 binding type.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
A command class that binds the ACL to the interface.
dump_cmd< vapi::Acl_interface_list_dump > l3_dump_cmd
std::string to_string() const
convert to string format for debug purposes
HW::item< bool > & item()
return the HW item the command updates
unbind_cmd< vapi::Macip_acl_interface_add_del > l2_unbind_cmd
A command class that binds the ACL to the interface.
dump_cmd< vapi::Macip_acl_interface_list_dump > l2_dump_cmd
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const bind_cmd &other) const
Comparison operator - only used for UT.