We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50d577b + 9c129cc commit c5c3ceeCopy full SHA for c5c3cee
nova/policies/multinic.py
@@ -23,13 +23,13 @@
23
24
multinic_policies = [
25
policy.DocumentedRuleDefault(
26
- BASE_POLICY_NAME,
27
- base.RULE_ADMIN_OR_OWNER,
28
- """Add or remove a fixed IP address from a server.
+ name=BASE_POLICY_NAME,
+ check_str=base.RULE_ADMIN_OR_OWNER,
+ description="""Add or remove a fixed IP address from a server.
29
30
These APIs are proxy calls to the Network service. These are all
31
deprecated.""",
32
- [
+ operations=[
33
{
34
'method': 'POST',
35
'path': '/servers/{server_id}/action (addFixedIp)'
@@ -38,7 +38,8 @@
38
39
'path': '/servers/{server_id}/action (removeFixedIp)'
40
}
41
- ]),
+ ],
42
+ scope_types=['system', 'project']),
43
]
44
45
0 commit comments