summaryrefslogtreecommitdiffstats
path: root/docs/specs/multicloud_resource_capacity_check.rst
diff options
context:
space:
mode:
authorBin Yang <13547180@qq.com>2019-03-13 15:28:27 +0800
committerBin Yang <bin.yang@windriver.com>2019-03-14 04:50:06 +0000
commite884e2812d775013e1f2d719095fd0ac9a6aafa6 (patch)
tree3531810e191f1088ce0c454c113595e25b16bd55 /docs/specs/multicloud_resource_capacity_check.rst
parent771d3a4cc273f8ddea2a4bb4de09b9ef7c855058 (diff)
Update API spec to support multi-tenants
Enable multicloud to support multi-tenants of a cloud region while being backward compatible which support the default tenant Change-Id: I0b82e9dfb1e279c5adf780c06d26e2278f7d47d7 Issue-ID: MULTICLOUD-528 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'docs/specs/multicloud_resource_capacity_check.rst')
-rw-r--r--docs/specs/multicloud_resource_capacity_check.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/specs/multicloud_resource_capacity_check.rst b/docs/specs/multicloud_resource_capacity_check.rst
index 31a34b2..f849d32 100644
--- a/docs/specs/multicloud_resource_capacity_check.rst
+++ b/docs/specs/multicloud_resource_capacity_check.rst
@@ -41,6 +41,31 @@ location information and cloud-region record.
... [A&AI Complex Schema] https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-schema/src/main/resources/oxm/aai_oxm_v12.xml;h=e146c06ac675a1127ee11205c0ff2544e4d9a81d;hb=HEAD#l772
+Multi-Tenant Support
+--------------------
+
+Request Headers:
+>>>>>>>>>>>>>>>>
+
+To support multi-tenants over the same cloud region, all APIs defined below
+should support to accept the following optional headers which are used to
+specify a tenant other than the default one associated with the cloud region.
+
+::
+
+ "Project" : Tenant/Project ID or Name specified by API consumer, Optional
+
+
+Example 1:
+::
+
+ "Project: tenant1"
+
+Example 2:
+::
+
+ "Project: fcca3cc49d5e42caae15459e27103efc"
+
Available Resource Check
------------------------