5 #ifndef __AGENT_MIRROR_CFG_H__
6 #define __AGENT_MIRROR_CFG_H__
11 #include <agent_types.h>
13 class MirrorCfgDisplayResp;
90 typedef std::map<MirrorCfgKey, MirrorCfgEntry *, MirrorCfgKeyCmp>
MirrorCfgTree;
100 MirrorCfgDisplayResp &resp);
102 MirrorCfgVnInfoResp &resp);
105 const char *
Add(
const MirrorCreateReq &cfg);
147 typedef std::map<MirrorCfgKey, IntfMirrorCfgEntry *, MirrorCfgKeyCmp>
IntfMirrorCfgTree;
148 const char *
Add(
const IntfMirrorCreateReq &cfg);
154 IntfMirrorCfgDisplayResp &resp);
161 #endif // __AGENT_MIRROR_CFG_H__
void SetMirrorCfgVnSandeshData(std::string &vn_name, MirrorCfgVnInfoResp &resp)
const char * Add(const MirrorCreateReq &cfg)
IntfMirrorCfgTable(AgentConfig *cfg)
void SetMirrorCfgSandeshData(std::string &handle, MirrorCfgDisplayResp &resp)
IntfMirrorCfgTree intf_mc_tree_
std::string src_ip_prefix
boost::asio::ip::address IpAddress
DISALLOW_COPY_AND_ASSIGN(MirrorCfgTable)
MirrorCfgTable(AgentConfig *cfg)
void SetIntfMirrorCfgSandeshData(std::string &handle, IntfMirrorCfgDisplayResp &resp)
DISALLOW_COPY_AND_ASSIGN(IntfMirrorCfgTable)
boost::uuids::uuid intf_id
bool operator()(const MirrorCfgKey &lhs, const MirrorCfgKey &rhs) const
void Delete(MirrorCfgKey &key)
std::map< MirrorCfgKey, IntfMirrorCfgEntry *, MirrorCfgKeyCmp > IntfMirrorCfgTree
boost::uuids::uuid AclUuid
std::map< MirrorCfgKey, MirrorCfgEntry *, MirrorCfgKeyCmp > MirrorCfgTree
void Delete(MirrorCfgKey &key)
const char * UpdateAclEntry(AclUuid &id, bool create, MirrorCfgEntry *e, int ace_id)
std::map< VnIdStr, AclIdInfo > VnAclMap
std::string dst_ip_prefix
IntfMirrorCfgTable * CreateIntfMirrorCfgTable()
const char * Add(const IntfMirrorCreateReq &cfg)
MirrorDestination mirror_dest
const boost::uuids::uuid GetMirrorUuid(const std::string &vn_name) const
boost::uuids::uuid acl_id