OpenSDN source code
|
#include <vm_uve_table.h>
Public Member Functions | |
VmUveTable (Agent *agent, uint32_t default_intvl) | |
virtual | ~VmUveTable () |
void | UpdateBitmap (const VmEntry *vm, uint8_t proto, uint16_t sport, uint16_t dport) |
void | EnqueueVmStatData (VmStatData *data) |
bool | Process (VmStatData *vm_stat_data) |
void | SendVmStats (void) |
virtual void | DispatchVmStatsMsg (const VirtualMachineStats &uve) |
![]() | |
VmUveTableBase (Agent *agent, uint32_t default_intvl) | |
virtual | ~VmUveTableBase () |
void | RegisterDBClients () |
void | Shutdown (void) |
virtual void | DispatchVmMsg (const UveVirtualMachineAgent &uve) |
bool | TimerExpiry () |
Protected Member Functions | |
virtual void | VmStatCollectionStart (VmUveVmState *state, const VmEntry *vm) |
virtual void | VmStatCollectionStop (VmUveVmState *state) |
![]() | |
VmUveEntryBase * | UveEntryFromVm (const boost::uuids::uuid &u) |
Private Member Functions | |
virtual VmUveEntryPtr | Allocate (const VmEntry *vm) |
void | SendVmStatsMsg (const boost::uuids::uuid &u) |
virtual void | SendVmDeleteMsg (const std::string &vm_config_name) |
DISALLOW_COPY_AND_ASSIGN (VmUveTable) | |
Private Attributes | |
boost::scoped_ptr< WorkQueue < VmStatData * > > | event_queue_ |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < VmUveEntryBase > | VmUveEntryPtr |
typedef std::map< const boost::uuids::uuid, VmUveEntryPtr > | UveVmMap |
typedef std::pair< const boost::uuids::uuid, VmUveEntryPtr > | UveVmPair |
![]() | |
UveVmMap | uve_vm_map_ |
Agent * | agent_ |
tbb::mutex | uve_vm_map_mutex_ |
Definition at line 14 of file vm_uve_table.h.
VmUveTable::VmUveTable | ( | Agent * | agent, |
uint32_t | default_intvl | ||
) |
|
virtual |
Definition at line 20 of file vm_uve_table.cc.
|
privatevirtual |
Reimplemented from VmUveTableBase.
Definition at line 33 of file vm_uve_table.cc.
|
private |
|
virtual |
Definition at line 92 of file vm_uve_table.cc.
void VmUveTable::EnqueueVmStatData | ( | VmStatData * | data | ) |
Definition at line 78 of file vm_uve_table.cc.
bool VmUveTable::Process | ( | VmStatData * | vm_stat_data | ) |
|
privatevirtual |
Reimplemented from VmUveTableBase.
Definition at line 104 of file vm_uve_table.cc.
void VmUveTable::SendVmStats | ( | void | ) |
|
private |
void VmUveTable::UpdateBitmap | ( | const VmEntry * | vm, |
uint8_t | proto, | ||
uint16_t | sport, | ||
uint16_t | dport | ||
) |
|
protectedvirtual |
Reimplemented from VmUveTableBase.
Definition at line 56 of file vm_uve_table.cc.
|
protectedvirtual |
Reimplemented from VmUveTableBase.
Definition at line 71 of file vm_uve_table.cc.
|
private |
Definition at line 32 of file vm_uve_table.h.