OpenSDN source code
BgpAsAServiceFlowMgmtTree Class Reference

#include <flow_mgmt_tree.h>

Inheritance diagram for BgpAsAServiceFlowMgmtTree:
Collaboration diagram for BgpAsAServiceFlowMgmtTree:

Public Member Functions

 BgpAsAServiceFlowMgmtTree (FlowMgmtManager *mgr, int index)
 
virtual ~BgpAsAServiceFlowMgmtTree ()
 
void ExtractKeys (FlowEntry *flow, FlowMgmtKeyTree *tree)
 
FlowMgmtEntry * Allocate (const FlowMgmtKey *key)
 
bool BgpAsAServiceHealthCheckUpdate (Agent *agent, BgpAsAServiceFlowMgmtKey &key, BgpAsAServiceFlowMgmtRequest *req)
 
bool BgpAsAServiceDelete (BgpAsAServiceFlowMgmtKey &key, const FlowMgmtRequest *req)
 
void DeleteAll ()
 
virtual void FreeNotify (FlowMgmtKey *key, uint32_t gen_id)
 
- Public Member Functions inherited from FlowMgmtTree
 FlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~FlowMgmtTree ()
 
virtual bool Add (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual bool Delete (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual void InsertEntry (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
virtual void RemoveEntry (Tree::iterator it)
 
virtual bool OperEntryAdd (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryChange (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryDelete (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool RetryDelete (FlowMgmtKey *key)
 
FlowMgmtEntry * Locate (FlowMgmtKey *key)
 
FlowMgmtEntry * Find (FlowMgmtKey *key)
 
FlowMgmtKey * LowerBound (FlowMgmtKey *key)
 
Tree & tree ()
 
FlowMgmtManager * mgr () const
 

Static Public Member Functions

static int GetCNIndex (const FlowEntry *flow)
 
- Static Public Member Functions inherited from FlowMgmtTree
static bool AddFlowMgmtKey (FlowMgmtKeyTree *tree, FlowMgmtKey *key)
 

Static Public Attributes

static const int kInvalidCnIndex = -1
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpAsAServiceFlowMgmtTree)
 

Private Attributes

int index_
 

Additional Inherited Members

- Public Types inherited from FlowMgmtTree
typedef std::map< FlowMgmtKey *, FlowMgmtEntry *, FlowMgmtKeyCmp > Tree
 
- Protected Member Functions inherited from FlowMgmtTree
bool TryDelete (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
- Protected Attributes inherited from FlowMgmtTree
Tree tree_
 
FlowMgmtManager * mgr_
 

Detailed Description

Definition at line 267 of file flow_mgmt_tree.h.

Constructor & Destructor Documentation

◆ BgpAsAServiceFlowMgmtTree()

BgpAsAServiceFlowMgmtTree::BgpAsAServiceFlowMgmtTree ( FlowMgmtManager *  mgr,
int  index 
)
inline

Definition at line 270 of file flow_mgmt_tree.h.

◆ ~BgpAsAServiceFlowMgmtTree()

virtual BgpAsAServiceFlowMgmtTree::~BgpAsAServiceFlowMgmtTree ( )
inlinevirtual

Definition at line 272 of file flow_mgmt_tree.h.

Member Function Documentation

◆ Allocate()

FlowMgmtEntry * BgpAsAServiceFlowMgmtTree::Allocate ( const FlowMgmtKey *  key)
virtual

Implements FlowMgmtTree.

Definition at line 176 of file flow_mgmt_tree.cc.

◆ BgpAsAServiceDelete()

bool BgpAsAServiceFlowMgmtTree::BgpAsAServiceDelete ( BgpAsAServiceFlowMgmtKey &  key,
const FlowMgmtRequest *  req 
)

Definition at line 194 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ BgpAsAServiceHealthCheckUpdate()

bool BgpAsAServiceFlowMgmtTree::BgpAsAServiceHealthCheckUpdate ( Agent *  agent,
BgpAsAServiceFlowMgmtKey &  key,
BgpAsAServiceFlowMgmtRequest *  req 
)

Definition at line 181 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ DeleteAll()

void BgpAsAServiceFlowMgmtTree::DeleteAll ( )

Definition at line 205 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

BgpAsAServiceFlowMgmtTree::DISALLOW_COPY_AND_ASSIGN ( BgpAsAServiceFlowMgmtTree  )
private

◆ ExtractKeys()

void BgpAsAServiceFlowMgmtTree::ExtractKeys ( FlowEntry *  flow,
FlowMgmtKeyTree *  tree 
)
virtual

Implements FlowMgmtTree.

Definition at line 160 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ FreeNotify()

void BgpAsAServiceFlowMgmtTree::FreeNotify ( FlowMgmtKey *  key,
uint32_t  gen_id 
)
virtual

Reimplemented from FlowMgmtTree.

Definition at line 156 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ GetCNIndex()

int BgpAsAServiceFlowMgmtTree::GetCNIndex ( const FlowEntry *  flow)
static

Definition at line 215 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

Member Data Documentation

◆ index_

int BgpAsAServiceFlowMgmtTree::index_
private

Definition at line 288 of file flow_mgmt_tree.h.

◆ kInvalidCnIndex

const int BgpAsAServiceFlowMgmtTree::kInvalidCnIndex = -1
static

Definition at line 269 of file flow_mgmt_tree.h.


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