summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/installationprocedure/multisite.kingbird.installation.rst2
-rw-r--r--docs/userguide/multisite.kingbird.usage.rst10
2 files changed, 1 insertions, 11 deletions
diff --git a/docs/installationprocedure/multisite.kingbird.installation.rst b/docs/installationprocedure/multisite.kingbird.installation.rst
index 11a516a..9abb669 100644
--- a/docs/installationprocedure/multisite.kingbird.installation.rst
+++ b/docs/installationprocedure/multisite.kingbird.installation.rst
@@ -297,7 +297,7 @@ $admin_project_id to the admin project id in your environment:
.. code-block:: bash
curl -H "Content-Type: application/json" -H "X-Auth-Token: $token" \
- -H "X_ROLE: admin" -X PUT \
+ -X PUT \
http://127.0.0.1:8118/v1.0/$admin_project_id/os-quota-sets/$admin_project_id/sync
If the response looks like following: "triggered quota sync for
diff --git a/docs/userguide/multisite.kingbird.usage.rst b/docs/userguide/multisite.kingbird.usage.rst
index c5bb3eb..4cdab4f 100644
--- a/docs/userguide/multisite.kingbird.usage.rst
+++ b/docs/userguide/multisite.kingbird.usage.rst
@@ -85,7 +85,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "ROLE: dmin" \
-X PUT \
-d '{"quota_set":{"cores": 10,"ram": 51200, "metadata_items": 100,"key_pairs": 100, "network":20,"security_group": 20,"security_group_rule": 20}}' \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id
@@ -95,7 +94,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id
3. A tenant can also get the global limit by himself
@@ -110,7 +108,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/defaults
5. Get total usage for a tenant
@@ -118,7 +115,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
-X GET \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id/detail
@@ -135,7 +131,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
-X PUT \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id/sync
@@ -145,7 +140,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
-X DELETE \
-d '{"quota_set": [ "cores", "ram"]}' \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id
@@ -155,7 +149,6 @@ Quota Management API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
-X DELETE \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-sets/$tenant_id
@@ -168,7 +161,6 @@ Quota Class API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "ROLE: dmin" \
-X PUT \
-d '{"quota_class_set":{"cores": 100, "network":50,"security_group": 50,"security_group_rule": 50}}' \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-class-sets/default
@@ -178,7 +170,6 @@ Quota Class API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "X_ROLE: admin" \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-class-sets/default
3. Delete default quota class
@@ -186,7 +177,6 @@ Quota Class API
curl \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $kb_token" \
- -H "ROLE: dmin" \
-X DELETE \
http://$kb_ip_addr:8118/v1.0/$admin_tenant_id/os-quota-class-sets/default