Package ganeti :: Package confd :: Module querylib :: Class MasterCandidatesPipsQuery
[hide private]
[frames] | no frames]

Class MasterCandidatesPipsQuery

source code


A query for master candidates primary IPs.

It returns the list of master candidates primary IPs.

Instance Methods [hide private]
(integer, undefined)
Exec(self, query)
MasterCandidatesPipsQuery main execution.
source code

Inherited from ConfdQuery: __init__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Exec(self, query)

source code 

MasterCandidatesPipsQuery main execution.

Parameters:
  • query - ConfdRequest 'query' field
Returns: (integer, undefined)
status and answer to give to the client
Overrides: ConfdQuery.Exec