|
OpenSDN source code
|
#include <physical_device_vn.h>


Public Member Functions | |
| PhysicalDeviceVn (const boost::uuids::uuid &device_uuid, const boost::uuids::uuid &vn_uuid) | |
| virtual | ~PhysicalDeviceVn () |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual std::string | ToString () const |
| uint32_t | GetRefCount () const |
| DBEntryBase::KeyPtr | GetDBRequestKey () const |
| const boost::uuids::uuid & | device_uuid () const |
| PhysicalDevice * | device () const |
| const boost::uuids::uuid & | vn_uuid () const |
| VnEntry * | vn () const |
| int | vxlan_id () const |
| const IpAddress & | tor_ip () const |
| const std::string & | device_display_name () const |
| bool | Copy (PhysicalDeviceVnTable *table, const PhysicalDeviceVnData *data) |
| void | SendObjectLog (AgentLogEvent::type event) const |
| bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
Public Member Functions inherited from AgentDBEntry | |
| AgentDBEntry () | |
| virtual | ~AgentDBEntry () |
| void | SetRefState () const |
| void | ClearRefState () const |
| bool | IsActive () const |
| DBState * | GetAgentDBEntryState (int listener_id) |
| const DBState * | GetAgentDBEntryState (int listener_id) const |
| virtual void | AllocateResources (ResourceManager *resource_manager) |
| virtual void | FreeResources (ResourceManager *resource_manager) |
| virtual void | PostAdd () |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| DBEntryBase () | |
| virtual | ~DBEntryBase () |
| virtual bool | IsMoreSpecific (const std::string &match) const |
| virtual bool | IsLessSpecific (const std::string &match) const |
| void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
| void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
| DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
| const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
| bool | is_state_empty (DBTablePartBase *tpart) |
| bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
| void | Delete () |
| void | MarkDelete () |
| void | ClearDelete () |
| bool | IsDeleted () const |
| void | set_onlist () |
| void | clear_onlist () |
| bool | is_onlist () |
| void | SetOnRemoveQ () |
| bool | IsOnRemoveQ () |
| void | ClearOnRemoveQ () |
| void | set_last_change_at (uint64_t time) |
| void | set_last_change_at_to_now () |
| const uint64_t | last_change_at () const |
| const std::string | last_change_at_str () const |
| void | set_last_update_at (uint64_t time) |
| void | set_last_update_at_to_now () |
| const uint64_t | last_update_at () const |
| DBTablePartBase * | get_table_partition () const |
| void | set_table_partition (DBTablePartBase *tpart) |
| DBTableBase * | get_table () const |
| void | Notify () |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (PhysicalDeviceVn) | |
Private Member Functions inherited from AgentRefCount< PhysicalDeviceVn > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| boost::uuids::uuid | device_uuid_ |
| boost::uuids::uuid | vn_uuid_ |
| PhysicalDeviceRef | device_ |
| VnEntryRef | vn_ |
| int | vxlan_id_ |
| IpAddress | tor_ip_ |
| std::string | device_display_name_ |
Private Attributes inherited from AgentRefCount< PhysicalDeviceVn > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
| class | PhysicalDeviceVnTable |
Additional Inherited Members | |
Public Types inherited from AgentDBEntry | |
| typedef boost::intrusive_ptr< AgentDBEntry > | AgentDBEntyRef |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Definition at line 63 of file physical_device_vn.h.
|
inline |
Definition at line 66 of file physical_device_vn.h.
|
inlinevirtual |
Definition at line 70 of file physical_device_vn.h.
| bool PhysicalDeviceVn::Copy | ( | PhysicalDeviceVnTable * | table, |
| const PhysicalDeviceVnData * | data | ||
| ) |
|
virtual |
Implements AgentDBEntry.
Definition at line 310 of file physical_device_vn.cc.

|
inline |
Definition at line 81 of file physical_device_vn.h.
|
inline |
Definition at line 87 of file physical_device_vn.h.
|
inline |
Definition at line 80 of file physical_device_vn.h.
|
private |
|
virtual |
Implements DBEntryBase.
Definition at line 38 of file physical_device_vn.cc.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 75 of file physical_device_vn.h.

|
virtual |
Implements DBEntry.
Definition at line 25 of file physical_device_vn.cc.
| void PhysicalDeviceVn::SendObjectLog | ( | AgentLogEvent::type | event | ) | const |
|
virtual |
Implements DBEntry.
Definition at line 43 of file physical_device_vn.cc.
|
inline |
Definition at line 86 of file physical_device_vn.h.
|
virtual |
Implements DBEntryBase.
Definition at line 34 of file physical_device_vn.cc.

|
inline |
Definition at line 84 of file physical_device_vn.h.
|
inline |
Definition at line 83 of file physical_device_vn.h.
|
inline |
Definition at line 85 of file physical_device_vn.h.
|
friend |
Definition at line 94 of file physical_device_vn.h.
|
private |
Definition at line 98 of file physical_device_vn.h.
|
private |
Definition at line 102 of file physical_device_vn.h.
|
private |
Definition at line 95 of file physical_device_vn.h.
|
private |
Definition at line 101 of file physical_device_vn.h.
|
private |
Definition at line 99 of file physical_device_vn.h.
|
private |
Definition at line 96 of file physical_device_vn.h.
|
private |
Definition at line 100 of file physical_device_vn.h.