OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpAsAServiceFlowMgmtRequest Class Reference

#include <flow_mgmt_request.h>

Inheritance diagram for BgpAsAServiceFlowMgmtRequest:
Collaboration diagram for BgpAsAServiceFlowMgmtRequest:

Public Types

enum  Type { VMI, CONTROLLER, HEALTH_CHECK_ADD, HEALTH_CHECK_DEL }
 
- Public Types inherited from FlowMgmtRequest
enum  Event {
  INVALID, ADD_FLOW, DELETE_FLOW, UPDATE_FLOW,
  ADD_DBENTRY, CHANGE_DBENTRY, DELETE_DBENTRY, RETRY_DELETE_VRF,
  DELETE_BGP_AAS_FLOWS, UPDATE_FLOW_STATS, IMPLICIT_ROUTE_DELETE, DELETE_LAYER2_FLOW,
  DUMMY
}
 

Public Member Functions

 BgpAsAServiceFlowMgmtRequest (uint8_t index)
 
 BgpAsAServiceFlowMgmtRequest (const boost::uuids::uuid &vm_uuid, uint32_t source_port)
 
 BgpAsAServiceFlowMgmtRequest (const boost::uuids::uuid &vm_uuid, uint32_t source_port, const boost::uuids::uuid &hc_uuid, Type type)
 
virtual ~BgpAsAServiceFlowMgmtRequest ()
 
BgpAsAServiceFlowMgmtRequest::Type type () const
 
const boost::uuids::uuidvm_uuid () const
 
uint32_t source_port () const
 
uint8_t index () const
 
const boost::uuids::uuidhealth_check_uuid () const
 
- Public Member Functions inherited from FlowMgmtRequest
 FlowMgmtRequest (Event event, FlowEntry *flow)
 
 FlowMgmtRequest (Event event, FlowEntry *flow, const RevFlowDepParams &params)
 
 FlowMgmtRequest (Event event, FlowEntry *flow, uint32_t bytes, uint32_t packets, uint32_t oflow_bytes, const boost::uuids::uuid &u)
 
 FlowMgmtRequest (Event event, const DBEntry *db_entry, uint32_t gen_id)
 
 FlowMgmtRequest (Event event)
 
virtual ~FlowMgmtRequest ()
 
FlowEvent::Event GetResponseEvent () const
 
Event event () const
 
FlowEntryPtrflow ()
 
void set_flow (FlowEntry *flow)
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 
uint32_t vrf_id () const
 
uint32_t gen_id () const
 
uint32_t bytes () const
 
uint32_t packets () const
 
uint32_t oflow_bytes () const
 
const RevFlowDepParamsparams () const
 
void set_params (const RevFlowDepParams &params)
 
boost::uuids::uuid flow_uuid () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpAsAServiceFlowMgmtRequest)
 

Private Attributes

BgpAsAServiceFlowMgmtRequest::Type type_
 
boost::uuids::uuid vm_uuid_
 
uint32_t source_port_
 
uint8_t index_
 
boost::uuids::uuid health_check_uuid_
 

Detailed Description

Definition at line 145 of file flow_mgmt_request.h.

Member Enumeration Documentation

Enumerator
VMI 
CONTROLLER 
HEALTH_CHECK_ADD 
HEALTH_CHECK_DEL 

Definition at line 147 of file flow_mgmt_request.h.

Constructor & Destructor Documentation

BgpAsAServiceFlowMgmtRequest::BgpAsAServiceFlowMgmtRequest ( uint8_t  index)
inline

Definition at line 154 of file flow_mgmt_request.h.

BgpAsAServiceFlowMgmtRequest::BgpAsAServiceFlowMgmtRequest ( const boost::uuids::uuid vm_uuid,
uint32_t  source_port 
)
inline

Definition at line 158 of file flow_mgmt_request.h.

BgpAsAServiceFlowMgmtRequest::BgpAsAServiceFlowMgmtRequest ( const boost::uuids::uuid vm_uuid,
uint32_t  source_port,
const boost::uuids::uuid hc_uuid,
Type  type 
)
inline

Definition at line 163 of file flow_mgmt_request.h.

virtual BgpAsAServiceFlowMgmtRequest::~BgpAsAServiceFlowMgmtRequest ( )
inlinevirtual

Definition at line 170 of file flow_mgmt_request.h.

Member Function Documentation

BgpAsAServiceFlowMgmtRequest::DISALLOW_COPY_AND_ASSIGN ( BgpAsAServiceFlowMgmtRequest  )
private
const boost::uuids::uuid& BgpAsAServiceFlowMgmtRequest::health_check_uuid ( ) const
inline

Definition at line 175 of file flow_mgmt_request.h.

uint8_t BgpAsAServiceFlowMgmtRequest::index ( ) const
inline

Definition at line 174 of file flow_mgmt_request.h.

uint32_t BgpAsAServiceFlowMgmtRequest::source_port ( ) const
inline

Definition at line 173 of file flow_mgmt_request.h.

BgpAsAServiceFlowMgmtRequest::Type BgpAsAServiceFlowMgmtRequest::type ( ) const
inline

Definition at line 171 of file flow_mgmt_request.h.

const boost::uuids::uuid& BgpAsAServiceFlowMgmtRequest::vm_uuid ( ) const
inline

Definition at line 172 of file flow_mgmt_request.h.

Member Data Documentation

boost::uuids::uuid BgpAsAServiceFlowMgmtRequest::health_check_uuid_
private

Definition at line 184 of file flow_mgmt_request.h.

uint8_t BgpAsAServiceFlowMgmtRequest::index_
private

Definition at line 183 of file flow_mgmt_request.h.

uint32_t BgpAsAServiceFlowMgmtRequest::source_port_
private

Definition at line 182 of file flow_mgmt_request.h.

BgpAsAServiceFlowMgmtRequest::Type BgpAsAServiceFlowMgmtRequest::type_
private

Definition at line 180 of file flow_mgmt_request.h.

boost::uuids::uuid BgpAsAServiceFlowMgmtRequest::vm_uuid_
private

Definition at line 181 of file flow_mgmt_request.h.


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