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

Module querylib

source code

Ganeti configuration daemon queries library.

Classes [hide private]
  ConfdQuery
Confd Query base class.
  PingQuery
An empty confd query.
  ClusterMasterQuery
Cluster master query.
  NodeRoleQuery
A query for the role of a node.
  InstanceIpToNodePrimaryIpQuery
A query for the location of one or more instance's ips.
  NodesPipsQuery
A query for nodes primary IPs.
  MasterCandidatesPipsQuery
A query for master candidates primary IPs.
  InstancesIpsQuery
A query for instances IPs.
Variables [hide private]
  QUERY_UNKNOWN_ENTRY_ERROR = constants.CONFD_REPL_STATUS_ERROR,...
  QUERY_INTERNAL_ERROR = constants.CONFD_REPL_STATUS_ERROR, cons...
  QUERY_ARGUMENT_ERROR = constants.CONFD_REPL_STATUS_ERROR, cons...

Imports: logging, constants


Variables Details [hide private]

QUERY_UNKNOWN_ENTRY_ERROR

Value:
constants.CONFD_REPL_STATUS_ERROR, constants.CONFD_ERROR_UNKNOWN_ENTRY

QUERY_INTERNAL_ERROR

Value:
constants.CONFD_REPL_STATUS_ERROR, constants.CONFD_ERROR_INTERNAL

QUERY_ARGUMENT_ERROR

Value:
constants.CONFD_REPL_STATUS_ERROR, constants.CONFD_ERROR_ARGUMENT