c4a30153f1
This patch set adds API microversion support along with the first API microversion: start/end time for CONTINUOUS audits. APIImpact Implements: blueprint api-microversioning Depends-On: I6bb838d777b2c7aa799a70485980e5dc87838456 Change-Id: I17309d80b637f02bc5e6d33294472e02add88f86
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"interval": "*/2 * * * *",
|
|
"strategy_uuid": "6b3b3902-8508-4cb0-bb85-67f32866b086",
|
|
"goal_uuid": "e1a5a45b-f251-47cf-9c5f-fa1e66e1286a",
|
|
"name": "audit1",
|
|
"parameters": {
|
|
"host_choice": "retry",
|
|
"instance_metrics": {
|
|
"cpu_util": "compute.node.cpu.percent",
|
|
"memory.resident": "hardware.memory.used"
|
|
},
|
|
"granularity": 300,
|
|
"weights": {
|
|
"cpu_util_weight": 1.0,
|
|
"memory.resident_weight": 1.0
|
|
},
|
|
"retry_count": 1,
|
|
"metrics": [
|
|
"cpu_util"
|
|
],
|
|
"periods": {
|
|
"instance": 720,
|
|
"node": 600
|
|
},
|
|
"thresholds": {
|
|
"cpu_util": 0.2,
|
|
"memory.resident": 0.2
|
|
}
|
|
},
|
|
"auto_trigger": false,
|
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
|
"goal_name": "workload_balancing",
|
|
"scope": [],
|
|
"created_at": "2018-04-06T07:27:27.820460+00:00",
|
|
"deleted_at": null,
|
|
"state": "CANCELLED",
|
|
"audit_type": "CONTINUOUS",
|
|
"links": [
|
|
{
|
|
"rel": "self",
|
|
"href": "http://controller:9322/v1/audits/65a5da84-5819-4aea-8278-a28d2b489028"
|
|
},
|
|
{
|
|
"rel": "bookmark",
|
|
"href": "http://controller:9322/audits/65a5da84-5819-4aea-8278-a28d2b489028"
|
|
}
|
|
],
|
|
"strategy_name": "workload_stabilization",
|
|
"next_run_time": "2018-04-06T11:56:00",
|
|
"updated_at": "2018-04-06T11:54:01.266447+00:00",
|
|
"hostname": "controller",
|
|
"start_time": null,
|
|
"end_time": null
|
|
}
|