+ "x": 4470.333740234375,\r
+ "y": 2399.3333740234375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f34b01.8e0f75",\r
+ "type": "switchNode",\r
+ "name": "switch src and dst same domain?",\r
+ "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n \n `\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2923.666748046875,\r
+ "y": 2446.33349609375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "db4fc7e3.ebc94",\r
+ "5ec8edee.aa3afc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ec8edee.aa3afc",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3137.6666870117188,\r
+ "y": 2459.3333740234375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "42219b91.01efdc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "db4fc7e3.ebc94",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3118.6666259765625,\r
+ "y": 2560.33349609375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "5c61900d.2cdc2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42219b91.01efdc",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3545.0001831054688,\r
+ "y": 2465.66650390625,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "50b64f95.e5fb98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5c61900d.2cdc2",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3269.0000610351562,\r
+ "y": 2560.66650390625,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "f027aef7.634db8",\r
+ "7a63eedd.e32c3",\r
+ "2b5a38a.97b3448",\r
+ "7fefe031.312d88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50b64f95.e5fb98",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3971.3333129882812,\r
+ "y": 2465.33349609375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "e65eb704.1a5ee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f027aef7.634db8",\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-samedomain-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3552.9999389648438,\r
+ "y": 2566.3333740234375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a63eedd.e32c3",\r
+ "type": "set",\r
+ "name": "set attachment_param Same Domain",\r
+ "xml": "<set>\n<parameter name='tmp.sameDomain-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.sameDomain-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 3520.9999389648438,\r
+ "y": 2626.6663818359375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2b5a38a.97b3448",\r
+ "type": "save",\r
+ "name": "save vpn-binding same domain 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-samedomain-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-samedomain-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='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\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.sameDomain-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.sameDomain-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": 3586.3331909179688,\r
+ "y": 2682.6663818359375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "1b626686.9373e9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b626686.9373e9",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3903.3331909179688,\r
+ "y": 2684.6663818359375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ [\r
+ "de4818c6.968eb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "de4818c6.968eb8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4066.8331909179688,\r
+ "y": 2683.9202880859375,\r
+ "z": "1f8b432c.7b707d",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7fefe031.312d88",\r
+ "type": "save",\r
+ "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, 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-samedomain-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": 3634.9995727539062,\r
+ "y": 2737.3331298828125,\r
+ "z": "1f8b432c.7b707d",\r