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);
SecurityLoggingObjectKey(const SecurityLoggingObjectKey &rhs)
virtual bool IFNodeToReq(IFMapNode *node, DBRequest &req, const boost::uuids::uuid &u)
virtual bool OperDBDelete(DBEntry *entry, const DBRequest *req)
virtual AgentSandeshPtr GetAgentSandesh(const AgentSandeshArguments *args, const std::string &context)
uint32_t GetRefCount() const
bool operator==(const SloRuleInfo &rhs) const
virtual bool Change(const DBRequest *req)
SecurityLoggingObjectTable(Agent *agent, DB *db, const std::string &name)
SecurityLoggingObjectData(const Agent *agent, IFMapNode *node, const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &lst, const int &rate, const bool status, const std::string &name)
SloRuleList firewall_rule_list_
SloRuleList firewall_rule_list_
DISALLOW_COPY_AND_ASSIGN(SecurityLoggingObjectTable)
virtual ~SecurityLoggingObject()
std::vector< SloRuleInfo > SloRuleList
virtual DBEntry * OperDBAdd(const DBRequest *req)
virtual std::unique_ptr< DBEntry > AllocEntry(const DBRequestKey *k) const
virtual ~SecurityLoggingObjectTable()
std::unique_ptr< DBRequestKey > KeyPtr
bool IsEqual(const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &lhs, const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &rhs) const
SecurityLoggingObjectData * BuildData(IFMapNode *node) const
KeyPtr GetDBRequestKey() const
SloRuleList & firewall_policy_list()
const std::vector< autogen::SecurityLoggingObjectRuleEntryType > & rules() const
SloRuleList & firewall_rule_list()
SloRuleList firewall_policy_list_
std::vector< autogen::SecurityLoggingObjectRuleEntryType > rules_
SecurityLoggingObjectKey(const boost::uuids::uuid &uuid)
class boost::shared_ptr< AgentSandesh > AgentSandeshPtr
const std::string & name() const
virtual bool IFNodeToUuid(IFMapNode *node, boost::uuids::uuid &u)
virtual bool DBEntrySandesh(Sandesh *resp, std::string &name) const
SecurityLoggingObject(const boost::uuids::uuid &uuid)
const boost::uuids::uuid & uuid() const
bool ProcessConfig(IFMapNode *node, DBRequest &req, const boost::uuids::uuid &u)
std::string ToString() const
const Agent * agent() const
virtual bool IsLess(const DBEntry &rhs) const
uint32_t GetRefCount() const
virtual bool OperDBOnChange(DBEntry *entry, const DBRequest *req)
bool IsLess(const SecurityLoggingObjectKey &rhs) const
DISALLOW_COPY_AND_ASSIGN(SecurityLoggingObject)
const std::string & name() const
std::vector< autogen::SecurityLoggingObjectRuleEntryType > rules_
static DBTableBase * CreateTable(Agent *agent, DB *db, const std::string &name)
SloRuleInfo(const boost::uuids::uuid &u, int rate)
SloRuleList firewall_policy_list_
virtual void SetKey(const DBRequestKey *key)