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

#include <cfg_mirror.h>

Collaboration diagram for MirrorCfgTable:

Public Types

typedef std::string VnIdStr
 
typedef boost::uuids::uuid AclUuid
 
typedef std::map< MirrorCfgKey,
MirrorCfgEntry
*, MirrorCfgKeyCmp
MirrorCfgTree
 
typedef std::map< VnIdStr,
AclIdInfo
VnAclMap
 

Public Member Functions

 MirrorCfgTable (AgentConfig *cfg)
 
 ~MirrorCfgTable ()
 
void Shutdown ()
 
void Init ()
 
void SetMirrorCfgSandeshData (std::string &handle, MirrorCfgDisplayResp &resp)
 
void SetMirrorCfgVnSandeshData (std::string &vn_name, MirrorCfgVnInfoResp &resp)
 
const boost::uuids::uuid GetMirrorUuid (const std::string &vn_name) const
 
const char * Add (const MirrorCreateReq &cfg)
 
void Delete (MirrorCfgKey &key)
 

Private Member Functions

const char * UpdateAclEntry (AclUuid &id, bool create, MirrorCfgEntry *e, int ace_id)
 
 DISALLOW_COPY_AND_ASSIGN (MirrorCfgTable)
 

Private Attributes

AgentConfigagent_cfg_
 
MirrorCfgTree mc_tree_
 
VnAclMap vn_acl_map_
 

Detailed Description

Definition at line 85 of file cfg_mirror.h.

Member Typedef Documentation

Definition at line 88 of file cfg_mirror.h.

Definition at line 90 of file cfg_mirror.h.

Definition at line 91 of file cfg_mirror.h.

typedef std::string MirrorCfgTable::VnIdStr

Definition at line 87 of file cfg_mirror.h.

Constructor & Destructor Documentation

MirrorCfgTable::MirrorCfgTable ( AgentConfig cfg)
inline

Definition at line 93 of file cfg_mirror.h.

MirrorCfgTable::~MirrorCfgTable ( )
inline

Definition at line 95 of file cfg_mirror.h.

Member Function Documentation

const char * MirrorCfgTable::Add ( const MirrorCreateReq &  cfg)

Definition at line 50 of file cfg_mirror.cc.

Here is the call graph for this function:

void MirrorCfgTable::Delete ( MirrorCfgKey key)

Definition at line 279 of file cfg_mirror.cc.

Here is the call graph for this function:

MirrorCfgTable::DISALLOW_COPY_AND_ASSIGN ( MirrorCfgTable  )
private
const boost::uuids::uuid MirrorCfgTable::GetMirrorUuid ( const std::string &  vn_name) const

Definition at line 335 of file cfg_mirror.cc.

void MirrorCfgTable::Init ( )

Definition at line 46 of file cfg_mirror.cc.

void MirrorCfgTable::SetMirrorCfgSandeshData ( std::string &  handle,
MirrorCfgDisplayResp &  resp 
)

Definition at line 345 of file cfg_mirror.cc.

void MirrorCfgTable::SetMirrorCfgVnSandeshData ( std::string &  vn_name,
MirrorCfgVnInfoResp &  resp 
)

Definition at line 378 of file cfg_mirror.cc.

Here is the call graph for this function:

void MirrorCfgTable::Shutdown ( )

Definition at line 43 of file cfg_mirror.cc.

const char * MirrorCfgTable::UpdateAclEntry ( AclUuid id,
bool  create,
MirrorCfgEntry e,
int  ace_id 
)
private

Definition at line 196 of file cfg_mirror.cc.

Here is the call graph for this function:

Member Data Documentation

AgentConfig* MirrorCfgTable::agent_cfg_
private

Definition at line 108 of file cfg_mirror.h.

MirrorCfgTree MirrorCfgTable::mc_tree_
private

Definition at line 109 of file cfg_mirror.h.

VnAclMap MirrorCfgTable::vn_acl_map_
private

Definition at line 110 of file cfg_mirror.h.


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