Tacker Policies

The following is an overview of all available policies in Tacker. For a sample configuration file, refer to Sample Tacker Policy File.

tacker

context_is_admin
Default

role:admin

Decides what is required for the ‘is_admin:True’ check to succeed.

admin_or_owner
Default

is_admin:True or tenant_id:%(tenant_id)s

Default rule for most non-Admin APIs.

admin_only
Default

is_admin:True

Default rule for most Admin APIs.

shared
Default

field:vims:shared=True

Default rule for sharing vims.

default
Default

rule:admin_or_owner

Default rule for most non-Admin APIs.

os_nfv_orchestration_api:vnf_packages:create
Default

rule:admin_or_owner

Operations
  • POST /vnf_packages

Creates a vnf package.

os_nfv_orchestration_api:vnf_packages:show
Default

rule:admin_or_owner

Operations
  • GET /vnf_packages/{vnf_package_id}

Show a vnf package.

os_nfv_orchestration_api:vnf_packages:index
Default

rule:admin_or_owner

Operations
  • GET /vnf_packages/

List all vnf packages.

os_nfv_orchestration_api:vnf_packages:delete
Default

rule:admin_or_owner

Operations
  • DELETE /vnf_packages/{vnf_package_id}

Delete a vnf package.

os_nfv_orchestration_api:vnf_packages:upload_package_content
Default

rule:admin_or_owner

Operations
  • PUT /vnf_packages/{vnf_package_id}/package_content

upload a vnf package content.

os_nfv_orchestration_api:vnf_packages:upload_from_uri
Default

rule:admin_or_owner

Operations
  • POST /vnf_packages/{vnf_package_id}/package_content/upload_from_uri

upload a vnf package content from uri.