Retrieve a list of goals.
Parameters: |
|
---|---|
Return type: |
Retrieve information about the given goal.
Parameters: |
|
---|---|
Return type: |
Retrieve a list of goals with detail.
Parameters: |
|
---|---|
Return type: |
API representation of a collection of goals.
Data samples:
{
"goals": [
{
"display_name": "Dummy strategy",
"efficacy_specification": [
{
"description": "Dummy indicator",
"name": "dummy",
"schema": "Range(min=0, max=100, min_included=True, max_included=True, msg=None)",
"unit": "%"
}
],
"links": [
{
"href": "http://localhost:9322/v1/goals/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/goals/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"name": "DUMMY",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
]
}
Type: | list(Goal) |
---|
A list containing goals objects
API representation of a goal.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a goal.
Data samples:
{
"display_name": "Dummy strategy",
"efficacy_specification": [
{
"description": "Dummy indicator",
"name": "dummy",
"schema": "Range(min=0, max=100, min_included=True, max_included=True, msg=None)",
"unit": "%"
}
],
"links": [
{
"href": "http://localhost:9322/v1/goals/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/goals/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"name": "DUMMY",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
Type: | unicode |
---|
Localized name of the goal
Type: | json |
---|
Efficacy specification for this goal
Type: | list(Link) |
---|
A list containing a self link and associated audit template links
Type: | unicode |
---|
Name of the goal
Type: | uuid |
---|
Unique UUID for this goal
Retrieve a list of audit templates.
Parameters: |
|
---|---|
Return type: |
Retrieve information about the given audit template.
Parameters: |
|
---|---|
Return type: |
Create a new audit template.
Parameters: |
|
---|---|
Return type: |
Delete a audit template.
Parameters: |
|
---|
Update an existing audit template.
Parameters: |
|
---|---|
Return type: |
Retrieve a list of audit templates with detail.
Parameters: |
|
---|---|
Return type: |
API representation of a collection of audit templates.
Data samples:
{
"audit_templates": [
{
"goal_name": null,
"goal_uuid": null,
"host_aggregate": 5,
"links": [
{
"href": "http://localhost:9322/v1/audit_templates/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/audit_templates/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"name": "My Audit Template",
"strategy_name": null,
"strategy_uuid": null,
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
]
}
Type: | list(AuditTemplate) |
---|
A list containing audit templates objects
API representation of a audit template.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of an audit template.
Data samples:
{
"created_at": "2016-10-25T11:03:00.503949",
"deleted_at": null,
"description": "Description of my audit template",
"extra": {
"automatic": true
},
"goal_name": null,
"goal_uuid": null,
"host_aggregate": 5,
"links": [
{
"href": "http://localhost:9322/v1/audit_templates/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/audit_templates/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"name": "My Audit Template",
"strategy_name": null,
"strategy_uuid": null,
"updated_at": "2016-10-25T11:03:00.503951",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
Type: | list(Link) |
---|
Links to the collection of audits contained in this audit template
Type: | datetime |
---|
deadline of the audit template
Type: | unicode |
---|
Short description of this audit template
Type: | dict(unicode: json) |
---|
The metadata of the audit template
Type: | unicode |
---|
The name of the goal this audit template refers to
Type: | unicode |
---|
Goal UUID the audit template refers to
Type: | integer |
---|
ID of the Nova host aggregate targeted by the audit template
Type: | list(Link) |
---|
A list containing a self link and associated audit template links
Type: | unicode |
---|
Name of this audit template
Type: | unicode |
---|
The name of the strategy this audit template refers to
Type: | unicode |
---|
Strategy UUID the audit template refers to
Type: | uuid |
---|
Unique UUID for this audit template
Type: | unicode |
---|
Internal version of the audit template
Retrieve a list of audits.
Parameters: |
|
---|---|
Return type: |
Retrieve information about the given audit.
Parameters: |
|
---|---|
Return type: |
Create a new audit.
Parameters: |
|
---|---|
Return type: |
Delete a audit.
Parameters: |
|
---|
Update an existing audit.
Parameters: |
|
---|---|
Return type: |
Retrieve a list of audits with detail.
Parameters: |
|
---|---|
Return type: |
API representation of a collection of audits.
Data samples:
{
"audits": [
{
"audit_type": "ONESHOT",
"deadline": null,
"goal_name": null,
"goal_uuid": null,
"host_aggregate": 1,
"interval": 7200,
"links": [
{
"href": "http://localhost:9322/v1/audits/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/audits/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"state": "PENDING",
"strategy_name": null,
"strategy_uuid": null,
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
]
}
Type: | list(Audit) |
---|
A list containing audits objects
API representation of a audit.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a audit.
Data samples:
{
"audit_type": "ONESHOT",
"created_at": "2016-10-25T11:03:00.565943",
"deadline": null,
"deleted_at": null,
"goal_name": null,
"goal_uuid": null,
"host_aggregate": 1,
"interval": 7200,
"links": [
{
"href": "http://localhost:9322/v1/audits/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/audits/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"state": "PENDING",
"strategy_name": null,
"strategy_uuid": null,
"updated_at": "2016-10-25T11:03:00.565945",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
Type: | unicode |
---|
Type of this audit
Type: | datetime |
---|
deadline of the audit
Type: | unicode |
---|
The name of the goal this audit template refers to
Type: | unicode |
---|
Goal UUID the audit template refers to
Type: | integer |
---|
ID of the Nova host aggregate targeted by the audit template
Type: | int |
---|
Launch audit periodically (in seconds)
Type: | list(Link) |
---|
A list containing a self link and associated audit links
Type: | dict(unicode: json) |
---|
The strategy parameters for this audit
Type: | unicode |
---|
This audit state
Type: | unicode |
---|
The name of the strategy this audit template refers to
Type: | unicode |
---|
Strategy UUID the audit template refers to
Type: | uuid |
---|
Unique UUID for this audit
Retrieve a list of action plans.
Parameters: |
|
---|---|
Return type: |
Retrieve information about the given action plan.
Parameters: |
|
---|---|
Return type: |
Delete an action plan.
Parameters: |
|
---|
Update an existing action plan.
Parameters: |
|
---|---|
Return type: |
Retrieve a list of action_plans with detail.
Parameters: |
|
---|---|
Return type: |
API representation of a collection of action_plans.
Data samples:
{
"action_plans": [
{
"audit_uuid": "abcee106-14d3-4515-b744-5a26885cf6f6",
"efficacy_indicators": [
{
"description": "Test indicator",
"name": "test_indicator",
"unit": "%"
}
],
"first_action_uuid": "57eaf9ab-5aaa-4f7e-bdf7-9a140ac7a720",
"links": [
{
"href": "http://localhost:9322/v1/action_plans/9ef4d84c-41e8-4418-9220-ce55be0436af",
"rel": "self"
},
{
"href": "http://localhost:9322/action_plans/9ef4d84c-41e8-4418-9220-ce55be0436af",
"rel": "bookmark"
}
],
"state": "ONGOING",
"strategy_name": null,
"strategy_uuid": null,
"updated_at": "2016-10-25T11:03:00.626944",
"uuid": "9ef4d84c-41e8-4418-9220-ce55be0436af"
}
]
}
Type: | list(ActionPlan) |
---|
A list containing action_plans objects
API representation of a action plan.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of an action plan.
Data samples:
{
"audit_uuid": "abcee106-14d3-4515-b744-5a26885cf6f6",
"created_at": "2016-10-25T11:03:00.636467",
"deleted_at": null,
"efficacy_indicators": [
{
"description": "Test indicator",
"name": "test_indicator",
"unit": "%"
}
],
"first_action_uuid": "57eaf9ab-5aaa-4f7e-bdf7-9a140ac7a720",
"links": [
{
"href": "http://localhost:9322/v1/action_plans/9ef4d84c-41e8-4418-9220-ce55be0436af",
"rel": "self"
},
{
"href": "http://localhost:9322/action_plans/9ef4d84c-41e8-4418-9220-ce55be0436af",
"rel": "bookmark"
}
],
"state": "ONGOING",
"strategy_name": null,
"strategy_uuid": null,
"updated_at": "2016-10-25T11:03:00.636469",
"uuid": "9ef4d84c-41e8-4418-9220-ce55be0436af"
}
Type: | uuid |
---|
The UUID of the audit this port belongs to
Type: | json |
---|
The list of efficacy indicators associated to this action plan
Type: | uuid |
---|
The UUID of the first action this action plans links to
Type: | json |
---|
The global efficacy of this action plan
Type: | list(Link) |
---|
A list containing a self link and associated action links
Type: | unicode |
---|
This action plan state
Type: | unicode |
---|
The name of the strategy this action plan refers to
Type: | unicode |
---|
Strategy UUID the action plan refers to
Type: | uuid |
---|
Unique UUID for this action plan
Retrieve a list of actions.
Parameters: |
|
---|---|
Return type: |
Retrieve information about the given action.
Parameters: |
|
---|---|
Return type: |
Create a new action.
Parameters: |
|
---|---|
Return type: |
Delete a action.
Parameters: |
|
---|
Update an existing action.
Parameters: |
|
---|---|
Return type: |
Retrieve a list of actions with detail.
Parameters: |
|
---|---|
Return type: |
API representation of a collection of actions.
Data samples:
{
"actions": [
{
"action_plan_uuid": "7ae81bb3-dec3-4289-8d6c-da80bd8001ae",
"links": [
{
"href": "http://localhost:9322/v1/actions/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/actions/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"next_uuid": "7ae81bb3-dec3-4289-8d6c-da80bd8001ae",
"state": "PENDING",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
]
}
Type: | list(Action) |
---|
A list containing actions objects
API representation of a action.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a action.
Data samples:
{
"action_plan_uuid": "7ae81bb3-dec3-4289-8d6c-da80bd8001ae",
"created_at": "2016-10-25T11:03:00.689327",
"deleted_at": null,
"links": [
{
"href": "http://localhost:9322/v1/actions/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "self"
},
{
"href": "http://localhost:9322/actions/27e3153e-d5bf-4b7e-b517-fb518e17f34c",
"rel": "bookmark"
}
],
"next_uuid": "7ae81bb3-dec3-4289-8d6c-da80bd8001ae",
"state": "PENDING",
"updated_at": "2016-10-25T11:03:00.689330",
"uuid": "27e3153e-d5bf-4b7e-b517-fb518e17f34c"
}
Type: | uuid |
---|
The action plan this action belongs to
Type: | unicode |
---|
Action type
Type: | json |
---|
One or more key/value pairs
Type: | list(Link) |
---|
A list containing a self link and associated action links
Type: | uuid |
---|
This next action UUID
Type: | unicode |
---|
This audit state
Type: | uuid |
---|
Unique UUID for this action