Revision b04285f2
b/lib/cmdlib.py | ||
---|---|---|
5349 | 5349 |
that node. |
5350 | 5350 |
|
5351 | 5351 |
""" |
5352 |
result = self.rpc.call_export_list(self.nodes) |
|
5353 |
result.Raise() |
|
5354 |
return result.data |
|
5352 |
rpcresult = self.rpc.call_export_list(self.nodes) |
|
5353 |
result = {} |
|
5354 |
for node in rpcresult: |
|
5355 |
if rpcresult[node].failed: |
|
5356 |
result[node] = False |
|
5357 |
else: |
|
5358 |
result[node] = rpcresult[node].data |
|
5359 |
|
|
5360 |
return result |
|
5355 | 5361 |
|
5356 | 5362 |
|
5357 | 5363 |
class LUExportInstance(LogicalUnit): |
Also available in: Unified diff