|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_EXT_ITF_CMDS_H__
17 #define __VOM_GBP_EXT_ITF_CMDS_H__
22 #include <vapi/gbp.api.vapi.hpp>
25 namespace gbp_ext_itf_cmds {
58 const uint32_t m_bd_id;
59 const uint32_t m_rd_id;
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
create_cmd(HW::item< bool > &item, const handle_t &itf, uint32_t bd_id, uint32_t rd_id)
Constructor.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A command class that creates or updates the GBP ext_itf.
A representation of the connection to VPP.
dump_cmd()=default
Constructor.
sll srl srl sll sra u16x4 i
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
A cmd class that deletes a GBP ext_itf.
HW::item< bool > & item()
return the HW item the command updates
delete_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
A cmd class that Dumps all the GBP ext_itfs.
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.