|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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.
The VPP Object Model (VOM) library.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
A base class for all RPC commands to VPP.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
A cmd class that Dumps all the bridge domains.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
HW::item< bool > & item()
return the HW item the command updates
bind_cmd(HW::item< bool > &item, const handle_t &east_itf, const handle_t &west_itf)
Constructor.
unbind_cmd(HW::item< bool > &item, const handle_t &east_itf, const handle_t &west_itf)
Constructor.
rc_t issue(connection &con)
Issue the command to VPP/HW.
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Unbinds L2 configuration from an interface.