summaryrefslogtreecommitdiff
path: root/etc/nova
diff options
context:
space:
mode:
authorChris Yeoh <cyeoh@au1.ibm.com>2013-12-01 23:48:09 +1030
committerChristopher Yeoh <cyeoh@au1.ibm.com>2014-02-11 22:20:12 -0700
commit830ac0f0654dc989ff27ae9314bd6af4902daf9b (patch)
tree964491f2c54f95ef686f7e2edd45607bfa41fbe3 /etc/nova
parent6d593641a07f8220209cb3d69d824263b4c4c580 (diff)
downloadnova-830ac0f0654dc989ff27ae9314bd6af4902daf9b.tar.gz
Adds migrate server extension for V3 API
Moves the migrate/live-migrate server functionality out of admin_actions into its own extension. This part of the blueprint v3-admin-actions-split allows more selective enablement of features contained in the admin actions extension. Note the XML api samples are no longer generated because bp remove-v3-xml-api has been approved. Refactor removes some exception handling for migrate along with the relevant tests as those exceptions will never occur. Partially implements bp v3-api-admin-actions-split DocImpact: Adds os-migrate-server extension and moves migrate/live-migrate functionality out of os-admin-actions into this new extension. Change-Id: I6b29f501ad6bb9a6401b1c20cd419d9e05fe369b
Diffstat (limited to 'etc/nova')
-rw-r--r--etc/nova/policy.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json
index 378032b04e..2d50b9d273 100644
--- a/etc/nova/policy.json
+++ b/etc/nova/policy.json
@@ -42,9 +42,7 @@
"compute_extension:v3:os-admin-actions:reset_network": "rule:admin_api",
"compute_extension:v3:os-admin-actions:inject_network_info": "rule:admin_api",
"compute_extension:v3:os-admin-actions:create_backup": "rule:admin_or_owner",
- "compute_extension:v3:os-admin-actions:migrate_live": "rule:admin_api",
"compute_extension:v3:os-admin-actions:reset_state": "rule:admin_api",
- "compute_extension:v3:os-admin-actions:migrate": "rule:admin_api",
"compute_extension:v3:os-admin-password": "",
"compute_extension:v3:os-admin-password:discoverable": "",
"compute_extension:aggregates": "rule:admin_api",
@@ -174,6 +172,9 @@
"compute_extension:v3:os-lock-server:discoverable": "",
"compute_extension:v3:os-lock-server:lock": "rule:admin_or_owner",
"compute_extension:v3:os-lock-server:unlock": "rule:admin_or_owner",
+ "compute_extension:v3:os-migrate-server:discoverable": "",
+ "compute_extension:v3:os-migrate-server:migrate": "rule:admin_api",
+ "compute_extension:v3:os-migrate-server:migrate_live": "rule:admin_api",
"compute_extension:multinic": "",
"compute_extension:v3:os-multinic": "",
"compute_extension:v3:os-multinic:discoverable": "",