OpenSDN source code
|
#include <interface_uve_table.h>
Classes | |
struct | AceStats |
struct | EndpointStatsContainer |
struct | FipInfo |
struct | FloatingIp |
class | FloatingIpCmp |
struct | PolicyCmp |
struct | UveInterfaceEntry |
struct | UveInterfaceState |
struct | UveSecurityPolicyStats |
Public Types | |
typedef boost::shared_ptr < FloatingIp > | FloatingIpPtr |
typedef std::set < FloatingIpPtr, FloatingIpCmp > | FloatingIpSet |
typedef boost::shared_ptr < UveSecurityPolicyStats > | UveSecurityPolicyStatsPtr |
typedef std::set < UveSecurityPolicyStatsPtr, PolicyCmp > | SecurityPolicyStatsSet |
typedef std::map< std::string, EndpointStatsContainer > | SecurityPolicyStatsMap |
typedef std::pair< std::string, EndpointStatsContainer > | SecurityPolicyStatsPair |
typedef std::set< AceStats > | AceStatsSet |
typedef boost::shared_ptr < UveInterfaceEntry > | UveInterfaceEntryPtr |
typedef std::map< std::string, UveInterfaceEntryPtr > | InterfaceMap |
typedef std::pair< std::string, UveInterfaceEntryPtr > | InterfacePair |
Public Member Functions | |
InterfaceUveTable (Agent *agent, uint32_t default_intvl) | |
virtual | ~InterfaceUveTable () |
void | RegisterDBClients () |
void | Shutdown (void) |
virtual void | DispatchInterfaceMsg (const UveVMInterfaceAgent &uve) |
virtual void | DispatchInterfaceObjectLog (EndpointSecurityStats *obj) |
void | DispatchVMITagsMsg (const VMITags &uve) const |
virtual void | DispatchVMIStatsMsg (const VMIStats &uve) |
bool | TimerExpiry () |
virtual void | SendInterfaceAceStats (const string &name, UveInterfaceEntry *entry) |
void | HandleVmiTagListChange (const std::string &name) |
Protected Member Functions | |
void | SendInterfaceDeleteMsg (const std::string &config_name) |
Protected Attributes | |
Agent * | agent_ |
InterfaceMap | interface_tree_ |
tbb::mutex | interface_tree_mutex_ |
Private Member Functions | |
virtual UveInterfaceEntryPtr | Allocate (const VmInterface *vm) |
void | InterfaceNotify (DBTablePartBase *partition, DBEntryBase *e) |
void | InterfaceAddHandler (const VmInterface *intf, const VmInterface::FloatingIpSet &old_list) |
void | InterfaceDeleteHandler (const std::string &name) |
void | set_expiry_time (int time) |
void | SendInterfaceMsg (const std::string &name, UveInterfaceEntry *entry) |
DISALLOW_COPY_AND_ASSIGN (InterfaceUveTable) | |
Private Attributes | |
DBTableBase::ListenerId | intf_listener_id_ |
std::string | timer_last_visited_ |
Timer * | timer_ |
int | expiry_time_ |
Definition at line 49 of file interface_uve_table.h.
typedef std::set<AceStats> InterfaceUveTable::AceStatsSet |
Definition at line 203 of file interface_uve_table.h.
typedef boost::shared_ptr<FloatingIp> InterfaceUveTable::FloatingIpPtr |
Definition at line 102 of file interface_uve_table.h.
typedef std::set<FloatingIpPtr, FloatingIpCmp> InterfaceUveTable::FloatingIpSet |
Definition at line 114 of file interface_uve_table.h.
typedef std::map<std::string, UveInterfaceEntryPtr> InterfaceUveTable::InterfaceMap |
Definition at line 290 of file interface_uve_table.h.
typedef std::pair<std::string, UveInterfaceEntryPtr> InterfaceUveTable::InterfacePair |
Definition at line 291 of file interface_uve_table.h.
typedef std::map<std::string, EndpointStatsContainer> InterfaceUveTable::SecurityPolicyStatsMap |
Definition at line 200 of file interface_uve_table.h.
typedef std::pair<std::string, EndpointStatsContainer> InterfaceUveTable::SecurityPolicyStatsPair |
Definition at line 202 of file interface_uve_table.h.
typedef std::set<UveSecurityPolicyStatsPtr, PolicyCmp> InterfaceUveTable::SecurityPolicyStatsSet |
Definition at line 187 of file interface_uve_table.h.
typedef boost::shared_ptr<UveInterfaceEntry> InterfaceUveTable::UveInterfaceEntryPtr |
Definition at line 288 of file interface_uve_table.h.
typedef boost::shared_ptr<UveSecurityPolicyStats> InterfaceUveTable::UveSecurityPolicyStatsPtr |
Definition at line 167 of file interface_uve_table.h.
InterfaceUveTable::InterfaceUveTable | ( | Agent * | agent, |
uint32_t | default_intvl | ||
) |
|
virtual |
Definition at line 24 of file interface_uve_table.cc.
|
privatevirtual |
Definition at line 380 of file interface_uve_table.cc.
|
private |
|
virtual |
Definition at line 385 of file interface_uve_table.cc.
|
virtual |
Definition at line 397 of file interface_uve_table.cc.
|
virtual |
Definition at line 389 of file interface_uve_table.cc.
void InterfaceUveTable::DispatchVMITagsMsg | ( | const VMITags & | uve | ) | const |
Definition at line 393 of file interface_uve_table.cc.
void InterfaceUveTable::HandleVmiTagListChange | ( | const std::string & | name | ) |
|
private |
|
private |
|
private |
void InterfaceUveTable::RegisterDBClients | ( | ) |
|
inlinevirtual |
Reimplemented in InterfaceUveStatsTable.
Definition at line 302 of file interface_uve_table.h.
|
protected |
|
private |
|
private |
void InterfaceUveTable::Shutdown | ( | void | ) |
bool InterfaceUveTable::TimerExpiry | ( | ) |
|
protected |
Definition at line 310 of file interface_uve_table.h.
|
private |
Definition at line 327 of file interface_uve_table.h.
|
protected |
Definition at line 311 of file interface_uve_table.h.
|
protected |
Definition at line 313 of file interface_uve_table.h.
|
private |
Definition at line 323 of file interface_uve_table.h.
|
private |
Definition at line 326 of file interface_uve_table.h.
|
private |
Definition at line 325 of file interface_uve_table.h.