OpenSDN source code
|
#include <vn_uve_entry_base.h>
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 VnEntry * | vn () 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 | |
Agent * | agent_ |
const VnEntry * | vn_ |
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) | |
Definition at line 21 of file vn_uve_entry_base.h.
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.
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.
|
virtual |
Definition at line 20 of file vn_uve_entry_base.cc.
bool VnUveEntryBase::BuildInterfaceVmList | ( | UveVirtualNetworkAgent & | s_vn | ) |
|
inline |
Definition at line 43 of file vn_uve_entry_base.h.
|
inline |
Definition at line 45 of file vn_uve_entry_base.h.
|
private |
bool VnUveEntryBase::FrameVnAclRuleCountMsg | ( | const VnEntry * | vn, |
UveVirtualNetworkAgent * | uve | ||
) |
bool VnUveEntryBase::FrameVnMsg | ( | const VnEntry * | vn, |
UveVirtualNetworkAgent & | uve | ||
) |
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.
|
inline |
Definition at line 47 of file vn_uve_entry_base.h.
|
virtual |
Reimplemented in VnUveEntry.
Definition at line 212 of file vn_uve_entry_base.cc.
|
inline |
Definition at line 48 of file vn_uve_entry_base.h.
|
inline |
Definition at line 42 of file vn_uve_entry_base.h.
|
inline |
Definition at line 44 of file vn_uve_entry_base.h.
|
inline |
Definition at line 46 of file vn_uve_entry_base.h.
|
inline |
|
private |
Definition at line 95 of file vn_uve_entry_base.cc.
|
protected |
Definition at line 136 of file vn_uve_entry_base.cc.
|
private |
Definition at line 115 of file vn_uve_entry_base.cc.
|
private |
Definition at line 105 of file vn_uve_entry_base.cc.
|
private |
Definition at line 126 of file vn_uve_entry_base.cc.
void VnUveEntryBase::VmAdd | ( | const std::string & | vm | ) |
void VnUveEntryBase::VmDelete | ( | const std::string & | vm | ) |
|
inline |
Definition at line 38 of file vn_uve_entry_base.h.
|
protected |
Definition at line 58 of file vn_uve_entry_base.h.
|
protected |
Definition at line 53 of file vn_uve_entry_base.h.
|
protected |
Definition at line 61 of file vn_uve_entry_base.h.
|
protected |
Definition at line 62 of file vn_uve_entry_base.h.
|
protected |
Definition at line 56 of file vn_uve_entry_base.h.
|
protected |
Definition at line 63 of file vn_uve_entry_base.h.
|
protected |
Definition at line 55 of file vn_uve_entry_base.h.
|
protected |
Definition at line 57 of file vn_uve_entry_base.h.
|
protected |
Definition at line 54 of file vn_uve_entry_base.h.