16 #ifndef __VOM_L2_XCONNECT_CMDS_H__ 17 #define __VOM_L2_XCONNECT_CMDS_H__ 23 #include <vapi/l2.api.vapi.hpp> 24 #include <vapi/vpe.api.vapi.hpp> 27 namespace l2_xconnect_cmds {
33 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_set_l2_xconnect>
73 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_set_l2_xconnect>
A functor class that binds L2 configuration to an interface.
A cmd class that Dumps all the bridge domains.
Error codes that VPP will return during a HW write.
A cmd class that Unbinds L2 configuration from an interface.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
bind_cmd(HW::item< bool > &item, const handle_t &east_itf, const handle_t &west_itf)
Constructor.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
A base class for VPP dump commands.
HW::item< bool > & item()
return the HW item the command updates