16 #ifndef __VOM_L2_VTR_CMDS_H__ 17 #define __VOM_L2_VTR_CMDS_H__ 22 #include <vapi/l2.api.vapi.hpp> 25 namespace l2_vtr_cmds {
30 vapi::L2_interface_vlan_tag_rewrite>
Error codes that VPP will return during a HW write.
bool operator==(const set_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
set_cmd(HW::item< l2_vtr::option_t > &item, const handle_t &itf, uint16_t tag)
Constructor.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
sll srl srl sll sra u16x4 i
std::string to_string() const
convert to string format for debug purposes
A type declaration of an interface handle in VPP.
A cmd class sets the VTR operation.
The VPP Object Model (VOM) library.
HW::item< l2_vtr::option_t > & item()
return the HW item the command updates