FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
VOM::route::ip_route_cmds::dump_v6_cmd Class Reference

A cmd class that Dumps ipv6 fib. More...

+ Inheritance diagram for VOM::route::ip_route_cmds::dump_v6_cmd:
+ Collaboration diagram for VOM::route::ip_route_cmds::dump_v6_cmd:

Public Member Functions

 dump_v6_cmd ()
 Constructor. More...
 
 dump_v6_cmd (const dump_cmd &d)
 
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 dump_v6_cmd &i) const
 Comparison operator - only used for UT. More...
 
- Public Member Functions inherited from VOM::dump_cmd< vapi::Ip6_fib_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::Ip6_fib_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::Ip6_fib_dump >
typedef vapi::Ip6_fib_dump msg_t
 
typedef vapi::Ip6_fib_dump::resp_type record_t
 
typedef vapi::Result_set< typename vapi::Ip6_fib_dump::resp_type >::const_iterator const_iterator
 
- Protected Member Functions inherited from VOM::dump_cmd< vapi::Ip6_fib_dump >
void succeeded ()
 Dump commands should not be issued whilst the HW is disabled. More...
 
- Protected Attributes inherited from VOM::dump_cmd< vapi::Ip6_fib_dump >
std::promise< rc_tm_promise
 The underlying promise that implements the synchornous nature of the command issue. More...
 
std::unique_ptr< vapi::Ip6_fib_dump > m_dump
 The VAPI event registration. More...
 

Detailed Description

A cmd class that Dumps ipv6 fib.

Definition at line 131 of file route_cmds.hpp.

Constructor & Destructor Documentation

VOM::route::ip_route_cmds::dump_v6_cmd::dump_v6_cmd ( )

Constructor.

Definition at line 189 of file route_cmds.cpp.

VOM::route::ip_route_cmds::dump_v6_cmd::dump_v6_cmd ( const dump_cmd d)

Member Function Documentation

rc_t VOM::route::ip_route_cmds::dump_v6_cmd::issue ( connection con)
virtual

Issue the command to VPP/HW.

Implements VOM::cmd.

Definition at line 200 of file route_cmds.cpp.

+ Here is the call graph for this function:

bool VOM::route::ip_route_cmds::dump_v6_cmd::operator== ( const dump_v6_cmd i) const

Comparison operator - only used for UT.

Definition at line 194 of file route_cmds.cpp.

std::string VOM::route::ip_route_cmds::dump_v6_cmd::to_string ( void  ) const
virtual

convert to string format for debug purposes

Implements VOM::cmd.

Definition at line 212 of file route_cmds.cpp.


The documentation for this class was generated from the following files: