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

#include <ovsdb_resource_vxlan_id.h>

Collaboration diagram for OVSDB::OvsdbResourceVxLanId:

Public Member Functions

 OvsdbResourceVxLanId (OvsdbResourceVxLanIdTable *table, KSyncEntry *entry)
 
virtual ~OvsdbResourceVxLanId ()
 
bool AcquireVxLanId (uint32_t vxlan_id)
 
void ReleaseVxLanId (bool active)
 
void set_active_vxlan_id (uint32_t vxlan_id)
 
uint32_t VxLanId () const
 
uint32_t active_vxlan_id () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (OvsdbResourceVxLanId)
 

Private Attributes

OvsdbResourceVxLanIdTabletable_
 
KSyncEntryentry_
 
uint32_t resource_id_
 
uint32_t vxlan_id_
 
uint32_t active_vxlan_id_
 

Friends

class OvsdbResourceVxLanIdCmp
 
class OvsdbResourceVxLanIdTable
 

Detailed Description

Definition at line 14 of file ovsdb_resource_vxlan_id.h.

Constructor & Destructor Documentation

OvsdbResourceVxLanId::OvsdbResourceVxLanId ( OvsdbResourceVxLanIdTable table,
KSyncEntry entry 
)

Definition at line 11 of file ovsdb_resource_vxlan_id.cc.

OvsdbResourceVxLanId::~OvsdbResourceVxLanId ( )
virtual

Definition at line 17 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

Member Function Documentation

bool OvsdbResourceVxLanId::AcquireVxLanId ( uint32_t  vxlan_id)

Definition at line 22 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

uint32_t OvsdbResourceVxLanId::active_vxlan_id ( ) const

Definition at line 84 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

OVSDB::OvsdbResourceVxLanId::DISALLOW_COPY_AND_ASSIGN ( OvsdbResourceVxLanId  )
private
void OvsdbResourceVxLanId::ReleaseVxLanId ( bool  active)

Definition at line 49 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

void OvsdbResourceVxLanId::set_active_vxlan_id ( uint32_t  vxlan_id)

Definition at line 64 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

uint32_t OvsdbResourceVxLanId::VxLanId ( ) const

Definition at line 80 of file ovsdb_resource_vxlan_id.cc.

Friends And Related Function Documentation

friend class OvsdbResourceVxLanIdCmp
friend

Definition at line 36 of file ovsdb_resource_vxlan_id.h.

friend class OvsdbResourceVxLanIdTable
friend

Definition at line 37 of file ovsdb_resource_vxlan_id.h.

Member Data Documentation

uint32_t OVSDB::OvsdbResourceVxLanId::active_vxlan_id_
private

Definition at line 42 of file ovsdb_resource_vxlan_id.h.

KSyncEntry* OVSDB::OvsdbResourceVxLanId::entry_
private

Definition at line 39 of file ovsdb_resource_vxlan_id.h.

uint32_t OVSDB::OvsdbResourceVxLanId::resource_id_
private

Definition at line 40 of file ovsdb_resource_vxlan_id.h.

OvsdbResourceVxLanIdTable* OVSDB::OvsdbResourceVxLanId::table_
private

Definition at line 38 of file ovsdb_resource_vxlan_id.h.

uint32_t OVSDB::OvsdbResourceVxLanId::vxlan_id_
private

Definition at line 41 of file ovsdb_resource_vxlan_id.h.


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