summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json
diff options
context:
space:
mode:
authorCheung, Pat <kc1472@att.com>2018-10-04 18:35:55 +0000
committerDan Timoney <dtimoney@att.com>2018-10-04 20:01:45 +0000
commit7f70731621bcd7cdb4f4157eba0d66b3638f1519 (patch)
treeee4a185b69efe53321284766027e26c514771b8b /platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json
parent0d607948ff5a38a1ca0306bc68f7985a94b0be37 (diff)
self-serve dg patch
inclues new self-serve forking logic, added silentFailure to for loops, not to set cap name to INPUT for generate-name Change-Id: Idd3deb016533dc70611d60dd289f4c4bc40d3136 Issue-ID: CCSDK-604 Signed-off-by: Cheung, Pat <kc1472@att.com> Former-commit-id: 7209c246e382048781f166c2b3eeab24be7e9815
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json b/platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json
new file mode 100644
index 00000000..2419c89b
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/self-serve-mS-mac-address-assign.json
@@ -0,0 +1,26 @@
+{
+ "elements": [ ${repeat:ma.elements.element_length:
+ [
+ {
+ "name": "policy-instance-name",
+ "value": ${ma.elements.element[${1}].policy-instance-name}
+ },
+ {
+ "name": "vnf-host-name",
+ "value": ${ma.elements.element[${1}].vnf-host-name}
+ },
+ {
+ "name": "cloud-param-name",
+ "value": ${ma.elements.element[${1}].cloud-param-name}
+ },
+ {
+ "name": "sw-name",
+ "value": ${ma.elements.element[${1}].sw-name}
+ },
+ {
+ "name": "resource-value",
+ "value": ${ma.elements.element[${1}].resource-value}
+ }
+ ], }
+ ]
+}