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

Public Types | |
| typedef std::map< std::string, std::string > | PendingVmRegMap |
| typedef std::map< IFMapNode *, std::string > | NodeUuidMap |
Public Member Functions | |
| IFMapVmUuidMapper (DB *db, IFMapServer *server) | |
| ~IFMapVmUuidMapper () | |
| void | Initialize () |
| void | Shutdown () |
| IFMapUuidMapper::Sz_t | UuidMapperCount () |
| DBTable::ListenerId | vm_listener_id () |
| DB * | db () |
| IFMapServer * | server () |
| bool | is_registered () |
| void | VmNodeProcess (DBTablePartBase *partition, DBEntryBase *entry) |
| IFMapNode * | GetVmNodeByUuid (const std::string &vm_uuid) |
| bool | VmNodeExists (const std::string &vm_uuid) |
| void | PrintAllUuidMapperEntries () |
| void | ProcessVmRegAsPending (std::string vm_uuid, std::string vr_name, bool subscribe) |
| bool | PendingVmRegExists (const std::string &vm_uuid, std::string *vr_name) |
| PendingVmRegMap::size_type | PendingVmRegCount () |
| void | CleanupPendingVmRegEntry (const std::string &vm_uuid) |
| void | PrintAllPendingVmRegEntries () |
| bool | NodeToUuid (IFMapNode *vm_node, std::string *vm_uuid) |
| bool | NodeProcessed (IFMapNode *node) |
| NodeUuidMap::size_type | NodeUuidMapCount () |
| void | PrintAllNodeUuidMappedEntries () |
Private Member Functions | |
| bool | IsFeasible (IFMapNode *node) |
Private Attributes | |
| DB * | db_ |
| IFMapServer * | ifmap_server_ |
| IFMapServerTable * | vm_table_ |
| DBTable::ListenerId | vm_lid_ |
| bool | registered |
| IFMapUuidMapper | uuid_mapper_ |
| NodeUuidMap | node_uuid_map_ |
| PendingVmRegMap | pending_vmreg_map_ |
Friends | |
| class | IFMapVmUuidMapperTest |
| class | ShowIFMapPendingVmReg |
| class | ShowIFMapNodeToUuidMapping |
| class | ShowIFMapUuidToNodeMapping |
Definition at line 47 of file ifmap_uuid_mapper.h.
| typedef std::map<IFMapNode *, std::string> IFMapVmUuidMapper::NodeUuidMap |
Definition at line 56 of file ifmap_uuid_mapper.h.
| typedef std::map<std::string, std::string> IFMapVmUuidMapper::PendingVmRegMap |
Definition at line 51 of file ifmap_uuid_mapper.h.
|
explicit |
Definition at line 74 of file ifmap_uuid_mapper.cc.
| IFMapVmUuidMapper::~IFMapVmUuidMapper | ( | ) |
|
inline |
Definition at line 83 of file ifmap_uuid_mapper.h.
|
inline |
Definition at line 68 of file ifmap_uuid_mapper.h.
| IFMapNode * IFMapVmUuidMapper::GetVmNodeByUuid | ( | const std::string & | vm_uuid | ) |
| void IFMapVmUuidMapper::Initialize | ( | ) |
|
inline |
Definition at line 70 of file ifmap_uuid_mapper.h.
|
private |
| bool IFMapVmUuidMapper::NodeProcessed | ( | IFMapNode * | node | ) |
Definition at line 203 of file ifmap_uuid_mapper.cc.
| bool IFMapVmUuidMapper::NodeToUuid | ( | IFMapNode * | vm_node, |
| std::string * | vm_uuid | ||
| ) |
Definition at line 194 of file ifmap_uuid_mapper.cc.
|
inline |
Definition at line 90 of file ifmap_uuid_mapper.h.
|
inline |
Definition at line 80 of file ifmap_uuid_mapper.h.
| bool IFMapVmUuidMapper::PendingVmRegExists | ( | const std::string & | vm_uuid, |
| std::string * | vr_name | ||
| ) |
Definition at line 169 of file ifmap_uuid_mapper.cc.
| void IFMapVmUuidMapper::PrintAllNodeUuidMappedEntries | ( | ) |
| void IFMapVmUuidMapper::PrintAllPendingVmRegEntries | ( | ) |
Definition at line 179 of file ifmap_uuid_mapper.cc.
| void IFMapVmUuidMapper::PrintAllUuidMapperEntries | ( | ) |
| void IFMapVmUuidMapper::ProcessVmRegAsPending | ( | std::string | vm_uuid, |
| std::string | vr_name, | ||
| bool | subscribe | ||
| ) |
Definition at line 160 of file ifmap_uuid_mapper.cc.
|
inline |
Definition at line 69 of file ifmap_uuid_mapper.h.
| void IFMapVmUuidMapper::Shutdown | ( | ) |
|
inline |
Definition at line 63 of file ifmap_uuid_mapper.h.
|
inline |
Definition at line 67 of file ifmap_uuid_mapper.h.
| bool IFMapVmUuidMapper::VmNodeExists | ( | const std::string & | vm_uuid | ) |
| void IFMapVmUuidMapper::VmNodeProcess | ( | DBTablePartBase * | partition, |
| DBEntryBase * | entry | ||
| ) |
|
friend |
Definition at line 96 of file ifmap_uuid_mapper.h.
|
friend |
Definition at line 98 of file ifmap_uuid_mapper.h.
|
friend |
Definition at line 97 of file ifmap_uuid_mapper.h.
|
friend |
Definition at line 99 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 101 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 102 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 108 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 109 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 105 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 107 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 104 of file ifmap_uuid_mapper.h.
|
private |
Definition at line 103 of file ifmap_uuid_mapper.h.