Package ganeti :: Package cmdlib :: Module network :: Class NetworkQuery
[hide private]
[frames] | no frames]

Class NetworkQuery

source code


Instance Methods [hide private]
 
ExpandNames(self, lu)
Expand names for this query.
source code
 
DeclareLocks(self, lu, level)
Declare locks for this query.
source code
 
_GetQueryData(self, lu)
Computes the list of networks and their attributes.
source code

Inherited from base.QueryBase: NewStyleQuery, OldStyleQuery, __init__

Inherited from base.QueryBase (private): _GetNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_GetStats(pool)
Returns statistics for a network address pool.
source code
Class Variables [hide private]
  FIELDS = _BuildNetworkFields()
Attribute holding field definitions

Inherited from base.QueryBase: SORT_FIELD

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

ExpandNames(self, lu)

source code 

Expand names for this query.

See LogicalUnit.ExpandNames.

Overrides: base.QueryBase.ExpandNames
(inherited documentation)

DeclareLocks(self, lu, level)

source code 

Declare locks for this query.

See LogicalUnit.DeclareLocks.

Overrides: base.QueryBase.DeclareLocks
(inherited documentation)

_GetQueryData(self, lu)

source code 

Computes the list of networks and their attributes.

Returns:
Query data object
Overrides: base.QueryBase._GetQueryData