OpenSDN source code
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 *, OvsdbResourceVxLanIdCmpResourcePendingList
 

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

◆ ResourcePendingList

Constructor & Destructor Documentation

◆ OvsdbResourceVxLanIdTable()

OvsdbResourceVxLanIdTable::OvsdbResourceVxLanIdTable ( )

Definition at line 91 of file ovsdb_resource_vxlan_id.cc.

◆ ~OvsdbResourceVxLanIdTable()

OvsdbResourceVxLanIdTable::~OvsdbResourceVxLanIdTable ( )
virtual

Definition at line 94 of file ovsdb_resource_vxlan_id.cc.

Member Function Documentation

◆ AcquireVxLanId()

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

Definition at line 97 of file ovsdb_resource_vxlan_id.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

OVSDB::OvsdbResourceVxLanIdTable::DISALLOW_COPY_AND_ASSIGN ( OvsdbResourceVxLanIdTable  )
private

◆ ReleaseVxLanId()

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

◆ OvsdbResourceVxLanId

friend class OvsdbResourceVxLanId
friend

Definition at line 62 of file ovsdb_resource_vxlan_id.h.

Member Data Documentation

◆ vxlan_table_

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: