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

Class _NodeQuery

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 Methods [hide private]

Inherited from _QueryBase: FieldsQuery

Class Variables [hide private]
  FIELDS = _BuildNodeFields()
Attribute holding field definitions
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