Revision 4e745e62 lib/rpc_defs.py
b/lib/rpc_defs.py | ||
---|---|---|
84 | 84 |
|
85 | 85 |
|
86 | 86 |
def _MigrationStatusPostProc(result): |
87 |
"""Post-processor for L{rpc.RpcRunner.call_instance_get_migration_status}.
|
|
87 |
"""Post-processor for L{RpcRunner.call_instance_get_migration_status}. |
|
88 | 88 |
|
89 | 89 |
""" |
90 | 90 |
if not result.fail_msg and result.payload is not None: |
... | ... | |
93 | 93 |
|
94 | 94 |
|
95 | 95 |
def _BlockdevFindPostProc(result): |
96 |
"""Post-processor for L{rpc.RpcRunner.call_blockdev_find}. |
|
96 |
"""Post-processor for L{rpc.node.RpcRunner.call_blockdev_find}.
|
|
97 | 97 |
|
98 | 98 |
""" |
99 | 99 |
if not result.fail_msg and result.payload is not None: |
... | ... | |
102 | 102 |
|
103 | 103 |
|
104 | 104 |
def _BlockdevGetMirrorStatusPostProc(result): |
105 |
"""Post-processor for L{rpc.RpcRunner.call_blockdev_getmirrorstatus}.
|
|
105 |
"""Post-processor for call_blockdev_getmirrorstatus.
|
|
106 | 106 |
|
107 | 107 |
""" |
108 | 108 |
if not result.fail_msg: |
... | ... | |
122 | 122 |
|
123 | 123 |
|
124 | 124 |
def _BlockdevGetMirrorStatusMultiPostProc(result): |
125 |
"""Post-processor for L{rpc.RpcRunner.call_blockdev_getmirrorstatus_multi}.
|
|
125 |
"""Post-processor for call_blockdev_getmirrorstatus_multi.
|
|
126 | 126 |
|
127 | 127 |
""" |
128 | 128 |
if not result.fail_msg: |
... | ... | |
145 | 145 |
|
146 | 146 |
|
147 | 147 |
def _OsGetPostProc(result): |
148 |
"""Post-processor for L{rpc.RpcRunner.call_os_get}. |
|
148 |
"""Post-processor for L{rpc.node.RpcRunner.call_os_get}.
|
|
149 | 149 |
|
150 | 150 |
""" |
151 | 151 |
if not result.fail_msg and isinstance(result.payload, dict): |
Also available in: Unified diff