OpenSDN source code
|
#include <agent_sandesh.h>
Public Member Functions | |
AgentSandesh (const std::string &context, const std::string &name) | |
AgentSandesh (const std::string &context) | |
virtual | ~AgentSandesh () |
virtual bool | Filter (const DBEntryBase *entry) |
virtual bool | FilterToArgs (AgentSandeshArguments *args) |
std::string | context () const |
void | DoSandeshInternal (AgentSandeshPtr sandesh, int start, int count) |
void | MakeSandeshPageReq (PageReqData *req, DBTable *table, int first, int last, int end, int count, int page_size) |
Static Public Member Functions | |
static void | DoSandesh (AgentSandeshPtr sandesh, int start, int count) |
static void | DoSandesh (AgentSandeshPtr sandesh) |
Static Public Attributes | |
static const uint8_t | entries_per_sandesh = 100 |
static const uint16_t | kEntriesPerPage = 100 |
Protected Attributes | |
std::string | name_ |
SandeshResponse * | resp_ |
Private Member Functions | |
bool | EntrySandesh (DBEntryBase *entry, int first, int last) |
void | SandeshDone (AgentSandeshPtr ptr, int first, int page_size, DBTable::DBTableWalkRef walk_ref, DBTableBase *partition) |
void | SetResp () |
virtual DBTable * | AgentGetTable ()=0 |
virtual void | Alloc ()=0 |
virtual bool | UpdateResp (DBEntryBase *entry) |
DISALLOW_COPY_AND_ASSIGN (AgentSandesh) | |
Private Attributes | |
int | count_ |
int | total_entries_ |
std::string | context_ |
DBTableWalker::WalkId | walkid_ |
Definition at line 88 of file agent_sandesh.h.
|
inline |
Definition at line 92 of file agent_sandesh.h.
|
inline |
Definition at line 96 of file agent_sandesh.h.
|
inlinevirtual |
Definition at line 101 of file agent_sandesh.h.
|
privatepure virtual |
Implemented in AgentMulticastPolicySandesh, AgentCryptTunnelSandesh, AgentSecurityLoggingObjectSandesh, TagSandesh, AgentPolicySetSandesh, BridgeDomainSandesh, QosQueueSandesh, ForwardingClassSandesh, AgentQosConfigSandesh, AgentHealthCheckSandesh, AgentLoadBalancerV2Sandesh, AgentLoadBalancerSandesh, AgentServiceInstanceSandesh, AgentVxLanSandesh, AgentVrfAssignSandesh, AgentMirrorSandesh, AgentAclSandesh, AgentInet6UcRtSandesh, AgentEvpnRtSandesh, AgentBridgeRtSandesh, AgentLayer2RtSandesh, AgentInet4McRtSandesh, AgentInet4MplsUcRtSandesh, AgentInet4UcRtSandesh, AgentPhysicalDeviceVnSandesh, AgentVrfSandesh, DeviceSandesh, AgentMplsSandesh, AgentNhSandesh, AgentIntfSandesh, AgentVmSandesh, AgentSgSandesh, and AgentVnSandesh.
|
privatepure virtual |
Implemented in AgentMulticastPolicySandesh, AgentCryptTunnelSandesh, AgentSecurityLoggingObjectSandesh, TagSandesh, AgentPolicySetSandesh, BridgeDomainSandesh, QosQueueSandesh, ForwardingClassSandesh, AgentQosConfigSandesh, AgentHealthCheckSandesh, AgentLoadBalancerV2Sandesh, AgentLoadBalancerSandesh, AgentServiceInstanceSandesh, AgentVxLanSandesh, AgentVrfAssignSandesh, AgentMirrorSandesh, AgentAclSandesh, AgentInet6UcRtSandesh, AgentEvpnRtSandesh, AgentBridgeRtSandesh, AgentLayer2RtSandesh, AgentInet4McRtSandesh, AgentInet4MplsUcRtSandesh, AgentInet4UcRtSandesh, AgentPhysicalDeviceVnSandesh, AgentVrfSandesh, DeviceSandesh, AgentMplsSandesh, AgentNhSandesh, AgentIntfSandesh, AgentVmSandesh, AgentSgSandesh, and AgentVnSandesh.
|
inline |
Definition at line 111 of file agent_sandesh.h.
|
private |
|
static |
Definition at line 987 of file agent_sandesh.cc.
|
static |
void AgentSandesh::DoSandeshInternal | ( | AgentSandeshPtr | sandesh, |
int | start, | ||
int | count | ||
) |
|
private |
|
inlinevirtual |
Reimplemented in AgentCryptTunnelSandesh, TagSandesh, AgentPolicySetSandesh, BridgeDomainSandesh, QosQueueSandesh, ForwardingClassSandesh, AgentQosConfigSandesh, AgentHealthCheckSandesh, AgentVxLanSandesh, AgentMirrorSandesh, AgentPhysicalDeviceVnSandesh, AgentMplsSandesh, AgentNhSandesh, AgentIntfSandesh, and AgentVnSandesh.
Definition at line 104 of file agent_sandesh.h.
|
inlinevirtual |
Reimplemented in AgentCryptTunnelSandesh, TagSandesh, AgentPolicySetSandesh, BridgeDomainSandesh, QosQueueSandesh, ForwardingClassSandesh, AgentQosConfigSandesh, AgentHealthCheckSandesh, AgentVxLanSandesh, AgentMirrorSandesh, AgentPhysicalDeviceVnSandesh, AgentMplsSandesh, AgentNhSandesh, AgentIntfSandesh, and AgentVnSandesh.
Definition at line 107 of file agent_sandesh.h.
void AgentSandesh::MakeSandeshPageReq | ( | PageReqData * | req, |
DBTable * | table, | ||
int | first, | ||
int | last, | ||
int | end, | ||
int | count, | ||
int | page_size | ||
) |
|
private |
|
private |
|
privatevirtual |
Reimplemented in AgentMulticastPolicySandesh, AgentCryptTunnelSandesh, AgentPolicySetSandesh, AgentAclSandesh, AgentInet6UcRtSandesh, AgentEvpnRtSandesh, AgentBridgeRtSandesh, AgentLayer2RtSandesh, AgentInet4McRtSandesh, AgentInet4MplsUcRtSandesh, and AgentInet4UcRtSandesh.
Definition at line 1000 of file agent_sandesh.cc.
|
private |
Definition at line 134 of file agent_sandesh.h.
|
private |
Definition at line 132 of file agent_sandesh.h.
|
static |
Definition at line 90 of file agent_sandesh.h.
|
static |
Definition at line 91 of file agent_sandesh.h.
|
protected |
Definition at line 120 of file agent_sandesh.h.
|
protected |
Definition at line 121 of file agent_sandesh.h.
|
private |
Definition at line 133 of file agent_sandesh.h.
|
private |
Definition at line 135 of file agent_sandesh.h.