OpenSDN source code
|
#include <cfg_mirror.h>
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 | |
AgentConfig * | agent_cfg_ |
MirrorCfgTree | mc_tree_ |
VnAclMap | vn_acl_map_ |
Definition at line 85 of file cfg_mirror.h.
Definition at line 88 of file cfg_mirror.h.
typedef std::map<MirrorCfgKey, MirrorCfgEntry *, MirrorCfgKeyCmp> MirrorCfgTable::MirrorCfgTree |
Definition at line 90 of file cfg_mirror.h.
typedef std::map<VnIdStr, AclIdInfo> MirrorCfgTable::VnAclMap |
Definition at line 91 of file cfg_mirror.h.
typedef std::string MirrorCfgTable::VnIdStr |
Definition at line 87 of file cfg_mirror.h.
|
inline |
Definition at line 93 of file cfg_mirror.h.
|
inline |
Definition at line 95 of file cfg_mirror.h.
const char * MirrorCfgTable::Add | ( | const MirrorCreateReq & | cfg | ) |
void MirrorCfgTable::Delete | ( | MirrorCfgKey & | key | ) |
|
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 | ||
) |
void MirrorCfgTable::Shutdown | ( | ) |
Definition at line 43 of file cfg_mirror.cc.
|
private |
|
private |
Definition at line 108 of file cfg_mirror.h.
|
private |
Definition at line 109 of file cfg_mirror.h.
|
private |
Definition at line 110 of file cfg_mirror.h.