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

#include <flow_mgmt_key.h>

Inheritance diagram for BgpAsAServiceFlowMgmtKey:
Collaboration diagram for BgpAsAServiceFlowMgmtKey:

Public Member Functions

 BgpAsAServiceFlowMgmtKey (const boost::uuids::uuid &uuid, uint32_t source_port, uint8_t cn_index, HealthCheckInstanceBase *hc_instance, HealthCheckService *hc_service)
 
virtual ~BgpAsAServiceFlowMgmtKey ()
 
virtual FlowMgmtKeyClone ()
 
virtual bool UseDBEntry () const
 
virtual bool Compare (const FlowMgmtKey *rhs) const
 
const boost::uuids::uuid & uuid () const
 
uint32_t source_port () const
 
uint8_t cn_index () const
 
HealthCheckInstanceBasebgp_health_check_instance () const
 
void StartHealthCheck (Agent *agent, FlowEntry *flow, const boost::uuids::uuid &hc_uuid)
 
void StopHealthCheck (FlowEntry *flow)
 
- Public Member Functions inherited from FlowMgmtKey
 FlowMgmtKey (Type type, const DBEntry *db_entry)
 
virtual ~FlowMgmtKey ()
 
virtual void KeyToFlowRequest (FlowEvent *req)
 
bool IsLess (const FlowMgmtKey *rhs) const
 
FlowEvent::Event FreeDBEntryEvent () const
 
Type type () const
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpAsAServiceFlowMgmtKey)
 

Private Attributes

boost::uuids::uuid uuid_
 
uint32_t source_port_
 
uint8_t cn_index_
 
HealthCheckInstanceBasebgp_health_check_instance_
 
HealthCheckServicebgp_health_check_service_
 

Additional Inherited Members

- Public Types inherited from FlowMgmtKey
enum  Type {
  INVALID, INTERFACE, ACL, ACE_ID,
  VN, VM, INET4, INET6,
  BRIDGE, NH, VRF, BGPASASERVICE,
  END
}
 
- Protected Attributes inherited from FlowMgmtKey
Type type_
 
const DBEntrydb_entry_
 

Detailed Description

Definition at line 339 of file flow_mgmt_key.h.

Constructor & Destructor Documentation

BgpAsAServiceFlowMgmtKey::BgpAsAServiceFlowMgmtKey ( const boost::uuids::uuid uuid,
uint32_t  source_port,
uint8_t  cn_index,
HealthCheckInstanceBase hc_instance,
HealthCheckService hc_service 
)
inline

Definition at line 341 of file flow_mgmt_key.h.

virtual BgpAsAServiceFlowMgmtKey::~BgpAsAServiceFlowMgmtKey ( )
inlinevirtual

Definition at line 351 of file flow_mgmt_key.h.

Member Function Documentation

HealthCheckInstanceBase* BgpAsAServiceFlowMgmtKey::bgp_health_check_instance ( ) const
inline

Definition at line 375 of file flow_mgmt_key.h.

virtual FlowMgmtKey* BgpAsAServiceFlowMgmtKey::Clone ( )
inlinevirtual

Implements FlowMgmtKey.

Definition at line 353 of file flow_mgmt_key.h.

Here is the call graph for this function:

uint8_t BgpAsAServiceFlowMgmtKey::cn_index ( ) const
inline

Definition at line 373 of file flow_mgmt_key.h.

virtual bool BgpAsAServiceFlowMgmtKey::Compare ( const FlowMgmtKey rhs) const
inlinevirtual

Reimplemented from FlowMgmtKey.

Definition at line 361 of file flow_mgmt_key.h.

BgpAsAServiceFlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( BgpAsAServiceFlowMgmtKey  )
private
uint32_t BgpAsAServiceFlowMgmtKey::source_port ( ) const
inline

Definition at line 372 of file flow_mgmt_key.h.

void BgpAsAServiceFlowMgmtKey::StartHealthCheck ( Agent agent,
FlowEntry flow,
const boost::uuids::uuid hc_uuid 
)

Definition at line 37 of file flow_mgmt_key.cc.

Here is the call graph for this function:

void BgpAsAServiceFlowMgmtKey::StopHealthCheck ( FlowEntry flow)

Definition at line 61 of file flow_mgmt_key.cc.

Here is the call graph for this function:

virtual bool BgpAsAServiceFlowMgmtKey::UseDBEntry ( ) const
inlinevirtual

Reimplemented from FlowMgmtKey.

Definition at line 359 of file flow_mgmt_key.h.

const boost::uuids::uuid& BgpAsAServiceFlowMgmtKey::uuid ( ) const
inline

Definition at line 371 of file flow_mgmt_key.h.

Member Data Documentation

HealthCheckInstanceBase* BgpAsAServiceFlowMgmtKey::bgp_health_check_instance_
mutableprivate

Definition at line 389 of file flow_mgmt_key.h.

HealthCheckService* BgpAsAServiceFlowMgmtKey::bgp_health_check_service_
mutableprivate

Definition at line 390 of file flow_mgmt_key.h.

uint8_t BgpAsAServiceFlowMgmtKey::cn_index_
private

Definition at line 386 of file flow_mgmt_key.h.

uint32_t BgpAsAServiceFlowMgmtKey::source_port_
private

Definition at line 385 of file flow_mgmt_key.h.

boost::uuids::uuid BgpAsAServiceFlowMgmtKey::uuid_
private

Definition at line 384 of file flow_mgmt_key.h.


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