5 #ifndef SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_OVSDB_SANDESH_H_
6 #define SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_OVSDB_SANDESH_H_
42 std::string
Description()
const {
return "OvsdbSandeshTask"; }
79 uint32_t port,
const std::string &name);
99 uint32_t port,
const std::string &name,
122 uint32_t port,
const std::string &physical_port);
142 uint32_t port,
const std::string &logical_switch,
143 const std::string &mac);
165 uint32_t port,
const std::string &ls,
166 const std::string &mac);
188 uint32_t port,
const std::string &ls,
189 const std::string &mac);
211 uint32_t port,
const std::string &ls);
232 const std::string &vn_uuid);
256 const std::string &vn_uuid,
257 const std::string &mac);
FilterResp Filter(KSyncEntry *entry)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
virtual ~HaStaleDevVnSandeshTask()
DISALLOW_COPY_AND_ASSIGN(HaStaleDevVnSandeshTask)
void EncodeArgs(AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
SandeshResponse * Alloc()
HaStaleDevVnSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
virtual bool NoSessionObject()
HaStaleL2RouteSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
FilterResp Filter(KSyncEntry *entry)
DISALLOW_COPY_AND_ASSIGN(HaStaleL2RouteSandeshTask)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
virtual ~HaStaleL2RouteSandeshTask()
virtual bool NoSessionObject()
SandeshResponse * Alloc()
void EncodeArgs(AgentSandeshArguments &args)
LogicalSwitchSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
DISALLOW_COPY_AND_ASSIGN(LogicalSwitchSandeshTask)
FilterResp Filter(KSyncEntry *entry)
virtual ~LogicalSwitchSandeshTask()
SandeshResponse * Alloc()
void EncodeArgs(AgentSandeshArguments &args)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
virtual ~MulticastMacLocalSandeshTask()
void EncodeArgs(AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
MulticastMacLocalSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
FilterResp Filter(KSyncEntry *entry)
SandeshResponse * Alloc()
DISALLOW_COPY_AND_ASSIGN(MulticastMacLocalSandeshTask)
void EncodeSendPageReq(uint32_t display_count, uint32_t table_size)
static const uint8_t kEntriesPerSandesh
virtual TableType GetTableType()=0
virtual void UpdateResp(KSyncEntry *entry, SandeshResponse *resp)=0
virtual bool NoSessionObject()
virtual ~OvsdbSandeshTask()
virtual FilterResp Filter(KSyncEntry *entry)
void SendResponse(bool more)
DISALLOW_COPY_AND_ASSIGN(OvsdbSandeshTask)
OvsdbSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
virtual SandeshResponse * Alloc()=0
std::string Description() const
static const uint8_t kEntriesPerPage
std::string EncodeFirstPage()
virtual void EncodeArgs(AgentSandeshArguments &args)
@ HA_STALE_L2_ROUTE_TABLE
virtual KSyncObject * GetObject(OvsdbClientSession *session)=0
bool Run()
Code to execute. Returns true if task is completed. Return false to reschedule the task.
DISALLOW_COPY_AND_ASSIGN(OvsdbVrfSandeshTask)
KSyncObject * GetObject(OvsdbClientSession *session)
OvsdbVrfSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
std::string logical_switch_
void EncodeArgs(AgentSandeshArguments &args)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
virtual ~OvsdbVrfSandeshTask()
FilterResp Filter(KSyncEntry *entry)
SandeshResponse * Alloc()
void EncodeArgs(AgentSandeshArguments &args)
FilterResp Filter(KSyncEntry *entry)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
DISALLOW_COPY_AND_ASSIGN(PhysicalPortSandeshTask)
SandeshResponse * Alloc()
virtual ~PhysicalPortSandeshTask()
PhysicalPortSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
FilterResp Filter(KSyncEntry *entry)
DISALLOW_COPY_AND_ASSIGN(UnicastMacLocalSandeshTask)
void EncodeArgs(AgentSandeshArguments &args)
UnicastMacLocalSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
SandeshResponse * Alloc()
KSyncObject * GetObject(OvsdbClientSession *session)
virtual ~UnicastMacLocalSandeshTask()
UnicastMacRemoteSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
DISALLOW_COPY_AND_ASSIGN(UnicastMacRemoteSandeshTask)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
SandeshResponse * Alloc()
FilterResp Filter(KSyncEntry *entry)
virtual ~UnicastMacRemoteSandeshTask()
void EncodeArgs(AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
std::string physical_port_
VlanPortBindingSandeshTask(std::string resp_ctx, AgentSandeshArguments &args)
KSyncObject * GetObject(OvsdbClientSession *session)
void UpdateResp(KSyncEntry *kentry, SandeshResponse *resp)
FilterResp Filter(KSyncEntry *entry)
SandeshResponse * Alloc()
DISALLOW_COPY_AND_ASSIGN(VlanPortBindingSandeshTask)
void EncodeArgs(AgentSandeshArguments &args)
virtual ~VlanPortBindingSandeshTask()
Task is a wrapper over tbb::task to support policies.