|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_NAT_BINDING_CMDS_H__
17 #define __VOM_NAT_BINDING_CMDS_H__
23 #include <vapi/nat.api.vapi.hpp>
24 #include <vapi/nat66.api.vapi.hpp>
27 namespace nat_binding_cmds {
32 :
public rpc_cmd<HW::item<bool>, vapi::Nat44_interface_add_del_feature>
72 :
public rpc_cmd<HW::item<bool>, vapi::Nat44_interface_add_del_feature>
112 :
public rpc_cmd<HW::item<bool>, vapi::Nat44_interface_add_del_output_feature>
152 :
public rpc_cmd<HW::item<bool>, vapi::Nat44_interface_add_del_output_feature>
225 :
public dump_cmd<vapi::Nat44_interface_output_feature_dump>
260 :
public rpc_cmd<HW::item<bool>, vapi::Nat66_add_del_interface>
300 :
public rpc_cmd<HW::item<bool>, vapi::Nat66_add_del_interface>
The VPP Object Model (VOM) library.
bool operator==(const dump_output_44_cmd &i) const
Comparison operator - only used for UT.
bind_44_output_cmd(HW::item< bool > &item, const handle_t &itf, const nat_binding::zone_t &zone)
Constructor.
std::string to_string() const
convert to string format for debug purposes
A base class for all RPC commands to VPP.
A cmd class that unbinds a NAT configuration from an output interface.
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
A type declaration of an interface handle in VPP.
A functor class that binds a NAT configuration to an output interface.
bool operator==(const bind_44_output_cmd &i) const
Comparison operator - only used for UT.
HW::item< bool > & item()
return the HW item the command updates
unbind_44_output_cmd(HW::item< bool > &item, const handle_t &itf, const nat_binding::zone_t &zone)
Constructor.
bool operator==(const unbind_44_output_cmd &i) const
Comparison operator - only used for UT.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
A cmd class that Dumps all the nat_statics.
dump_output_44_cmd()
Constructor.
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.