16 #ifndef __VOM_BOND_INTERFACE_CMDS_H__ 17 #define __VOM_BOND_INTERFACE_CMDS_H__ 24 #include <vapi/bond.api.vapi.hpp> 25 #include <vapi/interface.api.vapi.hpp> 28 namespace bond_interface_cmds {
37 const std::string& name,
A functor class that deletes a Tap interface.
Error codes that VPP will return during a HW write.
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
A bond interface load balance.
Type def of a L2 address as read from VPP.
A representation of the connection to VPP.
A cmd class that Dumps all the Vpp Interfaces.
HW::item< handle_t > & item()
return the HW item the command updates
A functor class that creates an interface.
virtual bool operator==(const create_cmd &o) const
Comparison operator - only used for UT.
create_cmd(HW::item< handle_t > &item, const std::string &name, const bond_interface::mode_t &mode, const bond_interface::lb_t &lb, const l2_address_t &l2_address)
Base class for intterface Delete commands.
A base class for interface Create commands.
The VPP Object Model (VOM) library.
A base class for VPP dump commands.