Package ganeti :: Module cmdlib :: 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 _QueryBase: NewStyleQuery, OldStyleQuery, __init__

Inherited from _QueryBase (private): _GetNames

Class Variables [hide private]
  FIELDS = _BuildClusterFields()
Attribute holding field definitions
  SORT_FIELD = None
Do not sort (there is only one item)
Method Details [hide private]

ExpandNames(self, lu)

source code 

Expand names for this query.

See LogicalUnit.ExpandNames.

Overrides: _QueryBase.ExpandNames
(inherited documentation)

DeclareLocks(self, lu, level)

source code 

Declare locks for this query.

See LogicalUnit.DeclareLocks.

Overrides: _QueryBase.DeclareLocks
(inherited documentation)

_GetQueryData(self, lu)

source code 

Computes the list of nodes and their attributes.

Returns:
Query data object
Overrides: _QueryBase._GetQueryData