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

#include <vn_uve_entry_base.h>

Inheritance diagram for VnUveEntryBase:
Collaboration diagram for VnUveEntryBase:

Public Types

typedef std::set< const
Interface * > 
InterfaceSet
 
typedef std::set< std::string > VmSet
 

Public Member Functions

 VnUveEntryBase (Agent *agent, const VnEntry *vn)
 
 VnUveEntryBase (Agent *agent)
 
virtual ~VnUveEntryBase ()
 
void set_vn (const VnEntry *vn)
 
void InterfaceAdd (const Interface *intf)
 
void InterfaceDelete (const Interface *intf)
 
void VmAdd (const std::string &vm)
 
void VmDelete (const std::string &vm)
 
bool BuildInterfaceVmList (UveVirtualNetworkAgent &s_vn)
 
bool FrameVnMsg (const VnEntry *vn, UveVirtualNetworkAgent &uve)
 
const VnEntryvn () const
 
bool FrameVnAclRuleCountMsg (const VnEntry *vn, UveVirtualNetworkAgent *uve)
 
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_add_by_vn_notify (bool val)
 
virtual void Reset ()
 

Protected Member Functions

bool UveVnAclRuleCountChanged (int32_t size) const
 

Protected Attributes

Agentagent_
 
const VnEntryvn_
 
UveVirtualNetworkAgent uve_info_
 
InterfaceSet interface_tree_
 
VmSet vm_tree_
 
bool add_by_vn_notify_
 
bool changed_
 
bool deleted_
 
bool renewed_
 

Private Member Functions

bool UveVnInterfaceListChanged (const std::vector< string > &new_list) const
 
bool UveVnVmListChanged (const std::vector< string > &new_list) const
 
bool UveVnAclChanged (const std::string &name) const
 
bool UveVnMirrorAclChanged (const std::string &name) const
 
 DISALLOW_COPY_AND_ASSIGN (VnUveEntryBase)
 

Detailed Description

Definition at line 21 of file vn_uve_entry_base.h.

Member Typedef Documentation

typedef std::set<const Interface *> VnUveEntryBase::InterfaceSet

Definition at line 23 of file vn_uve_entry_base.h.

typedef std::set<std::string> VnUveEntryBase::VmSet

Definition at line 24 of file vn_uve_entry_base.h.

Constructor & Destructor Documentation

VnUveEntryBase::VnUveEntryBase ( Agent agent,
const VnEntry vn 
)

Definition at line 8 of file vn_uve_entry_base.cc.

VnUveEntryBase::VnUveEntryBase ( Agent agent)

Definition at line 14 of file vn_uve_entry_base.cc.

VnUveEntryBase::~VnUveEntryBase ( )
virtual

Definition at line 20 of file vn_uve_entry_base.cc.

Member Function Documentation

bool VnUveEntryBase::BuildInterfaceVmList ( UveVirtualNetworkAgent &  s_vn)

Definition at line 59 of file vn_uve_entry_base.cc.

Here is the call graph for this function:

bool VnUveEntryBase::changed ( ) const
inline

Definition at line 43 of file vn_uve_entry_base.h.

bool VnUveEntryBase::deleted ( ) const
inline

Definition at line 45 of file vn_uve_entry_base.h.

VnUveEntryBase::DISALLOW_COPY_AND_ASSIGN ( VnUveEntryBase  )
private
bool VnUveEntryBase::FrameVnAclRuleCountMsg ( const VnEntry vn,
UveVirtualNetworkAgent *  uve 
)

Definition at line 146 of file vn_uve_entry_base.cc.

Here is the call graph for this function:

bool VnUveEntryBase::FrameVnMsg ( const VnEntry vn,
UveVirtualNetworkAgent &  uve 
)

Definition at line 168 of file vn_uve_entry_base.cc.

Here is the call graph for this function:

void VnUveEntryBase::InterfaceAdd ( const Interface intf)

Definition at line 41 of file vn_uve_entry_base.cc.

void VnUveEntryBase::InterfaceDelete ( const Interface intf)

Definition at line 48 of file vn_uve_entry_base.cc.

bool VnUveEntryBase::renewed ( ) const
inline

Definition at line 47 of file vn_uve_entry_base.h.

void VnUveEntryBase::Reset ( )
virtual

Reimplemented in VnUveEntry.

Definition at line 212 of file vn_uve_entry_base.cc.

void VnUveEntryBase::set_add_by_vn_notify ( bool  val)
inline

Definition at line 48 of file vn_uve_entry_base.h.

void VnUveEntryBase::set_changed ( bool  val)
inline

Definition at line 42 of file vn_uve_entry_base.h.

void VnUveEntryBase::set_deleted ( bool  value)
inline

Definition at line 44 of file vn_uve_entry_base.h.

void VnUveEntryBase::set_renewed ( bool  value)
inline

Definition at line 46 of file vn_uve_entry_base.h.

void VnUveEntryBase::set_vn ( const VnEntry vn)
inline

Definition at line 30 of file vn_uve_entry_base.h.

Here is the call graph for this function:

bool VnUveEntryBase::UveVnAclChanged ( const std::string &  name) const
private

Definition at line 95 of file vn_uve_entry_base.cc.

bool VnUveEntryBase::UveVnAclRuleCountChanged ( int32_t  size) const
protected

Definition at line 136 of file vn_uve_entry_base.cc.

bool VnUveEntryBase::UveVnInterfaceListChanged ( const std::vector< string > &  new_list) const
private

Definition at line 115 of file vn_uve_entry_base.cc.

bool VnUveEntryBase::UveVnMirrorAclChanged ( const std::string &  name) const
private

Definition at line 105 of file vn_uve_entry_base.cc.

bool VnUveEntryBase::UveVnVmListChanged ( const std::vector< string > &  new_list) const
private

Definition at line 126 of file vn_uve_entry_base.cc.

void VnUveEntryBase::VmAdd ( const std::string &  vm)

Definition at line 23 of file vn_uve_entry_base.cc.

Here is the call graph for this function:

void VnUveEntryBase::VmDelete ( const std::string &  vm)

Definition at line 32 of file vn_uve_entry_base.cc.

Here is the call graph for this function:

const VnEntry* VnUveEntryBase::vn ( ) const
inline

Definition at line 38 of file vn_uve_entry_base.h.

Member Data Documentation

bool VnUveEntryBase::add_by_vn_notify_
protected

Definition at line 58 of file vn_uve_entry_base.h.

Agent* VnUveEntryBase::agent_
protected

Definition at line 53 of file vn_uve_entry_base.h.

bool VnUveEntryBase::changed_
protected

Definition at line 61 of file vn_uve_entry_base.h.

bool VnUveEntryBase::deleted_
protected

Definition at line 62 of file vn_uve_entry_base.h.

InterfaceSet VnUveEntryBase::interface_tree_
protected

Definition at line 56 of file vn_uve_entry_base.h.

bool VnUveEntryBase::renewed_
protected

Definition at line 63 of file vn_uve_entry_base.h.

UveVirtualNetworkAgent VnUveEntryBase::uve_info_
protected

Definition at line 55 of file vn_uve_entry_base.h.

VmSet VnUveEntryBase::vm_tree_
protected

Definition at line 57 of file vn_uve_entry_base.h.

const VnEntry* VnUveEntryBase::vn_
protected

Definition at line 54 of file vn_uve_entry_base.h.


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