16 #ifndef __VOM_L2_BINDING_CMDS_H__ 17 #define __VOM_L2_BINDING_CMDS_H__ 22 #include <vapi/l2.api.vapi.hpp> 23 #include <vapi/vpe.api.vapi.hpp> 26 namespace l2_binding_cmds {
32 :
public rpc_cmd<HW::item<bool>, rc_t, vapi::Sw_interface_set_l2_bridge>
75 :
public rpc_cmd<HW::item<bool>, rc_t, vapi::Sw_interface_set_l2_bridge>
122 vapi::L2_interface_vlan_tag_rewrite>
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A functor class that binds L2 configuration to an interface.
A representation of the connection to VPP.
bind_cmd(HW::item< bool > &item, const handle_t &itf, uint32_t bd, bool is_bvi)
Constructor.
HW::item< bool > & item()
return the HW item the command updates
A base class for all RPC commands to VPP.
A type declaration of an interface handle in VPP.
A cmd class that Unbinds L2 configuration from an interface.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
The VPP Object Model (VOM) library.
A cmd class sets the VTR operation.
rc_t issue(connection &con)
Issue the command to VPP/HW.