The following is an overview of all available policies in neutron. For a sample configuration file, refer to Sample Policy File.
context_is_admin| Default: | role:admin |
|---|
Rule for cloud admin access
owner| Default: | tenant_id:%(tenant_id)s |
|---|
Rule for resource owner access
admin_or_owner| Default: | rule:context_is_admin or rule:owner |
|---|
Rule for admin or owner access
context_is_advsvc| Default: | role:advsvc |
|---|
Rule for advsvc role access
admin_or_network_owner| Default: | rule:context_is_admin or tenant_id:%(network:tenant_id)s |
|---|
Rule for admin or network owner access
admin_owner_or_network_owner| Default: | rule:owner or rule:admin_or_network_owner |
|---|
Rule for resource owner, admin or network owner access
admin_only| Default: | rule:context_is_admin |
|---|
Rule for admin-only access
regular_user| Default: | <empty string> |
|---|
Rule for regular user access
shared| Default: | field:networks:shared=True |
|---|
Rule of shared network
default| Default: | rule:admin_or_owner |
|---|
Default access rule
admin_or_ext_parent_owner| Default: | rule:context_is_admin or tenant_id:%(ext_parent:tenant_id)s |
|---|
Rule for common parent owner check
shared_address_scopes| Default: | field:address_scopes:shared=True |
|---|
Definition of a shared address scope
create_address_scope| Default: |
|
|---|---|
| Operations: |
|
Create an address scope
create_address_scope:shared| Default: |
|
|---|---|
| Operations: |
|
Create a shared address scope
get_address_scope| Default: |
|
|---|---|
| Operations: |
|
Get an address scope
update_address_scope| Default: |
|
|---|---|
| Operations: |
|
Update an address scope
update_address_scope:shared| Default: |
|
|---|---|
| Operations: |
|
Update shared attribute of an address scope
delete_address_scope| Default: |
|
|---|---|
| Operations: |
|
Delete an address scope
get_agent| Default: |
|
|---|---|
| Operations: |
|
Get an agent
update_agent| Default: |
|
|---|---|
| Operations: |
|
Update an agent
delete_agent| Default: |
|
|---|---|
| Operations: |
|
Delete an agent
create_dhcp-network| Default: |
|
|---|---|
| Operations: |
|
Add a network to a DHCP agent
get_dhcp-networks| Default: |
|
|---|---|
| Operations: |
|
List networks on a DHCP agent
delete_dhcp-network| Default: |
|
|---|---|
| Operations: |
|
Remove a network from a DHCP agent
create_l3-router| Default: |
|
|---|---|
| Operations: |
|
Add a router to an L3 agent
get_l3-routers| Default: |
|
|---|---|
| Operations: |
|
List routers on an L3 agent
delete_l3-router| Default: |
|
|---|---|
| Operations: |
|
Remove a router from an L3 agent
get_dhcp-agents| Default: |
|
|---|---|
| Operations: |
|
List DHCP agents hosting a network
get_l3-agents| Default: |
|
|---|---|
| Operations: |
|
List L3 agents hosting a router
get_agent-loadbalancers| Default: |
|
|---|---|
| Operations: |
|
List load balancers on an LBaaS v2 agent
get_loadbalancer-hosting-agent| Default: |
|
|---|---|
| Operations: |
|
List LBaaS v2 agents hosting a load balancer
get_auto_allocated_topology| Default: |
|
|---|---|
| Operations: |
|
Get a project’s auto-allocated topology
delete_auto_allocated_topology| Default: |
|
|---|---|
| Operations: |
|
Delete a project’s auto-allocated topology
get_availability_zone| Default: |
|
|---|---|
| Operations: |
|
List availability zones
create_flavor| Default: |
|
|---|---|
| Operations: |
|
Create a flavor
get_flavor| Default: |
|
|---|---|
| Operations: |
|
Get a flavor
update_flavor| Default: |
|
|---|---|
| Operations: |
|
Update a flavor
delete_flavor| Default: |
|
|---|---|
| Operations: |
|
Delete a flavor
create_service_profile| Default: |
|
|---|---|
| Operations: |
|
Create a service profile
get_service_profile| Default: |
|
|---|---|
| Operations: |
|
Get a service profile
update_service_profile| Default: |
|
|---|---|
| Operations: |
|
Update a service profile
delete_service_profile| Default: |
|
|---|---|
| Operations: |
|
Delete a service profile
get_flavor_service_profile| Default: | rule:regular_user |
|---|
Get a flavor associated with a given service profiles. There is no corresponding GET operations in API currently. This rule is currently referred only in the DELETE of flavor_service_profile.
create_flavor_service_profile| Default: |
|
|---|---|
| Operations: |
|
Associate a flavor with a service profile
delete_flavor_service_profile| Default: |
|
|---|---|
| Operations: |
|
Disassociate a flavor with a service profile
create_floatingip| Default: |
|
|---|---|
| Operations: |
|
Create a floating IP
create_floatingip:floating_ip_address| Default: |
|
|---|---|
| Operations: |
|
Create a floating IP with a specific IP address
get_floatingip| Default: |
|
|---|---|
| Operations: |
|
Get a floating IP
update_floatingip| Default: |
|
|---|---|
| Operations: |
|
Update a floating IP
delete_floatingip| Default: |
|
|---|---|
| Operations: |
|
Delete a floating IP
get_floatingip_pool| Default: |
|
|---|---|
| Operations: |
|
Get floating IP pools
create_floatingip_port_forwarding| Default: |
|
|---|---|
| Operations: |
|
Create a floating IP port forwarding
get_floatingip_port_forwarding| Default: |
|
|---|---|
| Operations: |
|
Get a floating IP port forwarding
update_floatingip_port_forwarding| Default: |
|
|---|---|
| Operations: |
|
Update a floating IP port forwarding
delete_floatingip_port_forwarding| Default: |
|
|---|---|
| Operations: |
|
Delete a floating IP port forwarding
get_loggable_resource| Default: |
|
|---|---|
| Operations: |
|
Get loggable resources
create_log| Default: |
|
|---|---|
| Operations: |
|
Create a network log
get_log| Default: |
|
|---|---|
| Operations: |
|
Get a network log
update_log| Default: |
|
|---|---|
| Operations: |
|
Update a network log
delete_log| Default: |
|
|---|---|
| Operations: |
|
Delete a network log
create_metering_label| Default: |
|
|---|---|
| Operations: |
|
Create a metering label
get_metering_label| Default: |
|
|---|---|
| Operations: |
|
Get a metering label
delete_metering_label| Default: |
|
|---|---|
| Operations: |
|
Delete a metering label
create_metering_label_rule| Default: |
|
|---|---|
| Operations: |
|
Create a metering label rule
get_metering_label_rule| Default: |
|
|---|---|
| Operations: |
|
Get a metering label rule
delete_metering_label_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a metering label rule
external| Default: | field:networks:router:external=True |
|---|
Definition of an external network
create_network| Default: |
|
|---|---|
| Operations: |
|
Create a network
create_network:shared| Default: |
|
|---|---|
| Operations: |
|
Create a shared network
create_network:router:external| Default: |
|
|---|---|
| Operations: |
|
Create an external network
create_network:is_default| Default: |
|
|---|---|
| Operations: |
|
Specify is_default attribute when creating a network
create_network:port_security_enabled| Default: |
|
|---|---|
| Operations: |
|
Specify port_security_enabled attribute when creating a network
create_network:segments| Default: |
|
|---|---|
| Operations: |
|
Specify segments attribute when creating a network
create_network:provider:network_type| Default: |
|
|---|---|
| Operations: |
|
Specify provider:network_type when creating a network
create_network:provider:physical_network| Default: |
|
|---|---|
| Operations: |
|
Specify provider:physical_network when creating a network
create_network:provider:segmentation_id| Default: |
|
|---|---|
| Operations: |
|
Specify provider:segmentation_id when creating a network
get_network| Default: |
|
|---|---|
| Operations: |
|
Get a network
get_network:router:external| Default: |
|
|---|---|
| Operations: |
|
Get router:external attribute of a network
get_network:segments| Default: |
|
|---|---|
| Operations: |
|
Get segments attribute of a network
get_network:provider:network_type| Default: |
|
|---|---|
| Operations: |
|
Get provider:network_type attribute of a network
get_network:provider:physical_network| Default: |
|
|---|---|
| Operations: |
|
Get provider:physical_network attribute of a network
get_network:provider:segmentation_id| Default: |
|
|---|---|
| Operations: |
|
Get provider:segmentation_id attribute of a network
update_network| Default: |
|
|---|---|
| Operations: |
|
Update a network
update_network:segments| Default: |
|
|---|---|
| Operations: |
|
Update segments attribute of a network
update_network:shared| Default: |
|
|---|---|
| Operations: |
|
Update shared attribute of a network
update_network:provider:network_type| Default: |
|
|---|---|
| Operations: |
|
Update provider:network_type attribute of a network
update_network:provider:physical_network| Default: |
|
|---|---|
| Operations: |
|
Update provider:physical_network attribute of a network
update_network:provider:segmentation_id| Default: |
|
|---|---|
| Operations: |
|
Update provider:segmentation_id attribute of a network
update_network:router:external| Default: |
|
|---|---|
| Operations: |
|
Update router:external attribute of a network
update_network:is_default| Default: |
|
|---|---|
| Operations: |
|
Update is_default attribute of a network
update_network:port_security_enabled| Default: |
|
|---|---|
| Operations: |
|
Update port_security_enabled attribute of a network
delete_network| Default: |
|
|---|---|
| Operations: |
|
Delete a network
get_network_ip_availability| Default: |
|
|---|---|
| Operations: |
|
Get network IP availability
create_network_segment_range| Default: |
|
|---|---|
| Operations: |
|
Create a network segment range
get_network_segment_range| Default: |
|
|---|---|
| Operations: |
|
Get a network segment range
update_network_segment_range| Default: |
|
|---|---|
| Operations: |
|
Update a network segment range
delete_network_segment_range| Default: |
|
|---|---|
| Operations: |
|
Delete a network segment range
network_device| Default: | field:port:device_owner=~^network: |
|---|
Definition of port with network device_owner
admin_or_data_plane_int| Default: | rule:context_is_admin or role:data_plane_integrator |
|---|
Rule for data plane integration
create_port| Default: |
|
|---|---|
| Operations: |
|
Create a port
create_port:device_owner| Default: |
|
|---|---|
| Operations: |
|
Specify device_owner attribute when creting a port
create_port:mac_address| Default: |
|
|---|---|
| Operations: |
|
Specify mac_address attribute when creating a port
create_port:fixed_ips| Default: |
|
|---|---|
| Operations: |
|
Specify fixed_ips information when creating a port
create_port:fixed_ips:ip_address| Default: |
|
|---|---|
| Operations: |
|
Specify IP address in fixed_ips when creating a port
create_port:fixed_ips:subnet_id| Default: |
|
|---|---|
| Operations: |
|
Specify subnet ID in fixed_ips when creating a port
create_port:port_security_enabled| Default: |
|
|---|---|
| Operations: |
|
Specify port_security_enabled attribute when creating a port
create_port:binding:host_id| Default: |
|
|---|---|
| Operations: |
|
Specify binding:host_id attribute when creating a port
create_port:binding:profile| Default: |
|
|---|---|
| Operations: |
|
Specify binding:profile attribute when creating a port
create_port:binding:vnic_type| Default: |
|
|---|---|
| Operations: |
|
Specify binding:vnic_type attribute when creating a port
create_port:allowed_address_pairs| Default: |
|
|---|---|
| Operations: |
|
Specify allowed_address_pairs attribute when creating a port
create_port:allowed_address_pairs:mac_address| Default: |
|
|---|---|
| Operations: |
|
Specify mac_address` of `allowed_address_pairs attribute when creating a port
create_port:allowed_address_pairs:ip_address| Default: |
|
|---|---|
| Operations: |
|
Specify ip_address of allowed_address_pairs attribute when creating a port
get_port| Default: |
|
|---|---|
| Operations: |
|
Get a port
get_port:binding:vif_type| Default: |
|
|---|---|
| Operations: |
|
Get binding:vif_type attribute of a port
get_port:binding:vif_details| Default: |
|
|---|---|
| Operations: |
|
Get binding:vif_details attribute of a port
get_port:binding:host_id| Default: |
|
|---|---|
| Operations: |
|
Get binding:host_id attribute of a port
get_port:binding:profile| Default: |
|
|---|---|
| Operations: |
|
Get binding:profile attribute of a port
get_port:resource_request| Default: |
|
|---|---|
| Operations: |
|
Get resource_request attribute of a port
update_port| Default: |
|
|---|---|
| Operations: |
|
Update a port
update_port:device_owner| Default: |
|
|---|---|
| Operations: |
|
Update device_owner attribute of a port
update_port:mac_address| Default: |
|
|---|---|
| Operations: |
|
Update mac_address attribute of a port
update_port:fixed_ips| Default: |
|
|---|---|
| Operations: |
|
Specify fixed_ips information when updating a port
update_port:fixed_ips:ip_address| Default: |
|
|---|---|
| Operations: |
|
Specify IP address in fixed_ips information when updating a port
update_port:fixed_ips:subnet_id| Default: |
|
|---|---|
| Operations: |
|
Specify subnet ID in fixed_ips information when updating a port
update_port:port_security_enabled| Default: |
|
|---|---|
| Operations: |
|
Update port_security_enabled attribute of a port
update_port:binding:host_id| Default: |
|
|---|---|
| Operations: |
|
Update binding:host_id attribute of a port
update_port:binding:profile| Default: |
|
|---|---|
| Operations: |
|
Update binding:profile attribute of a port
update_port:binding:vnic_type| Default: |
|
|---|---|
| Operations: |
|
Update binding:vnic_type attribute of a port
update_port:allowed_address_pairs| Default: |
|
|---|---|
| Operations: |
|
Update allowed_address_pairs attribute of a port
update_port:allowed_address_pairs:mac_address| Default: |
|
|---|---|
| Operations: |
|
Update mac_address of allowed_address_pairs attribute of a port
update_port:allowed_address_pairs:ip_address| Default: |
|
|---|---|
| Operations: |
|
Update ip_address of allowed_address_pairs attribute of a port
update_port:data_plane_status| Default: |
|
|---|---|
| Operations: |
|
Update data_plane_status attribute of a port
delete_port| Default: |
|
|---|---|
| Operations: |
|
Delete a port
get_policy| Default: |
|
|---|---|
| Operations: |
|
Get QoS policies
create_policy| Default: |
|
|---|---|
| Operations: |
|
Create a QoS policy
update_policy| Default: |
|
|---|---|
| Operations: |
|
Update a QoS policy
delete_policy| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS policy
get_rule_type| Default: |
|
|---|---|
| Operations: |
|
Get available QoS rule types
get_policy_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS bandwidth limit rule
create_policy_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Create a QoS bandwidth limit rule
update_policy_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS bandwidth limit rule
delete_policy_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS bandwidth limit rule
get_policy_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS DSCP marking rule
create_policy_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Create a QoS DSCP marking rule
update_policy_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS DSCP marking rule
delete_policy_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS DSCP marking rule
get_policy_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS minimum bandwidth rule
create_policy_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Create a QoS minimum bandwidth rule
update_policy_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS minimum bandwidth rule
delete_policy_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS minimum bandwidth rule
get_alias_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS bandwidth limit rule through alias
update_alias_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS bandwidth limit rule through alias
delete_alias_bandwidth_limit_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS bandwidth limit rule through alias
get_alias_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS DSCP marking rule through alias
update_alias_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS DSCP marking rule through alias
delete_alias_dscp_marking_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS DSCP marking rule through alias
get_alias_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Get a QoS minimum bandwidth rule through alias
update_alias_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Update a QoS minimum bandwidth rule through alias
delete_alias_minimum_bandwidth_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a QoS minimum bandwidth rule through alias
restrict_wildcard| Default: | (not field:rbac_policy:target_tenant=*) or rule:admin_only |
|---|
Definition of a wildcard target_tenant
create_rbac_policy| Default: |
|
|---|---|
| Operations: |
|
Create an RBAC policy
create_rbac_policy:target_tenant| Default: |
|
|---|---|
| Operations: |
|
Specify target_tenant when creating an RBAC policy
update_rbac_policy| Default: |
|
|---|---|
| Operations: |
|
Update an RBAC policy
update_rbac_policy:target_tenant| Default: |
|
|---|---|
| Operations: |
|
Update target_tenant attribute of an RBAC policy
get_rbac_policy| Default: |
|
|---|---|
| Operations: |
|
Get an RBAC policy
delete_rbac_policy| Default: |
|
|---|---|
| Operations: |
|
Delete an RBAC policy
create_router| Default: |
|
|---|---|
| Operations: |
|
Create a router
create_router:distributed| Default: |
|
|---|---|
| Operations: |
|
Specify distributed attribute when creating a router
create_router:ha| Default: |
|
|---|---|
| Operations: |
|
Specify ha attribute when creating a router
create_router:external_gateway_info| Default: |
|
|---|---|
| Operations: |
|
Specify external_gateway_info information when creating a router
create_router:external_gateway_info:network_id| Default: |
|
|---|---|
| Operations: |
|
Specify network_id in external_gateway_info information when creating a router
create_router:external_gateway_info:enable_snat| Default: |
|
|---|---|
| Operations: |
|
Specify enable_snat in external_gateway_info information when creating a router
create_router:external_gateway_info:external_fixed_ips| Default: |
|
|---|---|
| Operations: |
|
Specify external_fixed_ips in external_gateway_info information when creating a router
get_router| Default: |
|
|---|---|
| Operations: |
|
Get a router
get_router:distributed| Default: |
|
|---|---|
| Operations: |
|
Get distributed attribute of a router
get_router:ha| Default: |
|
|---|---|
| Operations: |
|
Get ha attribute of a router
update_router| Default: |
|
|---|---|
| Operations: |
|
Update a router
update_router:distributed| Default: |
|
|---|---|
| Operations: |
|
Update distributed attribute of a router
update_router:ha| Default: |
|
|---|---|
| Operations: |
|
Update ha attribute of a router
update_router:external_gateway_info| Default: |
|
|---|---|
| Operations: |
|
Update external_gateway_info information of a router
update_router:external_gateway_info:network_id| Default: |
|
|---|---|
| Operations: |
|
Update network_id attribute of external_gateway_info information of a router
update_router:external_gateway_info:enable_snat| Default: |
|
|---|---|
| Operations: |
|
Update enable_snat attribute of external_gateway_info information of a router
update_router:external_gateway_info:external_fixed_ips| Default: |
|
|---|---|
| Operations: |
|
Update external_fixed_ips attribute of external_gateway_info information of a router
delete_router| Default: |
|
|---|---|
| Operations: |
|
Delete a router
add_router_interface| Default: |
|
|---|---|
| Operations: |
|
Add an interface to a router
remove_router_interface| Default: |
|
|---|---|
| Operations: |
|
Remove an interface from a router
admin_or_sg_owner| Default: | rule:context_is_admin or tenant_id:%(security_group:tenant_id)s |
|---|
Rule for admin or security group owner access
admin_owner_or_sg_owner| Default: | rule:owner or rule:admin_or_sg_owner |
|---|
Rule for resource owner, admin or security group owner access
create_security_group| Default: |
|
|---|---|
| Operations: |
|
Create a security group
get_security_group| Default: |
|
|---|---|
| Operations: |
|
Get a security group
update_security_group| Default: |
|
|---|---|
| Operations: |
|
Update a security group
delete_security_group| Default: |
|
|---|---|
| Operations: |
|
Delete a security group
create_security_group_rule| Default: |
|
|---|---|
| Operations: |
|
Create a security group rule
get_security_group_rule| Default: |
|
|---|---|
| Operations: |
|
Get a security group rule
delete_security_group_rule| Default: |
|
|---|---|
| Operations: |
|
Delete a security group rule
create_segment| Default: |
|
|---|---|
| Operations: |
|
Create a segment
get_segment| Default: |
|
|---|---|
| Operations: |
|
Get a segment
update_segment| Default: |
|
|---|---|
| Operations: |
|
Update a segment
delete_segment| Default: |
|
|---|---|
| Operations: |
|
Delete a segment
get_service_provider| Default: |
|
|---|---|
| Operations: |
|
Get service providers
create_subnet| Default: |
|
|---|---|
| Operations: |
|
Create a subnet
create_subnet:segment_id| Default: |
|
|---|---|
| Operations: |
|
Specify segment_id attribute when creating a subnet
create_subnet:service_types| Default: |
|
|---|---|
| Operations: |
|
Specify service_types attribute when creating a subnet
get_subnet| Default: |
|
|---|---|
| Operations: |
|
Get a subnet
get_subnet:segment_id| Default: |
|
|---|---|
| Operations: |
|
Get segment_id attribute of a subnet
update_subnet| Default: |
|
|---|---|
| Operations: |
|
Update a subnet
update_subnet:segment_id| Default: |
|
|---|---|
| Operations: |
|
Update segment_id attribute of a subnet
update_subnet:service_types| Default: |
|
|---|---|
| Operations: |
|
Update service_types attribute of a subnet
delete_subnet| Default: |
|
|---|---|
| Operations: |
|
Delete a subnet
shared_subnetpools| Default: | field:subnetpools:shared=True |
|---|
Definition of a shared subnetpool
create_subnetpool| Default: |
|
|---|---|
| Operations: |
|
Create a subnetpool
create_subnetpool:shared| Default: |
|
|---|---|
| Operations: |
|
Create a shared subnetpool
create_subnetpool:is_default| Default: |
|
|---|---|
| Operations: |
|
Specify is_default attribute when creating a subnetpool
get_subnetpool| Default: |
|
|---|---|
| Operations: |
|
Get a subnetpool
update_subnetpool| Default: |
|
|---|---|
| Operations: |
|
Update a subnetpool
update_subnetpool:is_default| Default: |
|
|---|---|
| Operations: |
|
Update is_default attribute of a subnetpool
delete_subnetpool| Default: |
|
|---|---|
| Operations: |
|
Delete a subnetpool
onboard_network_subnets| Default: |
|
|---|---|
| Operations: |
|
Onboard existing subnet into a subnetpool
create_trunk| Default: |
|
|---|---|
| Operations: |
|
Create a trunk
get_trunk| Default: |
|
|---|---|
| Operations: |
|
Get a trunk
update_trunk| Default: |
|
|---|---|
| Operations: |
|
Update a trunk
delete_trunk| Default: |
|
|---|---|
| Operations: |
|
Delete a trunk
get_subports| Default: |
|
|---|---|
| Operations: |
|
List subports attached to a trunk
add_subports| Default: |
|
|---|---|
| Operations: |
|
Add subports to a trunk
remove_subports| Default: |
|
|---|---|
| Operations: |
|
Delete subports from a trunk
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.