FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
A cmd class that Dumps all the Vpp Interfaces. More...
Public Member Functions | |
vhost_dump_cmd () | |
Default Constructor. More... | |
rc_t | issue (connection &con) |
Issue the command to VPP/HW. More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
bool | operator== (const vhost_dump_cmd &i) const |
Comparison operator - only used for UT. More... | |
Public Member Functions inherited from VOM::dump_cmd< vapi::Sw_interface_vhost_user_dump > | |
dump_cmd () | |
Default Constructor. More... | |
dump_cmd (const dump_cmd &d)=default | |
virtual | ~dump_cmd () |
Destructor. More... | |
const_iterator | begin () |
Constant iterator to the start of the records retunred during the dump. More... | |
const_iterator | end () |
Constant iterator to the end of the records retunred during the dump. More... | |
rc_t | wait () |
Wait for the issue of the command to complete. More... | |
vapi_error_e | operator() (vapi::Sw_interface_vhost_user_dump &d) |
Call operator called when the dump is complete. More... | |
virtual void | retire (connection &con) |
Retire/cancel a long running command. More... | |
Public Member Functions inherited from VOM::cmd | |
cmd () | |
Default constructor. More... | |
virtual | ~cmd () |
Virtual destructor. More... | |
Additional Inherited Members | |
Public Types inherited from VOM::dump_cmd< vapi::Sw_interface_vhost_user_dump > | |
typedef vapi::Sw_interface_vhost_user_dump | msg_t |
typedef vapi::Sw_interface_vhost_user_dump::resp_type | record_t |
typedef vapi::Result_set< typename vapi::Sw_interface_vhost_user_dump::resp_type >::const_iterator | const_iterator |
Protected Member Functions inherited from VOM::dump_cmd< vapi::Sw_interface_vhost_user_dump > | |
void | succeeded () |
Dump commands should not be issued whilst the HW is disabled. More... | |
Protected Attributes inherited from VOM::dump_cmd< vapi::Sw_interface_vhost_user_dump > | |
std::promise< rc_t > | m_promise |
The underlying promise that implements the synchornous nature of the command issue. More... | |
std::unique_ptr< vapi::Sw_interface_vhost_user_dump > | m_dump |
The VAPI event registration. More... | |
A cmd class that Dumps all the Vpp Interfaces.
Definition at line 533 of file interface_cmds.hpp.
VOM::interface_cmds::vhost_dump_cmd::vhost_dump_cmd | ( | ) |
Default Constructor.
Definition at line 615 of file interface_cmds.cpp.
|
virtual |
Issue the command to VPP/HW.
Implements VOM::cmd.
Definition at line 626 of file interface_cmds.cpp.
bool VOM::interface_cmds::vhost_dump_cmd::operator== | ( | const vhost_dump_cmd & | i | ) | const |
Comparison operator - only used for UT.
Definition at line 620 of file interface_cmds.cpp.
|
virtual |
convert to string format for debug purposes
Implements VOM::cmd.
Definition at line 638 of file interface_cmds.cpp.