OpenSDN source code
|
#include <vm_uve_entry_base.h>
Public Types | |
typedef std::set< std::string > | InterfaceSet |
Public Member Functions | |
VmUveEntryBase (Agent *agent, const std::string &vm_name) | |
virtual | ~VmUveEntryBase () |
const std::string & | vm_config_name () const |
bool | add_by_vm_notify () const |
void | set_add_by_vm_notify (bool value) |
void | InterfaceAdd (const std::string &intf_cfg_name) |
void | InterfaceDelete (const std::string &intf_cfg_name) |
bool | FrameVmMsg (const boost::uuids::uuid &u, UveVirtualMachineAgent *uve) |
bool | Update (const VmEntry *vm) |
void | set_changed (bool val) |
bool | changed () const |
void | set_deleted (bool value) |
bool | deleted () const |
void | set_renewed (bool value) |
bool | renewed () const |
void | set_vm_name (const std::string name) |
virtual void | Reset () |
Protected Attributes | |
Agent * | agent_ |
InterfaceSet | interface_tree_ |
UveVirtualMachineAgent | uve_info_ |
bool | changed_ |
bool | deleted_ |
bool | renewed_ |
tbb::mutex | mutex_ |
Private Member Functions | |
bool | UveVmInterfaceListChanged (const std::vector< std::string > &new_l) const |
bool | UveVmVRouterChanged (const std::string &new_value) const |
DISALLOW_COPY_AND_ASSIGN (VmUveEntryBase) | |
Private Attributes | |
bool | add_by_vm_notify_ |
std::string | vm_config_name_ |
std::string | vm_name_ |
Definition at line 23 of file vm_uve_entry_base.h.
typedef std::set<std::string> VmUveEntryBase::InterfaceSet |
Definition at line 26 of file vm_uve_entry_base.h.
VmUveEntryBase::VmUveEntryBase | ( | Agent * | agent, |
const std::string & | vm_name | ||
) |
Definition at line 10 of file vm_uve_entry_base.cc.
|
virtual |
Definition at line 16 of file vm_uve_entry_base.cc.
|
inline |
Definition at line 31 of file vm_uve_entry_base.h.
|
inline |
Definition at line 39 of file vm_uve_entry_base.h.
|
inline |
Definition at line 41 of file vm_uve_entry_base.h.
|
private |
bool VmUveEntryBase::FrameVmMsg | ( | const boost::uuids::uuid & | u, |
UveVirtualMachineAgent * | uve | ||
) |
void VmUveEntryBase::InterfaceAdd | ( | const std::string & | intf_cfg_name | ) |
Definition at line 27 of file vm_uve_entry_base.cc.
void VmUveEntryBase::InterfaceDelete | ( | const std::string & | intf_cfg_name | ) |
Definition at line 34 of file vm_uve_entry_base.cc.
|
inline |
Definition at line 43 of file vm_uve_entry_base.h.
|
virtual |
Reimplemented in VmUveEntry.
Definition at line 107 of file vm_uve_entry_base.cc.
|
inline |
Definition at line 32 of file vm_uve_entry_base.h.
|
inline |
Definition at line 38 of file vm_uve_entry_base.h.
|
inline |
Definition at line 40 of file vm_uve_entry_base.h.
|
inline |
Definition at line 42 of file vm_uve_entry_base.h.
|
inline |
Definition at line 44 of file vm_uve_entry_base.h.
bool VmUveEntryBase::Update | ( | const VmEntry * | vm | ) |
|
private |
Definition at line 99 of file vm_uve_entry_base.cc.
|
private |
Definition at line 88 of file vm_uve_entry_base.cc.
|
inline |
Definition at line 30 of file vm_uve_entry_base.h.
|
private |
Definition at line 62 of file vm_uve_entry_base.h.
|
protected |
Definition at line 48 of file vm_uve_entry_base.h.
|
protected |
Definition at line 52 of file vm_uve_entry_base.h.
|
protected |
Definition at line 53 of file vm_uve_entry_base.h.
|
protected |
Definition at line 49 of file vm_uve_entry_base.h.
|
protected |
Definition at line 56 of file vm_uve_entry_base.h.
|
protected |
Definition at line 54 of file vm_uve_entry_base.h.
|
protected |
Definition at line 50 of file vm_uve_entry_base.h.
|
private |
Definition at line 63 of file vm_uve_entry_base.h.
|
private |
Definition at line 64 of file vm_uve_entry_base.h.