FD.io VPP  v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
VOM::ACL::binding_cmds::dump_cmd< DUMP > Class Template Reference

A cmd class that Dumps all the ACLs. More...

+ Inheritance diagram for VOM::ACL::binding_cmds::dump_cmd< DUMP >:
+ Collaboration diagram for VOM::ACL::binding_cmds::dump_cmd< DUMP >:

Public Member Functions

 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...
 
- Public Member Functions inherited from VOM::dump_cmd< 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() (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< DUMP >
typedef DUMP msg_t
 
typedef DUMP::resp_type record_t
 
typedef vapi::Result_set< typename DUMP::resp_type >::const_iterator const_iterator
 
- Protected Member Functions inherited from VOM::dump_cmd< DUMP >
void succeeded ()
 Dump commands should not be issued whilst the HW is disabled. More...
 
- Protected Attributes inherited from VOM::dump_cmd< DUMP >
std::promise< rc_tm_promise
 The underlying promise that implements the synchornous nature of the command issue. More...
 
std::unique_ptr< DUMPm_dump
 The VAPI event registration. More...
 

Detailed Description

template<typename DUMP>
class VOM::ACL::binding_cmds::dump_cmd< DUMP >

A cmd class that Dumps all the ACLs.

Definition at line 144 of file acl_binding_cmds.hpp.

Constructor & Destructor Documentation

template<typename DUMP >
VOM::ACL::binding_cmds::dump_cmd< DUMP >::dump_cmd ( )
default

Constructor.

Member Function Documentation

rc_t VOM::ACL::binding_cmds::l2_dump_cmd::issue ( connection con)
virtual

Issue the command to VPP/HW.

Implements VOM::cmd.

Definition at line 81 of file acl_binding_cmds.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string VOM::ACL::binding_cmds::l2_dump_cmd::to_string ( void  ) const
virtual

convert to string format for debug purposes

Implements VOM::cmd.

Definition at line 97 of file acl_binding_cmds.cpp.

+ Here is the call graph for this function:


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