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

Class _GroupQuery

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 node groups and their attributes.
source code

Inherited from _QueryBase: NewStyleQuery, OldStyleQuery, __init__

Inherited from _QueryBase (private): _GetNames

Class Variables [hide private]
  FIELDS = _BuildGroupFields()
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 node groups and their attributes.

Returns:
Query data object
Overrides: _QueryBase._GetQueryData