OpenSDN source code
|
#include <agent_uve_base.h>
Public Member Functions | |
AgentUveBase (Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl) | |
virtual | ~AgentUveBase () |
virtual void | Shutdown () |
uint64_t | bandwidth_intvl () const |
VnUveTableBase * | vn_uve_table () const |
VmUveTableBase * | vm_uve_table () const |
Agent * | agent () const |
VrouterUveEntryBase * | vrouter_uve_entry () const |
ProuterUveTable * | prouter_uve_table () const |
InterfaceUveTable * | interface_uve_table () const |
VrouterStatsCollector * | vrouter_stats_collector () const |
void | Init () |
virtual void | InitDone () |
virtual void | RegisterDBClients () |
uint8_t | ExpectedConnections (uint8_t &num_c_nodes, uint8_t &num_d_servers) |
uint32_t | default_interval () const |
uint32_t | incremental_interval () const |
void | BuildTagNamesFromList (const TagList &tl, UveTagData *info) const |
void | BuildTagIdsFromList (const TagList &tl, UveTagData *info) const |
Static Public Member Functions | |
static AgentUveBase * | GetInstance () |
Static Public Attributes | |
static const uint32_t | kUveCountPerTimer = 64 |
static const uint32_t | kDefaultInterval = (30 * 1000) |
static const uint32_t | kIncrementalInterval = (1000) |
static const uint64_t | kBandwidthInterval = (1000000) |
Protected Attributes | |
boost::scoped_ptr< VnUveTableBase > | vn_uve_table_ |
boost::scoped_ptr< VmUveTableBase > | vm_uve_table_ |
boost::scoped_ptr < VrouterUveEntryBase > | vrouter_uve_entry_ |
boost::scoped_ptr < ProuterUveTable > | prouter_uve_table_ |
boost::scoped_ptr < InterfaceUveTable > | interface_uve_table_ |
uint32_t | default_interval_ |
uint32_t | incremental_interval_ |
boost::scoped_ptr < VrouterStatsCollector > | vrouter_stats_collector_ |
Static Protected Attributes | |
static AgentUveBase * | singleton_ |
Private Member Functions | |
std::string | IntegerToHexString (uint32_t value) const |
void | VrouterAgentProcessState (const std::vector< process::ConnectionInfo > &c, process::ProcessState::type &state, std::string &message) |
void | UpdateMessage (const process::ConnectionInfo &info, std::string &message) |
bool | HasSelfConfiguration () const |
DISALLOW_COPY_AND_ASSIGN (AgentUveBase) | |
Private Attributes | |
Agent * | agent_ |
uint64_t | bandwidth_intvl_ |
process::ConnectionStateManager * | connection_state_manager_ |
Friends | |
class | UveTest |
Definition at line 59 of file agent_uve_base.h.
AgentUveBase::AgentUveBase | ( | Agent * | agent, |
uint64_t | intvl, | ||
uint32_t | default_intvl, | ||
uint32_t | incremental_intvl | ||
) |
Definition at line 44 of file agent_uve_base.cc.
|
virtual |
Definition at line 58 of file agent_uve_base.cc.
|
inline |
Definition at line 80 of file agent_uve_base.h.
|
inline |
Definition at line 77 of file agent_uve_base.h.
void AgentUveBase::BuildTagIdsFromList | ( | const TagList & | tl, |
UveTagData * | info | ||
) | const |
void AgentUveBase::BuildTagNamesFromList | ( | const TagList & | tl, |
UveTagData * | info | ||
) | const |
|
inline |
Definition at line 99 of file agent_uve_base.h.
|
private |
uint8_t AgentUveBase::ExpectedConnections | ( | uint8_t & | num_c_nodes, |
uint8_t & | num_d_servers | ||
) |
|
inlinestatic |
Definition at line 97 of file agent_uve_base.h.
|
private |
|
inline |
Definition at line 100 of file agent_uve_base.h.
void AgentUveBase::Init | ( | ) |
|
virtual |
Reimplemented in AgentUveStats.
Definition at line 334 of file agent_uve_base.cc.
|
private |
Definition at line 118 of file agent_uve_base.cc.
|
inline |
Definition at line 87 of file agent_uve_base.h.
|
inline |
Definition at line 84 of file agent_uve_base.h.
|
virtual |
Reimplemented in AgentUveStats.
Definition at line 326 of file agent_uve_base.cc.
|
virtual |
Reimplemented in AgentUveStats.
Definition at line 177 of file agent_uve_base.cc.
|
private |
Definition at line 227 of file agent_uve_base.cc.
|
inline |
Definition at line 79 of file agent_uve_base.h.
|
inline |
Definition at line 78 of file agent_uve_base.h.
|
inline |
Definition at line 90 of file agent_uve_base.h.
|
inline |
Definition at line 81 of file agent_uve_base.h.
|
private |
|
friend |
Definition at line 115 of file agent_uve_base.h.
|
private |
Definition at line 123 of file agent_uve_base.h.
|
private |
Definition at line 124 of file agent_uve_base.h.
|
private |
Definition at line 126 of file agent_uve_base.h.
|
protected |
Definition at line 109 of file agent_uve_base.h.
|
protected |
Definition at line 110 of file agent_uve_base.h.
|
protected |
Definition at line 108 of file agent_uve_base.h.
|
static |
Definition at line 70 of file agent_uve_base.h.
|
static |
Definition at line 64 of file agent_uve_base.h.
|
static |
Definition at line 68 of file agent_uve_base.h.
|
static |
Definition at line 62 of file agent_uve_base.h.
|
protected |
Definition at line 107 of file agent_uve_base.h.
|
staticprotected |
Definition at line 111 of file agent_uve_base.h.
|
protected |
Definition at line 105 of file agent_uve_base.h.
|
protected |
Definition at line 104 of file agent_uve_base.h.
|
protected |
Definition at line 129 of file agent_uve_base.h.
|
protected |
Definition at line 106 of file agent_uve_base.h.