5 #ifndef __AGENT_OPER_SECURITY_LOGGING_OBJECT_H
6 #define __AGENT_OPER_SECURITY_LOGGING_OBJECT_H
47 const std::vector<autogen::SecurityLoggingObjectRuleEntryType> &lst,
48 const int &rate,
const bool status,
const std::string &name):
52 std::vector<autogen::SecurityLoggingObjectRuleEntryType>
rules_;
72 bool IsEqual(
const std::vector<autogen::SecurityLoggingObjectRuleEntryType>
74 const std::vector<autogen::SecurityLoggingObjectRuleEntryType>
87 const std::vector<autogen::SecurityLoggingObjectRuleEntryType> &
rules()
92 const std::string&
name()
const {
101 std::vector<autogen::SecurityLoggingObjectRuleEntryType>
rules_;
115 const std::string &
name);
126 const std::string &context);
class boost::shared_ptr< AgentSandesh > AgentSandeshPtr
uint32_t GetRefCount() const
std::unique_ptr< DBRequestKey > KeyPtr
const std::string & name() const
virtual AgentSandeshPtr GetAgentSandesh(const AgentSandeshArguments *args, const std::string &context)
virtual bool IFNodeToUuid(IFMapNode *node, boost::uuids::uuid &u)
virtual bool OperDBOnChange(DBEntry *entry, const DBRequest *req)
SecurityLoggingObjectTable(Agent *agent, DB *db, const std::string &name)
virtual bool IFNodeToReq(IFMapNode *node, DBRequest &req, const boost::uuids::uuid &u)
virtual ~SecurityLoggingObjectTable()
virtual DBEntry * OperDBAdd(const DBRequest *req)
SecurityLoggingObjectData * BuildData(IFMapNode *node) const
static DBTableBase * CreateTable(Agent *agent, DB *db, const std::string &name)
bool ProcessConfig(IFMapNode *node, DBRequest &req, const boost::uuids::uuid &u)
virtual std::unique_ptr< DBEntry > AllocEntry(const DBRequestKey *k) const
virtual bool OperDBDelete(DBEntry *entry, const DBRequest *req)
DISALLOW_COPY_AND_ASSIGN(SecurityLoggingObjectTable)
const boost::uuids::uuid & uuid() const
virtual bool DBEntrySandesh(Sandesh *resp, std::string &name) const
std::vector< autogen::SecurityLoggingObjectRuleEntryType > rules_
virtual bool IsLess(const DBEntry &rhs) const
uint32_t GetRefCount() const
virtual ~SecurityLoggingObject()
bool IsEqual(const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &lhs, const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &rhs) const
SloRuleList firewall_policy_list_
SecurityLoggingObject(const boost::uuids::uuid &uuid)
KeyPtr GetDBRequestKey() const
SloRuleList firewall_rule_list_
SloRuleList & firewall_rule_list()
std::string ToString() const
virtual void SetKey(const DBRequestKey *key)
SloRuleList & firewall_policy_list()
DISALLOW_COPY_AND_ASSIGN(SecurityLoggingObject)
const std::vector< autogen::SecurityLoggingObjectRuleEntryType > & rules() const
const std::string & name() const
virtual bool Change(const DBRequest *req)
std::vector< SloRuleInfo > SloRuleList
const Agent * agent() const
std::vector< autogen::SecurityLoggingObjectRuleEntryType > rules_
SloRuleList firewall_rule_list_
SloRuleList firewall_policy_list_
SecurityLoggingObjectData(const Agent *agent, IFMapNode *node, const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &lst, const int &rate, const bool status, const std::string &name)
bool IsLess(const SecurityLoggingObjectKey &rhs) const
SecurityLoggingObjectKey(const boost::uuids::uuid &uuid)
SecurityLoggingObjectKey(const SecurityLoggingObjectKey &rhs)
SloRuleInfo(const boost::uuids::uuid &u, int rate)
bool operator==(const SloRuleInfo &rhs) const