Commit 3a488770 authored by Iustin Pop's avatar Iustin Pop
Browse files

Some epydoc fixes


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 02c521e4
......@@ -94,7 +94,7 @@ class ConfdInotifyEventHandler(pyinotify.ProcessEvent):
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
......
......@@ -8,7 +8,7 @@ output: html
# 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
......
......@@ -1095,7 +1095,7 @@ class LUVerifyCluster(LogicalUnit):
"""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)
......@@ -4000,7 +4000,7 @@ def _CheckNodesFreeDisk(lu, nodenames, requested):
@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
......
......@@ -237,7 +237,7 @@ class BaseHypervisor(object):
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
......
......@@ -272,7 +272,7 @@ class ChrootManager(hv_base.BaseHypervisor):
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
......
......@@ -241,7 +241,7 @@ class FakeHypervisor(hv_base.BaseHypervisor):
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment