Skip to content

Commit 35e10ad

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Introduce scope_types in FIP pools"
2 parents 092b7a0 + 8c0d1ac commit 35e10ad

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

nova/policies/floating_ip_pools.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,16 @@
2323

2424
floating_ip_pools_policies = [
2525
policy.DocumentedRuleDefault(
26-
BASE_POLICY_NAME,
27-
base.RULE_ADMIN_OR_OWNER,
28-
"List floating IP pools. This API is deprecated.",
29-
[
26+
name=BASE_POLICY_NAME,
27+
check_str=base.RULE_ADMIN_OR_OWNER,
28+
description="List floating IP pools. This API is deprecated.",
29+
operations=[
3030
{
3131
'method': 'GET',
3232
'path': '/os-floating-ip-pools'
3333
}
34-
]),
34+
],
35+
scope_types=['system', 'project']),
3536
]
3637

3738

0 commit comments

Comments
 (0)