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 {
32 :
public rpc_cmd<HW::item<bool>, vapi::Acl_interface_set_etype_whitelist>
72 :
public rpc_cmd<HW::item<bool>, vapi::Acl_interface_set_etype_whitelist>
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.
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.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
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.
std::string to_string() const
convert to string format for debug purposes
A base class for VPP dump commands.
HW::item< bool > & item()
return the HW item the command updates