filename=constants.CLUSTER_CONF_FILE):
"""Constructor for ConfdInotifyEventHandler
- @type watch_manager: L{pyinotify.WatchManager}
+ @type watch_manager: pyinotify.WatchManager
@param watch_manager: ganeti-confd inotify watch manager
@type callback: function accepting a boolean
@param callback: function to call when an inotify event happens
# note: the wildcards means the directories should be cleaned up after each
# run, otherwise there will be stale '*c' (compiled) files that will not be
# parsable and will break the epydoc run
-modules: ganeti, scripts/gnt-*, daemons/ganeti-*
+modules: ganeti, scripts/gnt-*, daemons/ganeti-confd, daemons/ganeti-masterd, daemons/ganeti-noded, daemons/ganeti-rapi, daemons/ganeti-watcher
graph: all
"""A class representing the logical and physical status of a node.
@ivar volumes: a structure as returned from
- L{ganeti.utils.GetVolumeList} (runtime)
+ L{ganeti.backend.GetVolumeList} (runtime)
@ivar instances: a list of running instances (runtime)
@ivar pinst: list of configured primary instances (config)
@ivar sinst: list of configured secondary instances (config)
@type lu: C{LogicalUnit}
@param lu: a logical unit from which we get configuration data
@type nodenames: C{list}
- @param node: the list of node names to check
+ @param nodenames: the list of node names to check
@type requested: C{int}
@param requested: the amount of disk in MiB to check for
@raise errors.OpPrereqError: if the node doesn't have enough disk, or
def MigrateInstance(self, instance, target, live):
"""Migrate an instance.
- @type instance: L{object.Instance}
+ @type instance: L{objects.Instance}
@param instance: the instance to be migrated
@type target: string
@param target: hostname (usually ip) of the target node
def MigrateInstance(self, instance, target, live):
"""Migrate an instance.
- @type instance: L{object.Instance}
+ @type instance: L{objects.Instance}
@param instance: the instance to be migrated
@type target: string
@param target: hostname (usually ip) of the target node
def MigrateInstance(self, instance, target, live):
"""Migrate an instance.
- @type instance: L{object.Instance}
+ @type instance: L{objects.Instance}
@param instance: the instance to be migrated
@type target: string
@param target: hostname (usually ip) of the target node