Revision 6af6270a
b/lib/rpc.py | ||
---|---|---|
289 | 289 |
def _ConnectList(self, client, node_list, call): |
290 | 290 |
"""Helper for computing node addresses. |
291 | 291 |
|
292 |
@type client: L{Client} |
|
292 |
@type client: L{ganeti.rpc.Client}
|
|
293 | 293 |
@param client: a C{Client} instance |
294 | 294 |
@type node_list: list |
295 | 295 |
@param node_list: the node list we should connect |
... | ... | |
319 | 319 |
def _ConnectNode(self, client, node, call): |
320 | 320 |
"""Helper for computing one node's address. |
321 | 321 |
|
322 |
@type client: L{Client} |
|
322 |
@type client: L{ganeti.rpc.Client}
|
|
323 | 323 |
@param client: a C{Client} instance |
324 | 324 |
@type node: str |
325 | 325 |
@param node: the node we should connect |
b/scripts/gnt-instance | ||
---|---|---|
160 | 160 |
This function will raise an OpPrereqError in case they don't |
161 | 161 |
exist. Otherwise it will exit cleanly. |
162 | 162 |
|
163 |
@type client: L{luxi.Client} |
|
163 |
@type client: L{ganeti.luxi.Client}
|
|
164 | 164 |
@param client: the client to use for the query |
165 | 165 |
@type names: list |
166 | 166 |
@param names: the list of instance names to query |
Also available in: Unified diff