This Page

The quantum.plugins.brocade.vlanbm Module

A Vlan Bitmap class to handle allocation/de-allocation of vlan ids.

class quantum.plugins.brocade.vlanbm.VlanBitmap(ctxt)

Bases: object

Setup a vlan bitmap for allocation/de-allocation.

get_next_vlan(vlan_id=None)

try to get a specific vlan if requested or get the next vlan.

release_vlan(vlan_id)

return the vlan to the pool.