Aodh Sample Policy Configuration File

Aodh Sample Policy Configuration File

The following is an overview of all available policies in Aodh. For a sample configuration file, refer to policy.yaml.

aodh

context_is_admin
Default:role:admin

(no description provided)

segregation
Default:rule:context_is_admin

(no description provided)

admin_or_owner
Default:rule:context_is_admin or project_id:%(project_id)s

(no description provided)

default
Default:rule:context_is_admin or project_id:%(project_id)s

(no description provided)

telemetry:get_alarm
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • GET /v2/alarms/{alarm_id}

Get an alarm.

telemetry:get_alarms
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • GET /v2/alarms

Get all alarms, based on the query provided.

telemetry:query_alarm
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • POST /v2/query/alarms

Get all alarms, based on the query provided.

telemetry:create_alarm
Default:

<empty string>

Operations:
  • POST /v2/alarms

Create a new alarm.

telemetry:change_alarm
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • PUT /v2/alarms/{alarm_id}

Modify this alarm.

telemetry:delete_alarm
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • DELETE /v2/alarms/{alarm_id}

Delete this alarm.

telemetry:get_alarm_state
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • GET /v2/alarms/{alarm_id}/state

Get the state of this alarm.

telemetry:change_alarm_state
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • PUT /v2/alarms/{alarm_id}/state

Set the state of this alarm.

telemetry:alarm_history
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • GET /v2/alarms/{alarm_id}/history

Assembles the alarm history requested.

telemetry:query_alarm_history
Default:

rule:context_is_admin or project_id:%(project_id)s

Operations:
  • POST /v2/query/alarms/history

Define query for retrieving AlarmChange data.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.