OpenSDN source code
FlowMgmtDbClient Class Reference

#include <flow_mgmt_dbclient.h>

Collaboration diagram for FlowMgmtDbClient:

Classes

struct  AclFlowHandlerState
 
struct  FlowMgmtState
 
struct  NhFlowHandlerState
 
struct  RouteFlowHandlerState
 
struct  VmIntfFlowHandlerState
 
struct  VnFlowHandlerState
 
struct  VrfFlowHandlerState
 

Public Member Functions

 FlowMgmtDbClient (Agent *agent, FlowMgmtManager *mgr)
 
virtual ~FlowMgmtDbClient ()
 
void Init ()
 
void Shutdown ()
 
bool FreeDBState (const DBEntry *entry, uint32_t gen_id)
 
void FreeVrfState (VrfEntry *vrf, uint32_t gen_id)
 

Private Member Functions

void AddEvent (const DBEntry *entry, FlowMgmtState *state)
 
void DeleteEvent (const DBEntry *entry, FlowMgmtState *state)
 
void DeleteAllFlow (const DBEntry *entry, FlowMgmtState *state)
 
void ChangeEvent (const DBEntry *entry, FlowMgmtState *state)
 
void RouteNHChangeEvent (const DBEntry *entry, FlowMgmtState *state)
 
void FreeInterfaceState (Interface *intf, uint32_t gen_id)
 
void InterfaceNotify (DBTablePartBase *part, DBEntryBase *e)
 
void FreeVnState (VnEntry *vn, uint32_t gen_id)
 
void VnNotify (DBTablePartBase *part, DBEntryBase *e)
 
void FreeAclState (AclDBEntry *acl, uint32_t gen_id)
 
void AclNotify (DBTablePartBase *part, DBEntryBase *e)
 
void FreeNhState (NextHop *nh, uint32_t gen_id)
 
void NhNotify (DBTablePartBase *part, DBEntryBase *e)
 
void VrfNotify (DBTablePartBase *part, DBEntryBase *e)
 
void TraceMsg (AgentRoute *entry, const AgentPath *path, const SecurityGroupList &sg_list, bool deleted)
 
void FreeRouteState (AgentRoute *route, uint32_t gen_id)
 
void RouteNotify (VrfFlowHandlerState *vrf_state, Agent::RouteTableType type, DBTablePartBase *partition, DBEntryBase *e)
 
bool HandleTrackingIpChange (const AgentRoute *rt, RouteFlowHandlerState *state)
 
 DISALLOW_COPY_AND_ASSIGN (FlowMgmtDbClient)
 

Private Attributes

Agentagent_
 
FlowMgmtManagermgr_
 
DBTableBase::ListenerId acl_listener_id_
 
DBTableBase::ListenerId interface_listener_id_
 
DBTableBase::ListenerId vn_listener_id_
 
DBTableBase::ListenerId vm_listener_id_
 
DBTableBase::ListenerId vrf_listener_id_
 
DBTableBase::ListenerId nh_listener_id_
 

Friends

class FlowMgmtRouteTest
 

Detailed Description

Definition at line 13 of file flow_mgmt_dbclient.h.

Constructor & Destructor Documentation

◆ FlowMgmtDbClient()

FlowMgmtDbClient::FlowMgmtDbClient ( Agent agent,
FlowMgmtManager mgr 
)

Definition at line 34 of file flow_mgmt_dbclient.cc.

◆ ~FlowMgmtDbClient()

FlowMgmtDbClient::~FlowMgmtDbClient ( )
virtual

Definition at line 45 of file flow_mgmt_dbclient.cc.

Member Function Documentation

◆ AclNotify()

void FlowMgmtDbClient::AclNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 294 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ AddEvent()

void FlowMgmtDbClient::AddEvent ( const DBEntry entry,
FlowMgmtState state 
)
private

Definition at line 48 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ ChangeEvent()

void FlowMgmtDbClient::ChangeEvent ( const DBEntry entry,
FlowMgmtState state 
)
private

Definition at line 63 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ DeleteAllFlow()

void FlowMgmtDbClient::DeleteAllFlow ( const DBEntry entry,
FlowMgmtState state 
)
private

Definition at line 58 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ DeleteEvent()

void FlowMgmtDbClient::DeleteEvent ( const DBEntry entry,
FlowMgmtState state 
)
private

Definition at line 52 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

FlowMgmtDbClient::DISALLOW_COPY_AND_ASSIGN ( FlowMgmtDbClient  )
private

◆ FreeAclState()

void FlowMgmtDbClient::FreeAclState ( AclDBEntry acl,
uint32_t  gen_id 
)
private

Definition at line 284 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeDBState()

bool FlowMgmtDbClient::FreeDBState ( const DBEntry entry,
uint32_t  gen_id 
)

Definition at line 762 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeInterfaceState()

void FlowMgmtDbClient::FreeInterfaceState ( Interface intf,
uint32_t  gen_id 
)
private

Definition at line 93 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeNhState()

void FlowMgmtDbClient::FreeNhState ( NextHop nh,
uint32_t  gen_id 
)
private

Definition at line 317 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeRouteState()

void FlowMgmtDbClient::FreeRouteState ( AgentRoute route,
uint32_t  gen_id 
)
private

Definition at line 553 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeVnState()

void FlowMgmtDbClient::FreeVnState ( VnEntry vn,
uint32_t  gen_id 
)
private

Definition at line 208 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ FreeVrfState()

void FlowMgmtDbClient::FreeVrfState ( VrfEntry vrf,
uint32_t  gen_id 
)

Definition at line 384 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ HandleTrackingIpChange()

bool FlowMgmtDbClient::HandleTrackingIpChange ( const AgentRoute rt,
RouteFlowHandlerState state 
)
private

Definition at line 583 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ Init()

void FlowMgmtDbClient::Init ( )

Definition at line 7 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ InterfaceNotify()

void FlowMgmtDbClient::InterfaceNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 107 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ NhNotify()

void FlowMgmtDbClient::NhNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 327 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ RouteNHChangeEvent()

void FlowMgmtDbClient::RouteNHChangeEvent ( const DBEntry entry,
FlowMgmtState state 
)
private

Definition at line 67 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ RouteNotify()

void FlowMgmtDbClient::RouteNotify ( VrfFlowHandlerState vrf_state,
Agent::RouteTableType  type,
DBTablePartBase partition,
DBEntryBase e 
)
private

Definition at line 639 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ Shutdown()

void FlowMgmtDbClient::Shutdown ( )

Definition at line 25 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ TraceMsg()

void FlowMgmtDbClient::TraceMsg ( AgentRoute entry,
const AgentPath path,
const SecurityGroupList sg_list,
bool  deleted 
)
private

Definition at line 520 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ VnNotify()

void FlowMgmtDbClient::VnNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 218 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

◆ VrfNotify()

void FlowMgmtDbClient::VrfNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 496 of file flow_mgmt_dbclient.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ FlowMgmtRouteTest

friend class FlowMgmtRouteTest
friend

Definition at line 120 of file flow_mgmt_dbclient.h.

Member Data Documentation

◆ acl_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::acl_listener_id_
private

Definition at line 151 of file flow_mgmt_dbclient.h.

◆ agent_

Agent* FlowMgmtDbClient::agent_
private

Definition at line 148 of file flow_mgmt_dbclient.h.

◆ interface_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::interface_listener_id_
private

Definition at line 152 of file flow_mgmt_dbclient.h.

◆ mgr_

FlowMgmtManager* FlowMgmtDbClient::mgr_
private

Definition at line 149 of file flow_mgmt_dbclient.h.

◆ nh_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::nh_listener_id_
private

Definition at line 156 of file flow_mgmt_dbclient.h.

◆ vm_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::vm_listener_id_
private

Definition at line 154 of file flow_mgmt_dbclient.h.

◆ vn_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::vn_listener_id_
private

Definition at line 153 of file flow_mgmt_dbclient.h.

◆ vrf_listener_id_

DBTableBase::ListenerId FlowMgmtDbClient::vrf_listener_id_
private

Definition at line 155 of file flow_mgmt_dbclient.h.


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