OpenSDN source code
|
#include <vn_uve_table_base.h>
Classes | |
struct | VnUveInterfaceState |
Public Types | |
typedef boost::shared_ptr < VnUveEntryBase > | VnUveEntryPtr |
typedef std::map< std::string, VnUveEntryPtr > | UveVnMap |
typedef std::pair< std::string, VnUveEntryPtr > | UveVnPair |
Public Member Functions | |
VnUveTableBase (Agent *agent, uint32_t default_intvl) | |
virtual | ~VnUveTableBase () |
void | RegisterDBClients () |
void | Shutdown (void) |
void | SendVnAclRuleCount () |
bool | TimerExpiry () |
Protected Member Functions | |
void | Delete (const std::string &name) |
VnUveEntryBase * | UveEntryFromVn (const VnEntry *vn) |
virtual void | DispatchVnMsg (const UveVirtualNetworkAgent &uve) |
virtual void | SendVnAceStats (VnUveEntryBase *entry, const VnEntry *vn) |
Protected Attributes | |
UveVnMap | uve_vn_map_ |
Agent * | agent_ |
tbb::mutex | uve_vn_map_mutex_ |
Private Member Functions | |
VnUveEntryBase * | Add (const VnEntry *vn) |
void | Add (const std::string &vn) |
virtual VnUveEntryPtr | Allocate (const VnEntry *vn) |
virtual VnUveEntryPtr | Allocate () |
void | VnNotify (DBTablePartBase *partition, DBEntryBase *e) |
void | InterfaceNotify (DBTablePartBase *partition, DBEntryBase *e) |
void | SendDeleteVnMsg (const std::string &vn) |
void | MarkChanged (const VnEntry *vn) |
void | InterfaceDeleteHandler (const std::string &vm, const std::string &vn, const Interface *intf) |
void | InterfaceAddHandler (const VnEntry *vn, const Interface *intf, const std::string &vm_name, VnUveInterfaceState *state) |
void | set_expiry_time (int time) |
void | SendVnMsg (VnUveEntryBase *entry, const VnEntry *vn) |
DISALLOW_COPY_AND_ASSIGN (VnUveTableBase) | |
Private Attributes | |
DBTableBase::ListenerId | vn_listener_id_ |
DBTableBase::ListenerId | intf_listener_id_ |
std::string | timer_last_visited_ |
Timer * | timer_ |
int | expiry_time_ |
Definition at line 19 of file vn_uve_table_base.h.
typedef std::map<std::string, VnUveEntryPtr> VnUveTableBase::UveVnMap |
Definition at line 30 of file vn_uve_table_base.h.
typedef std::pair<std::string, VnUveEntryPtr> VnUveTableBase::UveVnPair |
Definition at line 31 of file vn_uve_table_base.h.
typedef boost::shared_ptr<VnUveEntryBase> VnUveTableBase::VnUveEntryPtr |
Definition at line 29 of file vn_uve_table_base.h.
VnUveTableBase::VnUveTableBase | ( | Agent * | agent, |
uint32_t | default_intvl | ||
) |
|
virtual |
Definition at line 22 of file vn_uve_table_base.cc.
|
private |
|
private |
|
privatevirtual |
Reimplemented in VnUveTable.
Definition at line 175 of file vn_uve_table_base.cc.
|
privatevirtual |
Reimplemented in VnUveTable.
Definition at line 180 of file vn_uve_table_base.cc.
|
protected |
Definition at line 148 of file vn_uve_table_base.cc.
|
private |
|
protectedvirtual |
Definition at line 115 of file vn_uve_table_base.cc.
|
private |
|
private |
|
private |
|
private |
void VnUveTableBase::RegisterDBClients | ( | ) |
|
private |
|
inlineprotectedvirtual |
Reimplemented in VnUveTable.
Definition at line 45 of file vn_uve_table_base.h.
void VnUveTableBase::SendVnAclRuleCount | ( | ) |
|
private |
|
private |
void VnUveTableBase::Shutdown | ( | void | ) |
bool VnUveTableBase::TimerExpiry | ( | ) |
|
protected |
|
private |
|
protected |
Definition at line 49 of file vn_uve_table_base.h.
|
private |
Definition at line 75 of file vn_uve_table_base.h.
|
private |
Definition at line 70 of file vn_uve_table_base.h.
|
private |
Definition at line 74 of file vn_uve_table_base.h.
|
private |
Definition at line 73 of file vn_uve_table_base.h.
|
protected |
Definition at line 48 of file vn_uve_table_base.h.
|
protected |
Definition at line 51 of file vn_uve_table_base.h.
|
private |
Definition at line 69 of file vn_uve_table_base.h.