16 #ifndef __VOM_ACL_ETHERTYPE_CMDS_H__ 17 #define __VOM_ACL_ETHERTYPE_CMDS_H__ 23 #include <vapi/acl.api.vapi.hpp> 27 namespace acl_ethertype_cmds {
33 vapi::Acl_interface_set_etype_whitelist>
74 vapi::Acl_interface_set_etype_whitelist>
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A command class that binds the ethertype list to the interface.
A cmd class that Dumps all the acl ethertypes on given interface.
A representation of the connection to VPP.
HW::item< bool > & item()
return the HW item the command updates
A base class for all RPC commands to VPP.
A command class that unbinds the ethertype list to the interface.
std::multiset< ethertype_rule_t > ethertype_rules_t
The ethertype container.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A type declaration of an interface handle in VPP.
bind_cmd(HW::item< bool > &item, const handle_t &itf, const acl_ethertype::ethertype_rules_t &le)
Constructor.
The VPP Object Model (VOM) library.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
A base class for VPP dump commands.