diff options
Diffstat (limited to 'iotronic/conductor/rpcapi.py')
-rw-r--r-- | iotronic/conductor/rpcapi.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/iotronic/conductor/rpcapi.py b/iotronic/conductor/rpcapi.py index 223c993..6dfebfd 100644 --- a/iotronic/conductor/rpcapi.py +++ b/iotronic/conductor/rpcapi.py | |||
@@ -263,3 +263,16 @@ class ConductorAPI(object): | |||
263 | 263 | ||
264 | return cctxt.call(context, 'action_service', service_uuid=service_uuid, | 264 | return cctxt.call(context, 'action_service', service_uuid=service_uuid, |
265 | board_uuid=board_uuid, action=action) | 265 | board_uuid=board_uuid, action=action) |
266 | |||
267 | def restore_services_on_board(self, context, | ||
268 | board_uuid, topic=None): | ||
269 | """Restore all the services on a board. | ||
270 | |||
271 | :param context: request context. | ||
272 | :param board_uuid: board id or uuid. | ||
273 | |||
274 | """ | ||
275 | cctxt = self.client.prepare(topic=topic or self.topic, version='1.0') | ||
276 | |||
277 | return cctxt.call(context, 'restore_services_on_board', | ||
278 | board_uuid=board_uuid) | ||