Policies

Policies

The following is an overview of all available policies in ironic inspector. For a sample configuration file, refer to Ironic Inspector Policy.

ironic_inspector.api

is_admin
Default

role:admin or role:administrator or role:baremetal_admin

Full read/write API access

is_observer
Default

role:baremetal_observer

Read-only API access

public_api
Default

is_public_api:True

Internal flag for public API routes

default
Default

!

Default API access policy

introspection
Default

rule:public_api

Operations
  • GET /

Access the API root for available versions information

introspection:version
Default

rule:public_api

Operations
  • GET /{version}

Access the versioned API root for version information

introspection:continue
Default

rule:public_api

Operations
  • POST /continue

Ramdisk callback to continue introspection

introspection:status
Default

rule:is_admin or rule:is_observer

Operations
  • GET /introspection

  • GET /introspection/{node_id}

Get introspection status

introspection:start
Default

rule:is_admin

Operations
  • POST /introspection/{node_id}

Start introspection

introspection:abort
Default

rule:is_admin

Operations
  • POST /introspection/{node_id}/abort

Abort introspection

introspection:data
Default

rule:is_admin

Operations
  • GET /introspection/{node_id}/data

Get introspection data

introspection:reapply
Default

rule:is_admin

Operations
  • POST /introspection/{node_id}/data/unprocessed

Reapply introspection on stored data

introspection:rule:get
Default

rule:is_admin

Operations
  • GET /rules

  • GET /rules/{rule_id}

Get introspection rule(s)

introspection:rule:delete
Default

rule:is_admin

Operations
  • DELETE /rules

  • DELETE /rules/{rule_id}

Delete introspection rule(s)

introspection:rule:create
Default

rule:is_admin

Operations
  • POST /rules

Create introspection rule

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.