Add force field to api-ref
Change-Id: Iddea2359a13ba099e840b9501d4e9335905695f4 Implements: blueprint add-force-field-to-audit
This commit is contained in:
@@ -245,6 +245,13 @@ audit_endtime_resp:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
min_version: 1.1
|
min_version: 1.1
|
||||||
|
audit_force:
|
||||||
|
description: |
|
||||||
|
Launch audit even if action plan is ongoing.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
min_version: 1.2
|
||||||
audit_goal:
|
audit_goal:
|
||||||
description: |
|
description: |
|
||||||
The UUID or name of the Goal.
|
The UUID or name of the Goal.
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
||||||
"goal_name": "workload_balancing",
|
"goal_name": "workload_balancing",
|
||||||
"scope": [],
|
"scope": [],
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"audit_template_uuid": "76fddfee-a9c4-40b0-8da0-c19ad6904f09",
|
"audit_template_uuid": "76fddfee-a9c4-40b0-8da0-c19ad6904f09",
|
||||||
"name": "test_audit",
|
"name": "test_audit",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"audit_type": "ONESHOT",
|
"audit_type": "ONESHOT",
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": true,
|
||||||
"audit_template_uuid": "5e70a156-ced7-4012-b1c6-88fcb02ee0c1"
|
"audit_template_uuid": "5e70a156-ced7-4012-b1c6-88fcb02ee0c1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
||||||
"goal_name": "workload_balancing",
|
"goal_name": "workload_balancing",
|
||||||
"scope": [],
|
"scope": [],
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
||||||
"goal_name": "workload_balancing",
|
"goal_name": "workload_balancing",
|
||||||
"scope": [],
|
"scope": [],
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
||||||
"goal_name": "workload_balancing",
|
"goal_name": "workload_balancing",
|
||||||
"scope": [],
|
"scope": [],
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"auto_trigger": false,
|
"auto_trigger": false,
|
||||||
|
"force": false,
|
||||||
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
"uuid": "65a5da84-5819-4aea-8278-a28d2b489028",
|
||||||
"goal_name": "workload_balancing",
|
"goal_name": "workload_balancing",
|
||||||
"scope": [],
|
"scope": [],
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ Request
|
|||||||
- auto_trigger: audit_autotrigger
|
- auto_trigger: audit_autotrigger
|
||||||
- start_time: audit_starttime_req
|
- start_time: audit_starttime_req
|
||||||
- end_time: audit_endtime_req
|
- end_time: audit_endtime_req
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example ONESHOT Audit creation request:**
|
**Example ONESHOT Audit creation request:**
|
||||||
|
|
||||||
@@ -83,6 +84,7 @@ version 1:
|
|||||||
- hostname: audit_hostname
|
- hostname: audit_hostname
|
||||||
- start_time: audit_starttime_resp
|
- start_time: audit_starttime_resp
|
||||||
- end_time: audit_endtime_resp
|
- end_time: audit_endtime_resp
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example JSON representation of an Audit:**
|
**Example JSON representation of an Audit:**
|
||||||
|
|
||||||
@@ -181,6 +183,7 @@ Response
|
|||||||
- hostname: audit_hostname
|
- hostname: audit_hostname
|
||||||
- start_time: audit_starttime_resp
|
- start_time: audit_starttime_resp
|
||||||
- end_time: audit_endtime_resp
|
- end_time: audit_endtime_resp
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example JSON representation of an Audit:**
|
**Example JSON representation of an Audit:**
|
||||||
|
|
||||||
@@ -227,6 +230,7 @@ Response
|
|||||||
- hostname: audit_hostname
|
- hostname: audit_hostname
|
||||||
- start_time: audit_starttime_resp
|
- start_time: audit_starttime_resp
|
||||||
- end_time: audit_endtime_resp
|
- end_time: audit_endtime_resp
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example JSON representation of an Audit:**
|
**Example JSON representation of an Audit:**
|
||||||
|
|
||||||
@@ -281,6 +285,7 @@ version 1:
|
|||||||
- hostname: audit_hostname
|
- hostname: audit_hostname
|
||||||
- start_time: audit_starttime_resp
|
- start_time: audit_starttime_resp
|
||||||
- end_time: audit_endtime_resp
|
- end_time: audit_endtime_resp
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example JSON representation of an Audit:**
|
**Example JSON representation of an Audit:**
|
||||||
|
|
||||||
@@ -335,6 +340,7 @@ Response
|
|||||||
- hostname: audit_hostname
|
- hostname: audit_hostname
|
||||||
- start_time: audit_starttime_resp
|
- start_time: audit_starttime_resp
|
||||||
- end_time: audit_endtime_resp
|
- end_time: audit_endtime_resp
|
||||||
|
- force: audit_force
|
||||||
|
|
||||||
**Example JSON representation of an Audit:**
|
**Example JSON representation of an Audit:**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user