OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OVSDB::OvsdbResourceVxLanIdTable Class Reference

#include <ovsdb_resource_vxlan_id.h>

Classes

struct  ResourceEntry
 

Public Member Functions

 OvsdbResourceVxLanIdTable ()
 
virtual ~OvsdbResourceVxLanIdTable ()
 

Private Types

typedef std::set
< OvsdbResourceVxLanId
*, OvsdbResourceVxLanIdCmp
ResourcePendingList
 

Private Member Functions

bool AcquireVxLanId (OvsdbResourceVxLanId *entry, uint32_t vxlan_id)
 
void ReleaseVxLanId (OvsdbResourceVxLanId *entry, uint32_t vxlan_id, uint32_t resource_id)
 
 DISALLOW_COPY_AND_ASSIGN (OvsdbResourceVxLanIdTable)
 

Private Attributes

std::map< uint32_t,
ResourceEntry * > 
vxlan_table_
 

Friends

class OvsdbResourceVxLanId
 

Detailed Description

Definition at line 56 of file ovsdb_resource_vxlan_id.h.

Member Typedef Documentation

Constructor & Destructor Documentation

OvsdbResourceVxLanIdTable::OvsdbResourceVxLanIdTable ( )

Definition at line 91 of file ovsdb_resource_vxlan_id.cc.

OvsdbResourceVxLanIdTable::~OvsdbResourceVxLanIdTable ( )
virtual

Definition at line 94 of file ovsdb_resource_vxlan_id.cc.

Member Function Documentation

bool OvsdbResourceVxLanIdTable::AcquireVxLanId ( OvsdbResourceVxLanId entry,
uint32_t  vxlan_id 
)
private

Definition at line 97 of file ovsdb_resource_vxlan_id.cc.

OVSDB::OvsdbResourceVxLanIdTable::DISALLOW_COPY_AND_ASSIGN ( OvsdbResourceVxLanIdTable  )
private
void OvsdbResourceVxLanIdTable::ReleaseVxLanId ( OvsdbResourceVxLanId entry,
uint32_t  vxlan_id,
uint32_t  resource_id 
)
private

Definition at line 121 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class OvsdbResourceVxLanId
friend

Definition at line 62 of file ovsdb_resource_vxlan_id.h.

Member Data Documentation

std::map<uint32_t, ResourceEntry*> OVSDB::OvsdbResourceVxLanIdTable::vxlan_table_
private

Definition at line 79 of file ovsdb_resource_vxlan_id.h.


The documentation for this class was generated from the following files: