karbor.services.operationengine.engine.executors.base
Module¶Executor which receives operations and run them.
karbor.services.operationengine.engine.executors.base.
BaseExecutor
(operation_manager)¶Bases: object
cancel_operation
(operation_id)¶Cancel the execution of operation.
There is no effective for the operations which are running, but for operations which are in waiting, they will not be executed.
Parameters: | operation_id – ID of operation |
---|
execute_operation
(operation_id, triggered_time, expect_start_time, window_time, **kwargs)¶Execute an operation.
Parameters: |
|
---|
resume_operation
(operation_id, **kwargs)¶Resume operations.
Get operations which are not finished from DB by operation_id, and execute them again.
Parameters: | operation_id – ID of operation |
---|
shutdown
()¶Shutdown the executor
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.