Package ganeti :: Package cmdlib :: Module cluster :: Class ClusterQuery
[hide private]
[frames] | no frames]

Class ClusterQuery

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 nodes 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__

Class Variables [hide private]
  FIELDS = _BuildClusterFields()
Attribute holding field definitions
  SORT_FIELD = None
Do not sort (there is only one item)
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 nodes and their attributes.

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