Revision 3a488770
b/daemons/ganeti-confd | ||
---|---|---|
94 | 94 |
filename=constants.CLUSTER_CONF_FILE): |
95 | 95 |
"""Constructor for ConfdInotifyEventHandler |
96 | 96 |
|
97 |
@type watch_manager: L{pyinotify.WatchManager}
|
|
97 |
@type watch_manager: pyinotify.WatchManager
|
|
98 | 98 |
@param watch_manager: ganeti-confd inotify watch manager |
99 | 99 |
@type callback: function accepting a boolean |
100 | 100 |
@param callback: function to call when an inotify event happens |
b/epydoc.conf | ||
---|---|---|
8 | 8 |
# note: the wildcards means the directories should be cleaned up after each |
9 | 9 |
# run, otherwise there will be stale '*c' (compiled) files that will not be |
10 | 10 |
# parsable and will break the epydoc run |
11 |
modules: ganeti, scripts/gnt-*, daemons/ganeti-*
|
|
11 |
modules: ganeti, scripts/gnt-*, daemons/ganeti-confd, daemons/ganeti-masterd, daemons/ganeti-noded, daemons/ganeti-rapi, daemons/ganeti-watcher
|
|
12 | 12 |
|
13 | 13 |
graph: all |
14 | 14 |
|
b/lib/cmdlib.py | ||
---|---|---|
1095 | 1095 |
"""A class representing the logical and physical status of a node. |
1096 | 1096 |
|
1097 | 1097 |
@ivar volumes: a structure as returned from |
1098 |
L{ganeti.utils.GetVolumeList} (runtime)
|
|
1098 |
L{ganeti.backend.GetVolumeList} (runtime)
|
|
1099 | 1099 |
@ivar instances: a list of running instances (runtime) |
1100 | 1100 |
@ivar pinst: list of configured primary instances (config) |
1101 | 1101 |
@ivar sinst: list of configured secondary instances (config) |
... | ... | |
4000 | 4000 |
@type lu: C{LogicalUnit} |
4001 | 4001 |
@param lu: a logical unit from which we get configuration data |
4002 | 4002 |
@type nodenames: C{list} |
4003 |
@param node: the list of node names to check |
|
4003 |
@param nodenames: the list of node names to check
|
|
4004 | 4004 |
@type requested: C{int} |
4005 | 4005 |
@param requested: the amount of disk in MiB to check for |
4006 | 4006 |
@raise errors.OpPrereqError: if the node doesn't have enough disk, or |
b/lib/hypervisor/hv_base.py | ||
---|---|---|
237 | 237 |
def MigrateInstance(self, instance, target, live): |
238 | 238 |
"""Migrate an instance. |
239 | 239 |
|
240 |
@type instance: L{object.Instance} |
|
240 |
@type instance: L{objects.Instance}
|
|
241 | 241 |
@param instance: the instance to be migrated |
242 | 242 |
@type target: string |
243 | 243 |
@param target: hostname (usually ip) of the target node |
b/lib/hypervisor/hv_chroot.py | ||
---|---|---|
272 | 272 |
def MigrateInstance(self, instance, target, live): |
273 | 273 |
"""Migrate an instance. |
274 | 274 |
|
275 |
@type instance: L{object.Instance} |
|
275 |
@type instance: L{objects.Instance}
|
|
276 | 276 |
@param instance: the instance to be migrated |
277 | 277 |
@type target: string |
278 | 278 |
@param target: hostname (usually ip) of the target node |
b/lib/hypervisor/hv_fake.py | ||
---|---|---|
241 | 241 |
def MigrateInstance(self, instance, target, live): |
242 | 242 |
"""Migrate an instance. |
243 | 243 |
|
244 |
@type instance: L{object.Instance} |
|
244 |
@type instance: L{objects.Instance}
|
|
245 | 245 |
@param instance: the instance to be migrated |
246 | 246 |
@type target: string |
247 | 247 |
@param target: hostname (usually ip) of the target node |
Also available in: Unified diff