summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-11-27 12:59:26 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 12:59:26 +0000
commit276104e4037bcb5fc462facdab1fe1d5ca8a5803 (patch)
tree22c9218c93b847ce0a59e84384252d667f1d3173
parent3392b7218aeec34c3c63ecd8d53dd4fe9e9fa9fc (diff)
parent2a1f9d70d78956236ef0ece57cb39c25398786ba (diff)
Merge "Update metadata example in API spec" into casablanca
-rw-r--r--docs/MultiCloud-APIv0-Specification.rst17
-rw-r--r--docs/MultiCloud-APIv1-Specification.rst16
2 files changed, 6 insertions, 27 deletions
diff --git a/docs/MultiCloud-APIv0-Specification.rst b/docs/MultiCloud-APIv0-Specification.rst
index b89a51e..a5158c1 100644
--- a/docs/MultiCloud-APIv0-Specification.rst
+++ b/docs/MultiCloud-APIv0-Specification.rst
@@ -1370,15 +1370,6 @@ N/A
| portId | M | 1 | String | Port Id |
+-----------------+-----------------+-------------------+---------------+-------------------+
-**metadata**
-
-+-----------------+-----------------+-------------------+---------------+-------------------+
-| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
-+=================+=================+===================+===============+===================+
-| keyName | M | 1 | String | Key name |
-+-----------------+-----------------+-------------------+---------------+-------------------+
-| value | M | 1 | string | value |
-+-----------------+-----------------+-------------------+---------------+-------------------+
::
@@ -1422,13 +1413,11 @@ N/A
}],
- "metada": [{
-
- "keyName": "foo",
+ "metada": {
- "value": "foo value"
+ "foo": "foo value"
- }],
+ },
"userdata": "abcdedf"
diff --git a/docs/MultiCloud-APIv1-Specification.rst b/docs/MultiCloud-APIv1-Specification.rst
index b68fbe0..dc5c551 100644
--- a/docs/MultiCloud-APIv1-Specification.rst
+++ b/docs/MultiCloud-APIv1-Specification.rst
@@ -1152,14 +1152,6 @@ Parameter Qualifier Cardinality Content Description
portId M 1 String Port Id
================ ========= ============ ======== ================================
-**metadata**
-
-================ ========= ============ ======== ================================
-Parameter Qualifier Cardinality Content Description
-================ ========= ============ ======== ================================
- keyName M 1 String Key name
- value M 1 string value
-================ ========= ============ ======== ================================
::
@@ -1203,13 +1195,11 @@ Parameter Qualifier Cardinality Content Description
}],
- "metada": [{
-
- "keyName": "foo",
+ "metada": {
- "value": "foo value"
+ "foo": "foo value"
- }],
+ },
"userdata": "abcdedf"