The following is an overview of all available policies in Ironic. For a sample configuration file, refer to Ironic Policy.
admin_api
Default: | role:admin or role:administrator |
---|
Legacy rule for cloud admin access
public_api
Default: | is_public_api:True |
---|
Internal flag for public API routes
show_password
Default: | ! |
---|
Show or mask secrets within node driver information in API responses
show_instance_secrets
Default: | ! |
---|
Show or mask secrets within instance information in API responses
is_member
Default: | (project_domain_id:default or project_domain_id:None) and (project_name:demo or project_name:baremetal) |
---|
May be used to restrict access to specific projects
is_observer
Default: | rule:is_member and (role:observer or role:baremetal_observer) |
---|
Read-only API access
is_admin
Default: | rule:admin_api or (rule:is_member and role:baremetal_admin) |
---|
Full read/write API access
baremetal:node:create
Default: |
|
---|---|
Operations: |
|
Create Node records
baremetal:node:get
Default: |
|
---|---|
Operations: |
|
Retrieve Node records
baremetal:node:update
Default: |
|
---|---|
Operations: |
|
Update Node records
baremetal:node:delete
Default: |
|
---|---|
Operations: |
|
Delete Node records
baremetal:node:validate
Default: |
|
---|---|
Operations: |
|
Request active validation of Nodes
baremetal:node:set_maintenance
Default: |
|
---|---|
Operations: |
|
Set maintenance flag, taking a Node out of service
baremetal:node:clear_maintenance
Default: |
|
---|---|
Operations: |
|
Clear maintenance flag, placing the Node into service again
baremetal:node:get_boot_device
Default: |
|
---|---|
Operations: |
|
Retrieve Node boot device metadata
baremetal:node:set_boot_device
Default: |
|
---|---|
Operations: |
|
Change Node boot device
baremetal:node:inject_nmi
Default: |
|
---|---|
Operations: |
|
Inject NMI for a node
baremetal:node:get_states
Default: |
|
---|---|
Operations: |
|
View Node power and provision state
baremetal:node:set_power_state
Default: |
|
---|---|
Operations: |
|
Change Node power status
baremetal:node:set_provision_state
Default: |
|
---|---|
Operations: |
|
Change Node provision status
baremetal:node:set_raid_state
Default: |
|
---|---|
Operations: |
|
Change Node RAID status
baremetal:node:get_console
Default: |
|
---|---|
Operations: |
|
Get Node console connection information
baremetal:node:set_console_state
Default: |
|
---|---|
Operations: |
|
Change Node console status
baremetal:node:vif:list
Default: |
|
---|---|
Operations: |
|
List VIFs attached to node
baremetal:node:vif:attach
Default: |
|
---|---|
Operations: |
|
Attach a VIF to a node
baremetal:node:vif:detach
Default: |
|
---|---|
Operations: |
|
Detach a VIF from a node
baremetal:node:traits:list
Default: |
|
---|---|
Operations: |
|
List node traits
baremetal:node:traits:set
Default: |
|
---|---|
Operations: |
|
Add a trait to, or replace all traits of, a node
baremetal:node:traits:delete
Default: |
|
---|---|
Operations: |
|
Remove one or all traits from a node
baremetal:node:bios:get
Default: |
|
---|---|
Operations: |
|
Retrieve Node BIOS information
baremetal:port:get
Default: |
|
---|---|
Operations: |
|
Retrieve Port records
baremetal:port:create
Default: |
|
---|---|
Operations: |
|
Create Port records
baremetal:port:delete
Default: |
|
---|---|
Operations: |
|
Delete Port records
baremetal:port:update
Default: |
|
---|---|
Operations: |
|
Update Port records
baremetal:portgroup:get
Default: |
|
---|---|
Operations: |
|
Retrieve Portgroup records
baremetal:portgroup:create
Default: |
|
---|---|
Operations: |
|
Create Portgroup records
baremetal:portgroup:delete
Default: |
|
---|---|
Operations: |
|
Delete Portgroup records
baremetal:portgroup:update
Default: |
|
---|---|
Operations: |
|
Update Portgroup records
baremetal:chassis:get
Default: |
|
---|---|
Operations: |
|
Retrieve Chassis records
baremetal:chassis:create
Default: |
|
---|---|
Operations: |
|
Create Chassis records
baremetal:chassis:delete
Default: |
|
---|---|
Operations: |
|
Delete Chassis records
baremetal:chassis:update
Default: |
|
---|---|
Operations: |
|
Update Chassis records
baremetal:driver:get
Default: |
|
---|---|
Operations: |
|
View list of available drivers
baremetal:driver:get_properties
Default: |
|
---|---|
Operations: |
|
View driver-specific properties
baremetal:driver:get_raid_logical_disk_properties
Default: |
|
---|---|
Operations: |
|
View driver-specific RAID metadata
baremetal:node:vendor_passthru
Default: |
|
---|---|
Operations: |
|
Access vendor-specific Node functions
baremetal:driver:vendor_passthru
Default: |
|
---|---|
Operations: |
|
Access vendor-specific Driver functions
baremetal:node:ipa_heartbeat
Default: |
|
---|---|
Operations: |
|
Send heartbeats from IPA ramdisk
baremetal:driver:ipa_lookup
Default: |
|
---|---|
Operations: |
|
Access IPA ramdisk functions
baremetal:volume:get
Default: |
|
---|---|
Operations: |
|
Retrieve Volume connector and target records
baremetal:volume:create
Default: |
|
---|---|
Operations: |
|
Create Volume connector and target records
baremetal:volume:delete
Default: |
|
---|---|
Operations: |
|
Delete Volume connector and target records
baremetal:volume:update
Default: |
|
---|---|
Operations: |
|
Update Volume connector and target records
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.