summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json1206
1 files changed, 0 insertions, 1206 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
index 7eb64480..891b0ab1 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
@@ -558,225 +558,6 @@
"wires": []
},
{
- "id": "d75cf545.437ae8",
- "type": "save",
- "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1574,
- "y": 2868,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "871b9e34.870768"
- ]
- ]
- },
- {
- "id": "fd805b4d.1b0548",
- "type": "save",
- "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2146.5,
- "y": 2972,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "871b9e34.870768",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1880,
- "y": 2867,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "ee92c990.60c9f"
- ]
- ]
- },
- {
- "id": "ee92c990.60c9f",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2089.5,
- "y": 2867.25390625,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "702e0066.542168",
- "type": "switchNode",
- "name": "switch otnidx == 0",
- "xml": "<switch test='`$otnidx == 0`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1483,
- "y": 2985,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "bb13d1a8.37e5",
- "a19ebb79.79b868"
- ]
- ]
- },
- {
- "id": "bb13d1a8.37e5",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1666,
- "y": 2985,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "62ae9cfb.3879bc"
- ]
- ]
- },
- {
- "id": "a19ebb79.79b868",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1491,
- "y": 3132,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "db504ec2.be40a8"
- ]
- ]
- },
- {
- "id": "d2ac9909.c7d83",
- "type": "switchNode",
- "name": "switch otnidx == last",
- "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1832,
- "y": 3213,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "f6ac8945.06d298",
- "d0d3740b.46215"
- ]
- ]
- },
- {
- "id": "f6ac8945.06d298",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2008,
- "y": 3214,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "84c92d78.7984b8"
- ]
- ]
- },
- {
- "id": "b93d4ed1.4609d8",
- "type": "set",
- "name": "set attachment_param domain A",
- "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
- "comments": "",
- "x": 2071,
- "y": 3029,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "62ae9cfb.3879bc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1807,
- "y": 2975,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "fd805b4d.1b0548",
- "b93d4ed1.4609d8",
- "ea374103.b6422"
- ]
- ]
- },
- {
- "id": "11cd0588.41272a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2713,
- "y": 3164,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "5ba25870.61d0e"
- ]
- ]
- },
- {
- "id": "302e8991.9483b6",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
- "comments": "",
- "x": 1780,
- "y": 3164,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "db504ec2.be40a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1615,
- "y": 3139,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "302e8991.9483b6",
- "d2ac9909.c7d83"
- ]
- ]
- },
- {
"id": "715b7a53.d039d4",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
@@ -964,122 +745,6 @@
"wires": []
},
{
- "id": "d0d3740b.46215",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2036,
- "y": 3480,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "822b4a87.c6d91"
- ]
- ]
- },
- {
- "id": "df45bcf4.ab6068",
- "type": "execute",
- "name": "execute UUID generator for connectivity domain otnidx",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2511,
- "y": 3465,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "92ea7ec.b1b38",
- "type": "save",
- "name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2449,
- "y": 3515,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "ab274de2.98aaf8",
- "type": "save",
- "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
- "comments": "",
- "outputs": 1,
- "x": 2586,
- "y": 3614,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "ba000585.cff088",
- "type": "comment",
- "name": "connectivity has not been created for middle domains, so we have to create one",
- "info": "",
- "comments": "",
- "x": 2589,
- "y": 3406,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "fe394c67.6a4738",
- "type": "save",
- "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2554,
- "y": 3673,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "822b4a87.c6d91",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2193,
- "y": 3481,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "df45bcf4.ab6068",
- "92ea7ec.b1b38",
- "ab274de2.98aaf8",
- "fe394c67.6a4738",
- "b6a44371.9af948",
- "c51d1d37.88a2f8"
- ]
- ]
- },
- {
- "id": "b6a44371.9af948",
- "type": "set",
- "name": "set attachment_param domain otnidx",
- "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
- "comments": "",
- "x": 2468,
- "y": 3733,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
"id": "6f21b0a4.c1ba8",
"type": "set",
"name": "unset parameters",
@@ -1102,877 +767,6 @@
"wires": []
},
{
- "id": "5ba25870.61d0e",
- "type": "save",
- "name": "save middle-man-conn relationship to connectivity-B, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3037,
- "y": 3164,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "ea374103.b6422",
- "type": "save",
- "name": "save middle-man-conn relationship to connectivity-A, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainA-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2151,
- "y": 2920,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "c51d1d37.88a2f8",
- "type": "save",
- "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2550,
- "y": 3560,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "6512efb1.123b28",
- "type": "switchNode",
- "name": "switch found-middle-man?",
- "xml": "<switch test='`$found-middle-man`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2369,
- "y": 3164,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "4373daa0.a1c174"
- ]
- ]
- },
- {
- "id": "4373daa0.a1c174",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2556,
- "y": 3164,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "11cd0588.41272a"
- ]
- ]
- },
- {
- "id": "84c92d78.7984b8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2151,
- "y": 3214,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "ef7c2251.5fe8a8",
- "b19fce04.44ae8",
- "6512efb1.123b28"
- ]
- ]
- },
- {
- "id": "ef7c2251.5fe8a8",
- "type": "save",
- "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2467,
- "y": 3262,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "b19fce04.44ae8",
- "type": "set",
- "name": "set attachment_param domain B",
- "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
- "comments": "",
- "x": 2394,
- "y": 3322,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "d80a0f45.0378e",
- "type": "save",
- "name": "get all-vpn-bindings from aai",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
- "comments": "",
- "outputs": 1,
- "x": 455,
- "y": 3922,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "24e9e35d.66377c",
- "ba022563.b1ca78",
- "e3577813.56f32"
- ]
- ]
- },
- {
- "id": "24e9e35d.66377c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 643,
- "y": 3935,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "b86628e9.5b571"
- ]
- ]
- },
- {
- "id": "ba022563.b1ca78",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 643.490966796875,
- "y": 3980.5740356445312,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "dd8f81c4.9e7f98"
- ]
- ]
- },
- {
- "id": "e3577813.56f32",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 641,
- "y": 4024,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "7aca1801.7911a"
- ]
- ]
- },
- {
- "id": "b86628e9.5b571",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 816,
- "y": 3933,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "247b0f83.24d55"
- ]
- ]
- },
- {
- "id": "dd8f81c4.9e7f98",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
- "comments": "",
- "x": 806.0623779296875,
- "y": 3980.8597717285156,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "7aca1801.7911a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments": "",
- "x": 808,
- "y": 4023,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "be1c598f.c95108",
- "type": "for",
- "name": "for vidx..tmp.otninfo_length[]",
- "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 444,
- "y": 4113,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "5abd279e.a9bea8"
- ]
- ]
- },
- {
- "id": "42fde1a9.9a4a98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1254,
- "y": 4113,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "bf9e1c4b.a2ce9"
- ]
- ]
- },
- {
- "id": "3cd4b283.9423f6",
- "type": "for",
- "name": "for vidx..tmp.otninfo_length[]",
- "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1026,
- "y": 4113,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "42fde1a9.9a4a98"
- ]
- ]
- },
- {
- "id": "247b0f83.24d55",
- "type": "for",
- "name": "for vpnidx in all-vpn-bindings",
- "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1045,
- "y": 3934,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "a4896672.ff36c8"
- ]
- ]
- },
- {
- "id": "a4896672.ff36c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1260,
- "y": 3935,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "f571db46.1bfcb"
- ]
- ]
- },
- {
- "id": "bf9e1c4b.a2ce9",
- "type": "set",
- "name": "set attachment_param sliceG",
- "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",
- "comments": "",
- "x": 1507,
- "y": 4111,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "5df62aff.b0027c",
- "type": "execute",
- "name": "execute RestApiCallNode sliceG creation domainG",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1092,
- "y": 4219,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "e89a613f.801198",
- "c394a514.3653"
- ]
- ]
- },
- {
- "id": "c394a514.3653",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1375,
- "y": 4199,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "ba5b687c.dd6a6"
- ]
- ]
- },
- {
- "id": "e89a613f.801198",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1376.0002136230469,
- "y": 4249.99990940094,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "b0106af6.430b1"
- ]
- ]
- },
- {
- "id": "ba5b687c.dd6a6",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",
- "comments": "",
- "x": 1515.0002479553223,
- "y": 4199.000000953674,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "b0106af6.430b1",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1521.0272598266602,
- "y": 4247.745394706726,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "5abd279e.a9bea8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 676,
- "y": 4111,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "3cd4b283.9423f6",
- "5df62aff.b0027c"
- ]
- ]
- },
- {
- "id": "f571db46.1bfcb",
- "type": "switchNode",
- "name": "switch vpnuuid is for this slice",
- "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1504,
- "y": 3934,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "10584e74.11a9e2",
- "3270eb36.2e6c2c"
- ]
- ]
- },
- {
- "id": "cbeb21d2.528fb",
- "type": "set",
- "name": "set providerValue",
- "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",
- "comments": "",
- "x": 2146,
- "y": 3880,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "7855d996.5f07",
- "type": "switchNode",
- "name": "switch $tmp.arr_length != 0",
- "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2179,
- "y": 3935,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "be28c030.0047c",
- "f9d12f18.1e0e1"
- ]
- ]
- },
- {
- "id": "be28c030.0047c",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2375,
- "y": 3905,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "cca5c1e0.c9e418"
- ]
- ]
- },
- {
- "id": "f9d12f18.1e0e1",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2376,
- "y": 3976,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "1c2a1c2d.eddd2c"
- ]
- ]
- },
- {
- "id": "10584e74.11a9e2",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1721,
- "y": 3913,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "66fe7551.116524"
- ]
- ]
- },
- {
- "id": "3270eb36.2e6c2c",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1721,
- "y": 3962,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "66fe7551.116524",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1889,
- "y": 3913,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "cbeb21d2.528fb",
- "7855d996.5f07"
- ]
- ]
- },
- {
- "id": "cca5c1e0.c9e418",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2526,
- "y": 3903,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "6021fe00.cf5b38",
- "3ee35cda.cacc94"
- ]
- ]
- },
- {
- "id": "1c2a1c2d.eddd2c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2528,
- "y": 3976,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "b88403d3.b550c",
- "df79ce65.0d4e"
- ]
- ]
- },
- {
- "id": "6021fe00.cf5b38",
- "type": "for",
- "name": "for arridx in tmp.arr",
- "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2713,
- "y": 3855,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "70402202.48ed14"
- ]
- ]
- },
- {
- "id": "70402202.48ed14",
- "type": "switchNode",
- "name": "switch tmp.arr[$arridx] == $providerValue",
- "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3004,
- "y": 3855,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "f629fdf.6a8538",
- "a317d92b.3b0b18"
- ]
- ]
- },
- {
- "id": "f629fdf.6a8538",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3279,
- "y": 3824,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "a51325a8.b7388"
- ]
- ]
- },
- {
- "id": "a317d92b.3b0b18",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3280,
- "y": 3895,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "9d65717e.a373d"
- ]
- ]
- },
- {
- "id": "a51325a8.b7388",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3430,
- "y": 3822,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "3791e48.3b8af9c",
- "a673fd66.c40df",
- "86199d64.75edc8",
- "51a35674.c610f8",
- "445052f3.f38194"
- ]
- ]
- },
- {
- "id": "b88403d3.b550c",
- "type": "save",
- "name": "store $arridx somewhere in vpn-binding",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2783,
- "y": 3969,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "df79ce65.0d4e",
- "type": "set",
- "name": "set twoD array",
- "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",
- "comments": "",
- "x": 2711,
- "y": 4016,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "3ee35cda.cacc94",
- "type": "switchNode",
- "name": "switch found?",
- "xml": "<switch test='`$found`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2704,
- "y": 3900,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "b2a6fca5.77cd68",
- "c6caa4c6.b68ae"
- ]
- ]
- },
- {
- "id": "b2a6fca5.77cd68",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2864,
- "y": 3892,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "697e3e96.9c5648"
- ]
- ]
- },
- {
- "id": "c6caa4c6.b68ae",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2862,
- "y": 3929,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "c8a03883.695728"
- ]
- ]
- },
- {
- "id": "697e3e96.9c5648",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2989,
- "y": 3892,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "7ed231c3.f2fd1",
- "type": "save",
- "name": "store $arridx+1 somewhere in vpn-binding",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3296,
- "y": 3950,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "c8a03883.695728",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3022,
- "y": 3937,
- "z": "4fb14ce0.40eb24",
- "wires": [
- [
- "7ed231c3.f2fd1",
- "2d908152.4ff6a6"
- ]
- ]
- },
- {
- "id": "2d908152.4ff6a6",
- "type": "set",
- "name": "set twoD array",
- "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",
- "comments": "",
- "x": 3213,
- "y": 3996,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "9d65717e.a373d",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3413,
- "y": 3894,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "3791e48.3b8af9c",
- "type": "set",
- "name": "set found to true",
- "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
- "comments": "",
- "x": 3618,
- "y": 3782,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "a673fd66.c40df",
- "type": "save",
- "name": "store $arridx somewhere in vpn-binding",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3690,
- "y": 3827,
- "z": "4fb14ce0.40eb24",
- "wires": [
- []
- ]
- },
- {
- "id": "445052f3.f38194",
- "type": "set",
- "name": "set twoD arr",
- "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",
- "comments": "",
- "x": 3605,
- "y": 3954,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "51a35674.c610f8",
- "type": "set",
- "name": "set sizeOfSliceList",
- "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
- "comments": "",
- "x": 3626,
- "y": 3890,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "86199d64.75edc8",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
- "comments": "",
- "x": 3584,
- "y": 4021,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
- "id": "6a22d3fb.3389bc",
- "type": "comment",
- "name": "Important Comment",
- "info": "When we are in F1, it means that, either:\nno-middle-man found\nor\nmiddle-man was found but PCE is needed.\n\nNo matter which scenario brings us to F1, vpn-binding-B is a \nnew vpn-binding so it needs to be attached to the:\nmiddle-man && connectivityB",
- "comments": "",
- "x": 2364,
- "y": 3211,
- "z": "4fb14ce0.40eb24",
- "wires": []
- },
- {
"id": "13d7f319.f10ffd",
"type": "set",
"name": "set srcTtp+dstTtp pair",