+ "id": "36ea936c.0d2d9c",\r
+ "type": "set",\r
+ "name": "set the max bandwidth",\r
+ "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 4357,\r
+ "y": 535,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "39c2d67.9f1a22a",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for ethernet-service-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2713,\r
+ "y": 669,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6aa9ec.33fa46",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for otn-tunnel-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2694,\r
+ "y": 719,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b75dc28.79bec4",\r
+ "type": "for",\r
+ "name": "for each allotted-resource",\r
+ "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1955,\r
+ "y": 253,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "42ce53ea.f9d9f4",\r
+ "fea2a65.c94cf58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42ce53ea.f9d9f4",\r
+ "type": "set",\r
+ "name": "set the current allotted-resource-id",\r
+ "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2235,\r
+ "y": 191,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72dba682.c63c9",\r
+ "type": "set",\r
+ "name": "set query_param",\r
+ "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
+ "comments": "",\r
+ "x": 2604,\r
+ "y": 2318,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1b6d1c66.bc0bb4",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "x": 2594,\r
+ "y": 3927,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6c32ab13.072304",\r
+ "type": "set",\r
+ "name": "set new ethernet-service-name",\r
+ "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2651,\r
+ "y": 764,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "35f98555.2ceed2",\r
+ "type": "for",\r
+ "name": "for vidx..tmp.otninfo_length[]",\r
+ "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2639,\r
+ "y": 2494,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "5f7bc0b4.b38de8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3340e53d.b2b492",\r
+ "type": "save",\r
+ "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+ "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='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\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3768,\r
+ "y": 2916,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "b711db38.ba184"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4bdc0f0f.14fc9",\r
+ "type": "save",\r
+ "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4340.5,\r
+ "y": 3020,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b711db38.ba184",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4074,\r
+ "y": 2915,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "b22521de.818118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b22521de.818118",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4283.5,\r
+ "y": 2915.25390625,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "585cd143.7d2b8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for vpn-binding $otnidx",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3801,\r
+ "y": 2395,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f49c0fd7.2e7c08",\r
+ "type": "switchNode",\r
+ "name": "switch otnidx == 0",\r
+ "xml": "<switch test='`$otnidx == 0`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3677,\r
+ "y": 3033,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "fed6bc26.f071a8",\r
+ "1d37d7ca.3763f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fed6bc26.f071a8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3860,\r
+ "y": 3033,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "73494a81.45e24c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d37d7ca.3763f",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3685,\r
+ "y": 3180,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "d3242d0f.9401e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e99682a.c4f64",\r
+ "type": "switchNode",\r
+ "name": "switch otnidx == last",\r
+ "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4026,\r
+ "y": 3261,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "eb362179.9d3068",\r
+ "72ad90f5.140788"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eb362179.9d3068",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4211,\r
+ "y": 3262,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "9791b470.15bff8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "72ad90f5.140788",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4230,\r
+ "y": 3528,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "aff1f53d.8faa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c78f87c4.9bed48",\r
+ "type": "save",\r
+ "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4641,\r
+ "y": 3263,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7d2c7f0.8e25f8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domain otnidx",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4715,\r
+ "y": 3561,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d6b059f.4c3bfa",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4651,\r
+ "y": 3612,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3d6ca865.871a5",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "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`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4780,\r
+ "y": 3662,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd227f8a.a8638",\r
+ "type": "comment",\r
+ "name": "connectivity has not been created for middle domains, so we have to create one",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4790,\r
+ "y": 3505,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bfa230df.6f6f98",\r
+ "type": "save",\r
+ "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4748,\r
+ "y": 3721,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "aff1f53d.8faa",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4387,\r
+ "y": 3529,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "d7d2c7f0.8e25f8",\r
+ "1d6b059f.4c3bfa",\r
+ "3d6ca865.871a5",\r
+ "bfa230df.6f6f98",\r
+ "12522f2b.6fc8b1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f7bc0b4.b38de8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2908,\r
+ "y": 2494,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "585cd143.7d2b8",\r
+ "3340e53d.b2b492",\r
+ "f49c0fd7.2e7c08",\r
+ "f42a2589.31a0b",\r
+ "cc8174a8.50b7f",\r
+ "90db4521.56089",\r
+ "7bd1d477.e03354"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4e1b8da0.7824b4",\r
+ "type": "set",\r
+ "name": "set attachment_param domain A",\r
+ "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 4265,\r
+ "y": 3077,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5449eb52.31f6ec",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode domainA UNI Coloring",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4318,\r
+ "y": 3121,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "1830f22c.565b16",\r
+ "d371e563.9b53a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d371e563.9b53a",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4589,\r
+ "y": 3106,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "e029f2f6.ad875"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1830f22c.565b16",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4587.000213623047,\r
+ "y": 3163.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "adfa6667.8c9cb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e029f2f6.ad875",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 UNI Coloring for domain A\" />\n",\r
+ "comments": "",\r
+ "x": 4729.000247955322,\r
+ "y": 3106.0000009536743,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "adfa6667.8c9cb",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4735.02725982666,\r
+ "y": 3154.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "73494a81.45e24c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4001,\r
+ "y": 3023,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "4bdc0f0f.14fc9",\r
+ "5449eb52.31f6ec",\r
+ "4e1b8da0.7824b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9791b470.15bff8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4345,\r
+ "y": 3263,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "c78f87c4.9bed48",\r
+ "96e361f0.0cb568",\r
+ "e43c5196.95971"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e43c5196.95971",\r
+ "type": "set",\r
+ "name": "set attachment_param domain B",\r
+ "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 4565,\r
+ "y": 3307,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "96e361f0.0cb568",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode domainB UNI Coloring",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4616,\r
+ "y": 3351,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "d02e29cf.263e8",\r
+ "ecba049c.afd758"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ecba049c.afd758",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4879,\r
+ "y": 3331,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "335f23f9.119f0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d02e29cf.263e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4880.000213623047,\r
+ "y": 3381.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "49ab66fd.a6d9f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "335f23f9.119f0c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 UNI coloring for domain B\" />\n",\r
+ "comments": "",\r
+ "x": 5019.000247955322,\r
+ "y": 3331.0000009536743,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "49ab66fd.a6d9f8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5025.02725982666,\r
+ "y": 3379.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "12522f2b.6fc8b1",\r
+ "type": "set",\r
+ "name": "set attachment_param domain otnidx",\r
+ "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "comments": "",\r
+ "x": 4662,\r
+ "y": 3781,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "48979781.1681f8",\r
+ "type": "save",\r
+ "name": "get all-vpn-bindings from aai",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1981,\r
+ "y": 4128,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "c2f0d7a5.dddd68",\r
+ "39032723.2690f8",\r
+ "52e0bd76.c6817c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c2f0d7a5.dddd68",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2169,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "ab5cddb1.22da4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39032723.2690f8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2169.490966796875,\r
+ "y": 4186.574035644531,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "14fe4895.b40197"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "52e0bd76.c6817c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2167,\r
+ "y": 4230,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "b5248481.e522a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab5cddb1.22da4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2342,\r
+ "y": 4139,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "4470cae1.fbd614"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "14fe4895.b40197",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2332.0623779296875,\r
+ "y": 4186.859771728516,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b5248481.e522a",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 2334,\r
+ "y": 4229,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5d2f9da2.d38694",\r
+ "type": "for",\r
+ "name": "for vidx..tmp.otninfo_length[]",\r
+ "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1970,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "8dfa636a.7429d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e79af240.ca6e5",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2780,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "6c6212ef.f90554"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da3d1785.252e3",\r
+ "type": "for",\r
+ "name": "for vidx..tmp.otninfo_length[]",\r
+ "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2552,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "e79af240.ca6e5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "14ccf193.a7ba36",\r
+ "type": "set",\r
+ "name": "set providerValue",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3672,\r
+ "y": 4086,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3ba4980a.a7808",\r
+ "type": "set",\r
+ "name": "set",\r
+ "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
+ "comments": "",\r
+ "x": 3974,\r
+ "y": 3212,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d3242d0f.9401e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3809,\r
+ "y": 3187,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "3ba4980a.a7808",\r
+ "e99682a.c4f64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a26db7da.175a4",\r
+ "type": "set",\r
+ "name": "set tmp.arr",\r
+ "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+ "comments": "",\r
+ "x": 1929,\r
+ "y": 203,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4470cae1.fbd614",\r
+ "type": "for",\r
+ "name": "for vpnidx in all-vpn-bindings",\r
+ "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2571,\r
+ "y": 4140,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "af51805a.3f6e48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "af51805a.3f6e48",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2786,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "b29ba493.8896c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "de53bb83.199eb",\r
+ "type": "for",\r
+ "name": "for arridx in tmp.arr",\r
+ "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4239,\r
+ "y": 4061,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "204c9a7d.7d28b6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4aa9ee27.313a08",\r
+ "type": "switchNode",\r
+ "name": "switch $tmp.arr_length != 0",\r
+ "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3705,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "2d961aee.1b3a76",\r
+ "3325a435.f57dbc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d961aee.1b3a76",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3901,\r
+ "y": 4111,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "78c69440.64f1a4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3325a435.f57dbc",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3902,\r
+ "y": 4182,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "fefe3e36.023678"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78c69440.64f1a4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4052,\r
+ "y": 4109,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "de53bb83.199eb",\r
+ "8df94468.3b3aa8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "204c9a7d.7d28b6",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.arr[$arridx] == $providerValue",\r
+ "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4530,\r
+ "y": 4061,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "c41481ab.88bea8",\r
+ "e1b07d6e.872148"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c41481ab.88bea8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4805,\r
+ "y": 4030,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "f1ff9d18.303e98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e1b07d6e.872148",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4806,\r
+ "y": 4101,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "14131c89.49f9f3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1ff9d18.303e98",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4956,\r
+ "y": 4028,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "40d1e81e.6cc88",\r
+ "dbbf7f90.5aa4c8",\r
+ "83374978.c1c35",\r
+ "d7033d3e.83e278",\r
+ "8b158b61.9a9f58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40d1e81e.6cc88",\r
+ "type": "set",\r
+ "name": "set found to true",\r
+ "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
+ "comments": "",\r
+ "x": 5144,\r
+ "y": 3988,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dbbf7f90.5aa4c8",\r
+ "type": "save",\r
+ "name": "store $arridx somewhere in vpn-binding",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5216,\r
+ "y": 4033,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b158b61.9a9f58",\r
+ "type": "set",\r
+ "name": "set twoD arr",\r
+ "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",\r
+ "comments": "",\r
+ "x": 5131,\r
+ "y": 4160,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d7033d3e.83e278",\r
+ "type": "set",\r
+ "name": "set sizeOfSliceList",\r
+ "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 5152,\r
+ "y": 4096,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fefe3e36.023678",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4054,\r
+ "y": 4182,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "8b5a5937.7b14e8",\r
+ "738e0247.d8b784"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b5a5937.7b14e8",\r
+ "type": "save",\r
+ "name": "store $arridx somewhere in vpn-binding",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4309,\r
+ "y": 4175,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "738e0247.d8b784",\r
+ "type": "set",\r
+ "name": "set twoD array",\r
+ "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",\r
+ "comments": "",\r
+ "x": 4237,\r
+ "y": 4222,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8df94468.3b3aa8",\r
+ "type": "switchNode",\r
+ "name": "switch found?",\r
+ "xml": "<switch test='`$found`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4230,\r
+ "y": 4106,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "df11cc3e.1263f",\r
+ "1fe91094.d80647"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df11cc3e.1263f",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4390,\r
+ "y": 4098,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "6014caa7.dd1974"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1fe91094.d80647",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4388,\r
+ "y": 4135,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "4b7b9538.9e1144"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6014caa7.dd1974",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4515,\r
+ "y": 4098,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4cf80fc.6110b8",\r
+ "type": "save",\r
+ "name": "store $arridx+1 somewhere in vpn-binding",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4822,\r
+ "y": 4156,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4b7b9538.9e1144",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4548,\r
+ "y": 4143,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "f4cf80fc.6110b8",\r
+ "cb01b96d.902da8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb01b96d.902da8",\r
+ "type": "set",\r
+ "name": "set twoD array",\r
+ "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",\r
+ "comments": "",\r
+ "x": 4739,\r
+ "y": 4202,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "14131c89.49f9f3",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4939,\r
+ "y": 4100,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "83374978.c1c35",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5110,\r
+ "y": 4227,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f42a2589.31a0b",\r
+ "type": "switchNode",\r
+ "name": "switch dstPort == NULL",\r
+ "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3515,\r
+ "y": 2485,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "ac6a7600.1391a8",\r
+ "6c99c1a3.b2c848"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac6a7600.1391a8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3881,\r
+ "y": 2446,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "c094d1a4.3a348"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6c99c1a3.b2c848",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3882,\r
+ "y": 2492,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "11e69cf.d047563"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c094d1a4.3a348",\r
+ "type": "set",\r
+ "name": "set access-provider-id and client-id",\r
+ "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
+ "comments": "",\r
+ "x": 4095,\r
+ "y": 2445,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "11e69cf.d047563",\r
+ "type": "set",\r
+ "name": "set access-provider-id and client-id",\r
+ "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
+ "comments": "",\r
+ "x": 4093,\r
+ "y": 2490,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6c6212ef.f90554",\r
+ "type": "set",\r
+ "name": "set attachment_param sliceG",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "x": 3033,\r
+ "y": 4317,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a54ce659.29b108",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode sliceG creation domainG",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2618,\r
+ "y": 4425,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "3fa26ce7.7e0224",\r
+ "b2b0e72c.a11478"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b2b0e72c.a11478",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2901,\r
+ "y": 4405,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "fa1f56ce.f832c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3fa26ce7.7e0224",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2902.000213623047,\r
+ "y": 4455.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "50896aad.7e40ec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fa1f56ce.f832c8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3041.0002479553223,\r
+ "y": 4405.000000953674,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "50896aad.7e40ec",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3047.02725982666,\r
+ "y": 4453.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc8174a8.50b7f",\r
+ "type": "set",\r
+ "name": "set srcdstpnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 3691,\r
+ "y": 2559,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "90db4521.56089",\r
+ "type": "get-resource",\r
+ "name": "get-resource tmp.srcdstpnf-name",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3735,\r
+ "y": 2607,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "3240cb0e.b7a8d4",\r
+ "f04379f7.8df68",\r
+ "3ab1dbdc.5ba7f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3240cb0e.b7a8d4",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3947.5,\r
+ "y": 2554,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "e8a8f72b.6c9a08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f04379f7.8df68",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3959.5,\r
+ "y": 2604,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "b12e923.fc82e7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ab1dbdc.5ba7f4",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3950.5,\r
+ "y": 2659,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "582f59ae.92f2a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "582f59ae.92f2a8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 4095.5,\r
+ "y": 2658,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b12e923.fc82e7",\r
+ "type": "returnFailure",\r