OpenSDN source code
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::OvsdbResourceVxLanId ( OvsdbResourceVxLanIdTable table,
KSyncEntry entry 
)

Definition at line 11 of file ovsdb_resource_vxlan_id.cc.

◆ ~OvsdbResourceVxLanId()

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

◆ AcquireVxLanId()

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:

◆ active_vxlan_id()

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:

◆ DISALLOW_COPY_AND_ASSIGN()

OVSDB::OvsdbResourceVxLanId::DISALLOW_COPY_AND_ASSIGN ( OvsdbResourceVxLanId  )
private

◆ ReleaseVxLanId()

void OvsdbResourceVxLanId::ReleaseVxLanId ( bool  active)

Definition at line 49 of file ovsdb_resource_vxlan_id.cc.

Here is the call graph for this function:

◆ set_active_vxlan_id()

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:

◆ VxLanId()

uint32_t OvsdbResourceVxLanId::VxLanId ( ) const

Definition at line 80 of file ovsdb_resource_vxlan_id.cc.

Friends And Related Function Documentation

◆ OvsdbResourceVxLanIdCmp

friend class OvsdbResourceVxLanIdCmp
friend

Definition at line 36 of file ovsdb_resource_vxlan_id.h.

◆ OvsdbResourceVxLanIdTable

friend class OvsdbResourceVxLanIdTable
friend

Definition at line 37 of file ovsdb_resource_vxlan_id.h.

Member Data Documentation

◆ active_vxlan_id_

uint32_t OVSDB::OvsdbResourceVxLanId::active_vxlan_id_
private

Definition at line 42 of file ovsdb_resource_vxlan_id.h.

◆ entry_

KSyncEntry* OVSDB::OvsdbResourceVxLanId::entry_
private

Definition at line 39 of file ovsdb_resource_vxlan_id.h.

◆ resource_id_

uint32_t OVSDB::OvsdbResourceVxLanId::resource_id_
private

Definition at line 40 of file ovsdb_resource_vxlan_id.h.

◆ table_

OvsdbResourceVxLanIdTable* OVSDB::OvsdbResourceVxLanId::table_
private

Definition at line 38 of file ovsdb_resource_vxlan_id.h.

◆ vxlan_id_

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: