This work is licensed under a Creative Commons Attribution 3.0 Unported License.
https://blueprints.launchpad.net/karbor/+spec/operation-engine-design
Operation Engine is one of components in Karbor, which is responsible for triggering the operations to execute when the time is up or event happens.
There are 5 relevant tables in the DB.
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| created_at | datetime | YES | NULL | ||
| updated_at | datetime | YES | NULL | ||
| deleted_at | datetime | YES | NULL | ||
| id | init(11) | NO | PRI | NULL | auto_increment |
| operation_id | varchar(36) | NO | NULL | ||
| service_id | int(11) | NO | NULL | ||
| state | varchar(32) | NO | NULL | values:
|
|
| deleted | tinyint(1) | NO | NULL |
FOREIGN KEY(operation_id) REFERENCES scheduled_operations(id) FOREIGN KEY(service_id) REFERENCES Services(id)
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| created_at | datetime | YES | NULL | ||
| updated_at | datetime | YES | NULL | ||
| deleted_at | datetime | YES | NULL | ||
| id | int(11) | NO | PRI | NULL | auto_increment |
| operation_id | varchar(36) | NO | NULL | ||
| expect_start_time | datetime | YES | NULL | ||
| triggered_time | datetime | YES | NULL | ||
| actual_start_time | datetime | YES | NULL | ||
| end_time | datetime | YES | NULL | ||
| state | varchar(32) | NO | NULL | values:
|
|
| extend_info | Text | YES | NULL | execution info | |
| deleted | tinyint(1) | NO | NULL |
FOREIGN KEY(operation_id) REFERENCES scheduled_operations(id)
instance:
| created_at | updated_at | deleted_at | id | operation_id | expect_start_time | triggered_time | actual_start_time | end_time | status | extend_info | deleted |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2016-01-01 01:00:02 | 2016-01-01 01:00:07 | NULL | 0 | 0354ca9ddcd046b693340d78759fd274 | 2016-01-01 01:00:00 | 2016-01-01 01:00:02 | 2016-01-01 01:00:05 | 2016-01-01 01:00:07 | success | NULL | 0 |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.