16 #ifndef __VOM_INTERFACE_SPAN_CMDS_H__ 17 #define __VOM_INTERFACE_SPAN_CMDS_H__ 23 #include <vapi/span.api.vapi.hpp> 26 namespace interface_span_cmds {
32 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_span_enable_disable>
76 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_span_enable_disable>
Error codes that VPP will return during a HW write.
A command class that configures the interface span.
A cmd class that Unconfigs interface span.
bool operator==(const config_cmd &i) const
Comparison operator - only used for UT.
A representation of the connection to VPP.
config_cmd(HW::item< bool > &item, const handle_t &itf_from, const handle_t &itf_to, const interface_span::state_t &state)
Constructor.
A base class for all RPC commands to VPP.
A cmd class that Dumps all the interface spans.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
vl_api_dhcp_client_state_t state
std::string to_string() const
convert to string format for debug purposes
A base class for VPP dump commands.
The state of the interface - rx/tx or both to be mirrored.
HW::item< bool > & item()
return the HW item the command updates