OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VmUveEntry Class Reference

#include <vm_uve_entry.h>

Inheritance diagram for VmUveEntry:
Collaboration diagram for VmUveEntry:

Public Member Functions

 VmUveEntry (Agent *agent, const string &vm_name)
 
virtual ~VmUveEntry ()
 
void UpdatePortBitmap (uint8_t proto, uint16_t sport, uint16_t dport)
 
bool FrameVmStatsMsg (UveVirtualMachineAgent *uve)
 
virtual void Reset ()
 
- Public Member Functions inherited from VmUveEntryBase
 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)
 

Protected Attributes

L4PortBitmap port_bitmap_
 
- Protected Attributes inherited from VmUveEntryBase
Agentagent_
 
InterfaceSet interface_tree_
 
UveVirtualMachineAgent uve_info_
 
bool changed_
 
bool deleted_
 
bool renewed_
 
tbb::mutex mutex_
 

Private Member Functions

bool SetVmPortBitmap (UveVirtualMachineAgent *uve)
 
 DISALLOW_COPY_AND_ASSIGN (VmUveEntry)
 

Additional Inherited Members

- Public Types inherited from VmUveEntryBase
typedef std::set< std::string > InterfaceSet
 

Detailed Description

Definition at line 12 of file vm_uve_entry.h.

Constructor & Destructor Documentation

VmUveEntry::VmUveEntry ( Agent agent,
const string &  vm_name 
)

Definition at line 11 of file vm_uve_entry.cc.

VmUveEntry::~VmUveEntry ( )
virtual

Definition at line 15 of file vm_uve_entry.cc.

Member Function Documentation

VmUveEntry::DISALLOW_COPY_AND_ASSIGN ( VmUveEntry  )
private
bool VmUveEntry::FrameVmStatsMsg ( UveVirtualMachineAgent *  uve)

Definition at line 68 of file vm_uve_entry.cc.

Here is the call graph for this function:

void VmUveEntry::Reset ( )
virtual

Reimplemented from VmUveEntryBase.

Definition at line 79 of file vm_uve_entry.cc.

Here is the call graph for this function:

bool VmUveEntry::SetVmPortBitmap ( UveVirtualMachineAgent *  uve)
private

Definition at line 38 of file vm_uve_entry.cc.

Here is the call graph for this function:

void VmUveEntry::UpdatePortBitmap ( uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)

Definition at line 18 of file vm_uve_entry.cc.

Here is the call graph for this function:

Member Data Documentation

L4PortBitmap VmUveEntry::port_bitmap_
protected

Definition at line 20 of file vm_uve_entry.h.


The documentation for this class was generated from the following files: