[\r
{\r
- "id": "d9508d21.fa5b3",\r
+ "id": "eb07fd3d.499fe",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 144,\r
- "y": 116,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 142,\r
+ "y": 92,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "cae32381.bce9d"\r
+ "39c5ac20.45e1d4"\r
]\r
]\r
},\r
{\r
- "id": "cae32381.bce9d",\r
+ "id": "39c5ac20.45e1d4",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 275.2856903076172,\r
- "y": 165.23810863494873,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 273.2856903076172,\r
+ "y": 141.23810863494873,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "82cfa8a0.a91dc"\r
+ "2ea16900.365168"\r
]\r
]\r
},\r
{\r
- "id": "82cfa8a0.a91dc",\r
+ "id": "2ea16900.365168",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-activate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-activate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 278.4286193847656,\r
- "y": 250.00003242492676,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 276.4286193847656,\r
+ "y": 226.00003242492676,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "f6fef19d.8fc9f8"\r
+ "65a4788.f116c88"\r
]\r
]\r
},\r
{\r
- "id": "f6fef19d.8fc9f8",\r
+ "id": "65a4788.f116c88",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 428.238037109375,\r
- "y": 379.6666564941406,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 426.238037109375,\r
+ "y": 355.6666564941406,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "c70167ce.7f9118",\r
- "6aca196e.a4377",\r
- "e86e6571.913898"\r
+ "57f656d8.02c09",\r
+ "6ee54bdc.2fdd5c",\r
+ "4cf7ab90.c1f3ec"\r
]\r
]\r
},\r
{\r
- "id": "c70167ce.7f9118",\r
+ "id": "57f656d8.02c09",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 696.5716552734375,\r
- "y": 766.59716796875,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 694.5716552734375,\r
+ "y": 742.59716796875,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "d841551.d686928",\r
+ "id": "d36cebd.8be9418",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 728,\r
- "y": 441,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 726,\r
+ "y": 417,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "6aca196e.a4377",\r
+ "id": "6ee54bdc.2fdd5c",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='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\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 748,\r
- "y": 537,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 746,\r
+ "y": 513,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "8dfdefd.d3d4d9",\r
- "f6a9e3a5.f26778",\r
- "6cad2633.e5f528"\r
+ "4321e029.b0b21",\r
+ "df857197.b37508",\r
+ "caa9bf62.bc7768"\r
]\r
]\r
},\r
{\r
- "id": "8dfdefd.d3d4d9",\r
+ "id": "4321e029.b0b21",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 967,\r
- "y": 475,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 965,\r
+ "y": 451,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "f2dd8538.5d3378"\r
+ "1399e348.49a41d"\r
]\r
]\r
},\r
{\r
- "id": "f6a9e3a5.f26778",\r
+ "id": "df857197.b37508",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 976.490966796875,\r
- "y": 517.5740356445312,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 974.490966796875,\r
+ "y": 493.57403564453125,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "59b21b6f.e70b7c"\r
+ "9c66f3b5.ba5a"\r
]\r
]\r
},\r
{\r
- "id": "6cad2633.e5f528",\r
+ "id": "caa9bf62.bc7768",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 965,\r
- "y": 564,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 963,\r
+ "y": 540,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "95c7d05e.93c3e"\r
+ "83f89a00.0c0e7"\r
]\r
]\r
},\r
{\r
- "id": "59b21b6f.e70b7c",\r
+ "id": "9c66f3b5.ba5a",\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": 1130.0623779296875,\r
- "y": 520.8597717285156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1128.0623779296875,\r
+ "y": 496.8597717285156,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "95c7d05e.93c3e",\r
+ "id": "83f89a00.0c0e7",\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": 1134,\r
- "y": 565,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1132,\r
+ "y": 541,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "f2dd8538.5d3378",\r
+ "id": "1399e348.49a41d",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1164,\r
- "y": 471,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1162,\r
+ "y": 447,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "94e5618.e7d282"\r
+ "8c655e36.efa51"\r
]\r
]\r
},\r
{\r
- "id": "94e5618.e7d282",\r
+ "id": "8c655e36.efa51",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1387.33349609375,\r
- "y": 470.99993896484375,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1385.33349609375,\r
+ "y": 446.99993896484375,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "32140056.199ae"\r
+ "dae7ff66.9b9c6"\r
]\r
]\r
},\r
{\r
- "id": "32140056.199ae",\r
+ "id": "dae7ff66.9b9c6",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1588.0001335144043,\r
- "y": 472.00002098083496,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1586.0001335144043,\r
+ "y": 448.00002098083496,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "9174febc.b8b998"\r
+ "5afc15bc.b14b2c"\r
]\r
]\r
},\r
{\r
- "id": "25e7d332.a761fc",\r
+ "id": "73d91f0d.979448",\r
"type": "set",\r
"name": "set attachment_param for OTN A",\r
- "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<parameter name='dst-tpn-id' value='1' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
+ "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
"comments": "",\r
- "x": 3849,\r
- "y": 191,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4405,\r
+ "y": 164,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "fee47d9.4382e",\r
+ "id": "53d5aef.e4ebbd",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te: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": 3930,\r
- "y": 506,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4486,\r
+ "y": 479,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "445402d7.16a9f4",\r
- "d34714f7.10a51"\r
+ "ecc00da.2c7107",\r
+ "8ec5d396.327df"\r
]\r
]\r
},\r
{\r
- "id": "445402d7.16a9f4",\r
+ "id": "ecc00da.2c7107",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4239.5,\r
- "y": 475,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4795.5,\r
+ "y": 448,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "69fb5a0d.27a12c"\r
+ "30cb0de4.d526fa"\r
]\r
]\r
},\r
{\r
- "id": "d34714f7.10a51",\r
+ "id": "8ec5d396.327df",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4244.5,\r
- "y": 540,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4800.5,\r
+ "y": 513,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "f0eccde.2c0533"\r
+ "d98d92f9.c81fa"\r
]\r
]\r
},\r
{\r
- "id": "69fb5a0d.27a12c",\r
+ "id": "30cb0de4.d526fa",\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 Create OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 4415.5,\r
- "y": 475,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4971.5,\r
+ "y": 448,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "f0eccde.2c0533",\r
+ "id": "d98d92f9.c81fa",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4411,\r
- "y": 540,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4967,\r
+ "y": 513,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a96cdedb.06ef48",\r
+ "id": "b72def38.869578",\r
"type": "set",\r
"name": "set sotn_value",\r
- "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n",\r
+ "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
"comments": "",\r
- "x": 3796.5,\r
- "y": 694,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4352.5,\r
+ "y": 667,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "616c98c7.f82ea8",\r
+ "id": "61d206ce.c84cc",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create ethernet Service without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3950.5,\r
- "y": 742,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4506.5,\r
+ "y": 715,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "eef8ae3.fdd1a5",\r
- "8f2e62b6.e98788"\r
+ "4c218232.9ff344",\r
+ "70cfc429.d9d73c"\r
]\r
]\r
},\r
{\r
- "id": "eef8ae3.fdd1a5",\r
+ "id": "4c218232.9ff344",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4296,\r
- "y": 723,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4852,\r
+ "y": 696,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "f08a069b.6042c8"\r
+ "508ab9bd.6f59b"\r
]\r
]\r
},\r
{\r
- "id": "8f2e62b6.e98788",\r
+ "id": "70cfc429.d9d73c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4300,\r
- "y": 763,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4856,\r
+ "y": 736,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "b227b2c.229c1d"\r
+ "4484b215.bd52a4"\r
]\r
]\r
},\r
{\r
- "id": "f08a069b.6042c8",\r
+ "id": "508ab9bd.6f59b",\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 Create ethernet service rest api\" />\n",\r
"comments": "",\r
- "x": 4454,\r
- "y": 723,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5010,\r
+ "y": 696,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "b227b2c.229c1d",\r
+ "id": "4484b215.bd52a4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4457.5,\r
- "y": 763,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5013.5,\r
+ "y": 736,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "2af71c81.1e5aec",\r
- "5fe9896d.3d8e98"\r
+ "d5eb1314.bae0c8",\r
+ "10b6b358.4dd2d5"\r
]\r
]\r
},\r
{\r
- "id": "c5970f4b.9679a8",\r
+ "id": "1158b528.feaadb",\r
"type": "comment",\r
"name": "TODO: FIXME:",\r
"info": "put proper values based on connectivity resource retrieved from AAI",\r
"comments": "",\r
- "x": 3794,\r
- "y": 650,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4350,\r
+ "y": 623,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "2af71c81.1e5aec",\r
+ "id": "d5eb1314.bae0c8",\r
"type": "save",\r
"name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4788,\r
- "y": 728,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5344,\r
+ "y": 701,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "48dd1ec4.51cb4",\r
+ "id": "4e452bee.48e2ac",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
"comments": "",\r
- "x": 4652,\r
- "y": 687,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5208,\r
+ "y": 660,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "5fe9896d.3d8e98",\r
+ "id": "10b6b358.4dd2d5",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4715,\r
- "y": 774,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5271,\r
+ "y": 747,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "75d6c996.11aeb",\r
+ "id": "cdb19fe7.3fcc18",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 3787,\r
- "y": 239,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4343,\r
+ "y": 212,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "c824ab5b.360f6",\r
+ "id": "83225463.070fc",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3813,\r
- "y": 356,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4369,\r
+ "y": 329,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "19cd8085.d8fca7",\r
- "ff1311fc.28b29",\r
- "929f1027.4a5828"\r
+ "c77a135e.0cf11",\r
+ "733c4b21.b0276c",\r
+ "dfbdc2b7.10d7d"\r
]\r
]\r
},\r
{\r
- "id": "19cd8085.d8fca7",\r
+ "id": "c77a135e.0cf11",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4008.5001220703125,\r
- "y": 308,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4564.5001220703125,\r
+ "y": 281,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "a2185ea8.7f403"\r
+ "fc1575d4.07ce9"\r
]\r
]\r
},\r
{\r
- "id": "ff1311fc.28b29",\r
+ "id": "733c4b21.b0276c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4000.5001220703125,\r
- "y": 363,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4556.5001220703125,\r
+ "y": 336,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "c3cea897.f88808"\r
+ "2d634f91.a839c8"\r
]\r
]\r
},\r
{\r
- "id": "a2185ea8.7f403",\r
+ "id": "fc1575d4.07ce9",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4152.8824462890625,\r
- "y": 307.6556701660156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4708.8824462890625,\r
+ "y": 280.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "eb7f6fc2.5f3468"\r
+ "26c3005d.c41c58"\r
]\r
]\r
},\r
{\r
- "id": "a0fa7da8.75192",\r
+ "id": "fb614f2c.314568",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4735,\r
- "y": 310,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5291,\r
+ "y": 283,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "809287e6.83f07"\r
+ "5511aade.71874c"\r
]\r
]\r
},\r
{\r
- "id": "eb7f6fc2.5f3468",\r
+ "id": "26c3005d.c41c58",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4337,\r
- "y": 306,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4893,\r
+ "y": 279,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "21971ee2.f88962"\r
+ "d1afc9f2.3db068"\r
]\r
]\r
},\r
{\r
- "id": "21971ee2.f88962",\r
+ "id": "d1afc9f2.3db068",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4532,\r
- "y": 306,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5088,\r
+ "y": 279,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "a0fa7da8.75192"\r
+ "fb614f2c.314568"\r
]\r
]\r
},\r
{\r
- "id": "929f1027.4a5828",\r
+ "id": "dfbdc2b7.10d7d",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4005.5001220703125,\r
- "y": 420,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4561.5001220703125,\r
+ "y": 393,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "5ece63ab.72534c"\r
+ "1874b649.d37aaa"\r
]\r
]\r
},\r
{\r
- "id": "5ece63ab.72534c",\r
+ "id": "1874b649.d37aaa",\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": 4157.5001220703125,\r
- "y": 421,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4713.5001220703125,\r
+ "y": 394,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "c3cea897.f88808",\r
+ "id": "2d634f91.a839c8",\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.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 4168.5001220703125,\r
- "y": 364,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4724.5001220703125,\r
+ "y": 337,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "fd9485b.71b4af8",\r
+ "id": "37df0014.a385b",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5120,\r
- "y": 323,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5676,\r
+ "y": 296,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "12fe3fd6.ccef78",\r
- "5cf62e0d.6aa85",\r
- "156d902b.c3731"\r
+ "43de30da.db75e8",\r
+ "e5ad5cbe.572928",\r
+ "12e2c219.e2a25e"\r
]\r
]\r
},\r
{\r
- "id": "809287e6.83f07",\r
+ "id": "5511aade.71874c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4914,\r
- "y": 310,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5470,\r
+ "y": 283,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "a1955015.d4546",\r
- "fd9485b.71b4af8"\r
+ "29681795.e63f18",\r
+ "37df0014.a385b"\r
]\r
]\r
},\r
{\r
- "id": "a1955015.d4546",\r
+ "id": "29681795.e63f18",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainA id",\r
"xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5150,\r
- "y": 271,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5706,\r
+ "y": 244,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "12fe3fd6.ccef78",\r
+ "id": "43de30da.db75e8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5330,\r
- "y": 314,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5886,\r
+ "y": 287,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "cc3a75a4.21fc7"\r
+ "9fb5e37f.eaa9f"\r
]\r
]\r
},\r
{\r
- "id": "5cf62e0d.6aa85",\r
+ "id": "e5ad5cbe.572928",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5322,\r
- "y": 369,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5878,\r
+ "y": 342,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "bff3bfa.5f55cc"\r
+ "24f5f29e.218576"\r
]\r
]\r
},\r
{\r
- "id": "156d902b.c3731",\r
+ "id": "12e2c219.e2a25e",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5327,\r
- "y": 426,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5883,\r
+ "y": 399,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "be590afe.7cc5a8"\r
+ "cd568772.16e428"\r
]\r
]\r
},\r
{\r
- "id": "be590afe.7cc5a8",\r
+ "id": "cd568772.16e428",\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": 5479,\r
- "y": 427,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 6035,\r
+ "y": 400,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "bff3bfa.5f55cc",\r
+ "id": "24f5f29e.218576",\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.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 5490,\r
- "y": 372,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 6046,\r
+ "y": 345,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "cc3a75a4.21fc7",\r
+ "id": "9fb5e37f.eaa9f",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5474.38232421875,\r
- "y": 311.6556701660156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 6030.38232421875,\r
+ "y": 284.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "665ad654.79ee8"\r
+ "2b11e0ba.ac6cd8"\r
]\r
]\r
},\r
{\r
- "id": "665ad654.79ee8",\r
+ "id": "2b11e0ba.ac6cd8",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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",\r
"comments": "",\r
- "x": 5689,\r
- "y": 308,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 6245,\r
+ "y": 281,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "e86e6571.913898",\r
+ "id": "4cf7ab90.c1f3ec",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 714,\r
- "y": 485,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 712,\r
+ "y": 461,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "27bc86e9.1c4e52",\r
+ "id": "fec1365a.907b4",\r
"type": "set",\r
"name": "set attachment_param for OTN B",\r
- "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<parameter name='src-tpn-id' value='1' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
+ "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
"comments": "",\r
- "x": 3829,\r
- "y": 995,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3812,\r
+ "y": 1621,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "f8350413.ea8398",\r
+ "id": "eb21cc8f.003df8",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te: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": 3892,\r
- "y": 1324,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3875,\r
+ "y": 1950,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "4e841df5.4d2d34",\r
- "5e6f0ddb.0967b4"\r
+ "fc655ff.669232",\r
+ "dfbdc395.b4aa"\r
]\r
]\r
},\r
{\r
- "id": "4e841df5.4d2d34",\r
+ "id": "fc655ff.669232",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4187.5,\r
- "y": 1291,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4170.5,\r
+ "y": 1917,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "8fb2eae.74bbb98"\r
+ "d2ad58a1.dbb57"\r
]\r
]\r
},\r
{\r
- "id": "5e6f0ddb.0967b4",\r
+ "id": "dfbdc395.b4aa",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4192.5,\r
- "y": 1356,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4175.5,\r
+ "y": 1982,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "9fef13b3.660c58"\r
+ "43fba27a.3e8bd4"\r
]\r
]\r
},\r
{\r
- "id": "8fb2eae.74bbb98",\r
+ "id": "d2ad58a1.dbb57",\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 Create OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 4355.5,\r
- "y": 1291,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4338.5,\r
+ "y": 1917,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "9fef13b3.660c58",\r
+ "id": "43fba27a.3e8bd4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4366,\r
- "y": 1356,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4349,\r
+ "y": 1982,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2fd670.86d5219",\r
+ "id": "a7e92939.08a52",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 3768,\r
- "y": 1052,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3751,\r
+ "y": 1678,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "8581969f.3e9f8",\r
+ "id": "25024bed.781cdc",\r
"type": "get-resource",\r
"name": "get-resource dst pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3788,\r
- "y": 1149,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3771,\r
+ "y": 1775,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "3c9a5980.f5df5e",\r
- "6737c173.340e3",\r
- "68a240da.0733"\r
+ "17a289eb.8378c6",\r
+ "4e86abed.341d6c",\r
+ "9944c222.7ecb4"\r
]\r
]\r
},\r
{\r
- "id": "3c9a5980.f5df5e",\r
+ "id": "17a289eb.8378c6",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3990.5001220703125,\r
- "y": 1102,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3973.5001220703125,\r
+ "y": 1728,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "ea38c477.b7b2f"\r
+ "2250bf3f.3fcd88"\r
]\r
]\r
},\r
{\r
- "id": "6737c173.340e3",\r
+ "id": "4e86abed.341d6c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3982.5001220703125,\r
- "y": 1157,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3965.5001220703125,\r
+ "y": 1783,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "8bbc992f.718ea"\r
+ "7fe7998e.7db16"\r
]\r
]\r
},\r
{\r
- "id": "ea38c477.b7b2f",\r
+ "id": "2250bf3f.3fcd88",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4134.8824462890625,\r
- "y": 1099.6556701660156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4117.8824462890625,\r
+ "y": 1725.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "18cecfe3.6de9e"\r
+ "19367b54.5d4395"\r
]\r
]\r
},\r
{\r
- "id": "18cecfe3.6de9e",\r
+ "id": "19367b54.5d4395",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4319,\r
- "y": 1114,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4302,\r
+ "y": 1740,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "68f9f038.67b62"\r
+ "e137d17b.53afd"\r
]\r
]\r
},\r
{\r
- "id": "68a240da.0733",\r
+ "id": "9944c222.7ecb4",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3987.5001220703125,\r
- "y": 1214,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3970.5001220703125,\r
+ "y": 1840,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "20686ade.8b231e"\r
+ "c7e8bb41.e69fc8"\r
]\r
]\r
},\r
{\r
- "id": "20686ade.8b231e",\r
+ "id": "c7e8bb41.e69fc8",\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": 4139.5001220703125,\r
- "y": 1215,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4122.5001220703125,\r
+ "y": 1841,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "8bbc992f.718ea",\r
+ "id": "7fe7998e.7db16",\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.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 4150.5001220703125,\r
- "y": 1160,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4133.5001220703125,\r
+ "y": 1786,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "597aa62c.50d3c",\r
+ "id": "18a3ba34.8443fe",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4717,\r
- "y": 1118,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4700,\r
+ "y": 1744,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "e04d6fa3.eba9f"\r
+ "cca686b1.a86b48"\r
]\r
]\r
},\r
{\r
- "id": "68f9f038.67b62",\r
+ "id": "e137d17b.53afd",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4514,\r
- "y": 1114,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4497,\r
+ "y": 1740,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "597aa62c.50d3c"\r
+ "18a3ba34.8443fe"\r
]\r
]\r
},\r
{\r
- "id": "2f50548b.6d0f1c",\r
+ "id": "ec259c93.12e46",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5102,\r
- "y": 1117,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5085,\r
+ "y": 1743,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "a769e440.df581",\r
- "a7207c49.d2bbc",\r
- "1e0583ed.3bab5c"\r
+ "cf9d2f3.18e805",\r
+ "1901d45c.9387cc",\r
+ "86a361e1.5f9008"\r
]\r
]\r
},\r
{\r
- "id": "e04d6fa3.eba9f",\r
+ "id": "cca686b1.a86b48",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4894,\r
- "y": 1110,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4877,\r
+ "y": 1736,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "eacacb80.08d4c",\r
- "2f50548b.6d0f1c"\r
+ "2d219530.71913a",\r
+ "ec259c93.12e46"\r
]\r
]\r
},\r
{\r
- "id": "eacacb80.08d4c",\r
+ "id": "2d219530.71913a",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainB id",\r
"xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5132,\r
- "y": 1065,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5115,\r
+ "y": 1691,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "61827e75.b97ad8",\r
+ "id": "bb17bcb1.afece8",\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": 5461,\r
- "y": 1221,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5444,\r
+ "y": 1847,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "b6c7c29b.5ee08",\r
+ "id": "e71302c9.0e3fc8",\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.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 5472,\r
- "y": 1166,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5455,\r
+ "y": 1792,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "7c1b7b20.2d7bbc",\r
+ "id": "c367d2df.137348",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5456.38232421875,\r
- "y": 1105.6556701660156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5439.38232421875,\r
+ "y": 1731.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "9190ad56.af3378"\r
+ "bfc16252.e05aa"\r
]\r
]\r
},\r
{\r
- "id": "9190ad56.af3378",\r
+ "id": "bfc16252.e05aa",\r
"type": "set",\r
"name": "set controller domainB data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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",\r
"comments": "",\r
- "x": 5671,\r
- "y": 1102,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5654,\r
+ "y": 1728,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "a769e440.df581",\r
+ "id": "cf9d2f3.18e805",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5312,\r
- "y": 1108,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5295,\r
+ "y": 1734,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "7c1b7b20.2d7bbc"\r
+ "c367d2df.137348"\r
]\r
]\r
},\r
{\r
- "id": "a7207c49.d2bbc",\r
+ "id": "1901d45c.9387cc",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5304,\r
- "y": 1163,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5287,\r
+ "y": 1789,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "b6c7c29b.5ee08"\r
+ "e71302c9.0e3fc8"\r
]\r
]\r
},\r
{\r
- "id": "1e0583ed.3bab5c",\r
+ "id": "86a361e1.5f9008",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5309,\r
- "y": 1220,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 5292,\r
+ "y": 1846,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "61827e75.b97ad8"\r
+ "bb17bcb1.afece8"\r
]\r
]\r
},\r
{\r
- "id": "9174febc.b8b998",\r
+ "id": "5afc15bc.b14b2c",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1826,\r
- "y": 474,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 1824,\r
+ "y": 450,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "c96ce0ff.9fbaf8",\r
- "96dddcba.eaaec8",\r
- "4ccaabcc.f5bb34"\r
+ "c4ea2f12.0682f8",\r
+ "89ba984f.fbff08",\r
+ "4c31ddac.b140a4"\r
]\r
]\r
},\r
{\r
- "id": "c96ce0ff.9fbaf8",\r
+ "id": "c4ea2f12.0682f8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2034,\r
- "y": 438,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2032,\r
+ "y": 414,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "5281d926.1c9dd"\r
+ "207f18a3.1780c8"\r
]\r
]\r
},\r
{\r
- "id": "96dddcba.eaaec8",\r
+ "id": "89ba984f.fbff08",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2034.490966796875,\r
- "y": 483.57403564453125,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2032.490966796875,\r
+ "y": 459.57403564453125,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "50a19d40.768324"\r
+ "db0bb70b.5af75"\r
]\r
]\r
},\r
{\r
- "id": "4ccaabcc.f5bb34",\r
+ "id": "4c31ddac.b140a4",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2032,\r
- "y": 527,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2030,\r
+ "y": 503,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "ffedf4ef.62de2"\r
+ "34efc961.392a36"\r
]\r
]\r
},\r
{\r
- "id": "50a19d40.768324",\r
+ "id": "db0bb70b.5af75",\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": 2197.0623779296875,\r
- "y": 483.8597717285156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2195.0623779296875,\r
+ "y": 459.8597717285156,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "ffedf4ef.62de2",\r
+ "id": "34efc961.392a36",\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": 2201,\r
- "y": 528,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2199,\r
+ "y": 504,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "113dd07d.86f868",\r
+ "id": "da2f8124.076ab8",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2507,\r
- "y": 527,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2505,\r
+ "y": 503,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "2b6a4b71.479d3c",\r
- "34c32e6f.a9d052",\r
- "c2c66c33.7e24d"\r
+ "28f88824.b7c4b8",\r
+ "d6ad8583.7ca128",\r
+ "c9e967f5.e899f8"\r
]\r
]\r
},\r
{\r
- "id": "7a40580d.1d5388",\r
+ "id": "f459c148.932bf8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2891,\r
- "y": 527,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2885,\r
+ "y": 591,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "eeee2acf.9c0ba8",\r
- "57847c7b.2f3dbc"\r
+ "1c6e3351.8ccb0d"\r
]\r
]\r
},\r
{\r
- "id": "2b6a4b71.479d3c",\r
+ "id": "28f88824.b7c4b8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2718,\r
- "y": 529,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2716,\r
+ "y": 592,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "7a40580d.1d5388"\r
+ "f459c148.932bf8"\r
]\r
]\r
},\r
{\r
- "id": "34c32e6f.a9d052",\r
+ "id": "d6ad8583.7ca128",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
"x": 2718.490966796875,\r
- "y": 574.5740356445312,\r
- "z": "8a9c455f.82beb8",\r
+ "y": 487.57403564453125,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "17c937f3.281d28"\r
+ "ef5820a6.09d9d"\r
]\r
]\r
},\r
{\r
- "id": "c2c66c33.7e24d",\r
+ "id": "c9e967f5.e899f8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2716,\r
- "y": 618,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2714,\r
+ "y": 532,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "45484d04.351e94"\r
+ "bd9d5fad.2d262"\r
]\r
]\r
},\r
{\r
- "id": "45484d04.351e94",\r
+ "id": "bd9d5fad.2d262",\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": 2883,\r
- "y": 617,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2882,\r
+ "y": 532,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "17c937f3.281d28",\r
+ "id": "ef5820a6.09d9d",\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": 2881.0623779296875,\r
- "y": 574.8597717285156,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2881.0625,\r
+ "y": 486.8597412109375,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "5281d926.1c9dd",\r
+ "id": "207f18a3.1780c8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2235,\r
- "y": 433,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2233,\r
+ "y": 409,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "24c8cf8c.d35f5"\r
+ "208bed02.1187fa"\r
]\r
]\r
},\r
{\r
- "id": "24c8cf8c.d35f5",\r
+ "id": "208bed02.1187fa",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2440,\r
- "y": 433,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2438,\r
+ "y": 409,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "ffd8562e.6c7ab"\r
+ "f005e0a8.cc7dc8"\r
]\r
]\r
},\r
{\r
- "id": "ffd8562e.6c7ab",\r
+ "id": "f005e0a8.cc7dc8",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2606,\r
- "y": 433,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2604,\r
+ "y": 409,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "1639e360.7db745"\r
+ "51d187ad.ad3078"\r
]\r
]\r
},\r
{\r
- "id": "1639e360.7db745",\r
+ "id": "51d187ad.ad3078",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2769,\r
- "y": 433,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2767,\r
+ "y": 409,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "113dd07d.86f868",\r
- "b864657f.9c5a"\r
+ "da2f8124.076ab8",\r
+ "1e447cc1.915cb3"\r
]\r
]\r
},\r
{\r
- "id": "eeee2acf.9c0ba8",\r
+ "id": "aecb0c53.70b3e8",\r
"type": "switchNode",\r
"name": "switch vpn-binding has dst-access-ltp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3145,\r
- "y": 526,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3326,\r
+ "y": 692,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "888039c0.be2748",\r
- "40c5843d.11f78c"\r
+ "45f40514.0a111c",\r
+ "e5457af4.842818"\r
]\r
]\r
},\r
{\r
- "id": "888039c0.be2748",\r
+ "id": "45f40514.0a111c",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3398,\r
- "y": 560,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3540,\r
+ "y": 729,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "d751d093.92a62"\r
+ "4c5d5e83.4b55d8"\r
]\r
]\r
},\r
{\r
- "id": "40c5843d.11f78c",\r
+ "id": "e5457af4.842818",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3398,\r
- "y": 504,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3542,\r
+ "y": 667,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "ddefc1a3.6644c8"\r
+ "d204a9f5.cb1f"\r
]\r
]\r
},\r
{\r
- "id": "d751d093.92a62",\r
+ "id": "4c5d5e83.4b55d8",\r
"type": "switchNode",\r
"name": "switch vpn-binding has src-access-ltp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3137,\r
- "y": 1346,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3120,\r
+ "y": 1972,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "b9609f04.c7afe8",\r
- "28e97c84.2c5ab4"\r
+ "e25a0aae.dc3b6",\r
+ "5811aab2.c9cdb4"\r
]\r
]\r
},\r
{\r
- "id": "b9609f04.c7afe8",\r
+ "id": "e25a0aae.dc3b6",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3390,\r
- "y": 1380,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3373,\r
+ "y": 2006,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "ee3de09a.383318"\r
+ "e2283676.c05cf8"\r
]\r
]\r
},\r
{\r
- "id": "28e97c84.2c5ab4",\r
+ "id": "5811aab2.c9cdb4",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3390,\r
- "y": 1324,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3373,\r
+ "y": 1950,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "b80c5827.1a79a"\r
+ "5f1f11a6.4b622"\r
]\r
]\r
},\r
{\r
- "id": "ee3de09a.383318",\r
+ "id": "e2283676.c05cf8",\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": 3541,\r
- "y": 1380,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3524,\r
+ "y": 2006,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "8527e1fa.cc6b4",\r
+ "id": "ef6002a3.a9265",\r
"type": "set",\r
"name": "set vpn-bindingA and connectivityA",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
"comments": "",\r
- "x": 3844,\r
- "y": 131,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4400,\r
+ "y": 104,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "615fdc8e.20c4e4",\r
+ "id": "d11d0786.01d8c8",\r
"type": "set",\r
"name": "set vpn-bindingB and connectivityB",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
"comments": "",\r
- "x": 3825,\r
- "y": 937,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3808,\r
+ "y": 1563,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "ddefc1a3.6644c8",\r
+ "id": "4923e79.d3d2a98",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3566,\r
- "y": 506,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4091,\r
+ "y": 361,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "8527e1fa.cc6b4",\r
- "25e7d332.a761fc",\r
- "75d6c996.11aeb",\r
- "c824ab5b.360f6",\r
- "a96cdedb.06ef48",\r
- "616c98c7.f82ea8",\r
- "fee47d9.4382e"\r
+ "ef6002a3.a9265",\r
+ "73d91f0d.979448",\r
+ "cdb19fe7.3fcc18",\r
+ "83225463.070fc",\r
+ "b72def38.869578",\r
+ "61d206ce.c84cc",\r
+ "53d5aef.e4ebbd"\r
]\r
]\r
},\r
{\r
- "id": "b80c5827.1a79a",\r
+ "id": "5f1f11a6.4b622",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3541,\r
- "y": 1323,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3524,\r
+ "y": 1949,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "615fdc8e.20c4e4",\r
- "27bc86e9.1c4e52",\r
- "2fd670.86d5219",\r
- "8581969f.3e9f8",\r
- "f8350413.ea8398",\r
- "96b5aedc.4196d",\r
- "e2e659bb.42dea"\r
+ "d11d0786.01d8c8",\r
+ "fec1365a.907b4",\r
+ "a7e92939.08a52",\r
+ "25024bed.781cdc",\r
+ "eb21cc8f.003df8",\r
+ "1be8ac25.0620fc",\r
+ "6fb79d87.420834"\r
]\r
]\r
},\r
{\r
- "id": "96b5aedc.4196d",\r
+ "id": "1be8ac25.0620fc",\r
"type": "set",\r
"name": "set sotn_value",\r
- "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n",\r
+ "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
"comments": "",\r
- "x": 3770,\r
- "y": 1466,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3753,\r
+ "y": 2092,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "e2e659bb.42dea",\r
+ "id": "6fb79d87.420834",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create ethernet Service without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3924,\r
- "y": 1514,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3907,\r
+ "y": 2140,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "a28581db.fa7cb",\r
- "a3f78a52.db8928"\r
+ "6175c964.8889d",\r
+ "add709ae.0740f"\r
]\r
]\r
},\r
{\r
- "id": "a28581db.fa7cb",\r
+ "id": "6175c964.8889d",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4269.5,\r
- "y": 1495,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4252.5,\r
+ "y": 2121,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "14523534.ce6de3"\r
+ "7caa2ba7.6bf4dc"\r
]\r
]\r
},\r
{\r
- "id": "a3f78a52.db8928",\r
+ "id": "add709ae.0740f",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4273.5,\r
- "y": 1535,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4256.5,\r
+ "y": 2161,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "2e9384b8.e29014"\r
+ "43eb2ee.41b33d"\r
]\r
]\r
},\r
{\r
- "id": "14523534.ce6de3",\r
+ "id": "7caa2ba7.6bf4dc",\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 Create ethernet service rest api\" />\n",\r
"comments": "",\r
- "x": 4427.5,\r
- "y": 1495,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4410.5,\r
+ "y": 2121,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "2e9384b8.e29014",\r
+ "id": "43eb2ee.41b33d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4431,\r
- "y": 1535,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4414,\r
+ "y": 2161,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[\r
- "b54e7482.e242c8",\r
- "df1f167a.857918"\r
+ "30f33337.055d14",\r
+ "948532eb.e6c7c"\r
]\r
]\r
},\r
{\r
- "id": "364ac531.cfcb5a",\r
+ "id": "bc6f9b2b.7321f",\r
"type": "comment",\r
"name": "TODO: FIXME:",\r
"info": "put proper values based on connectivity resource retrieved from AAI",\r
"comments": "",\r
- "x": 3767.5,\r
- "y": 1422,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3750.5,\r
+ "y": 2048,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "b54e7482.e242c8",\r
+ "id": "30f33337.055d14",\r
"type": "save",\r
"name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4771,\r
- "y": 1534,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4754,\r
+ "y": 2160,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "68be1db9.7e03ec",\r
+ "id": "227afae6.b4c94e",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
"comments": "",\r
- "x": 4629,\r
- "y": 1492,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4612,\r
+ "y": 2118,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "df1f167a.857918",\r
+ "id": "948532eb.e6c7c",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4700,\r
- "y": 1583,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 4683,\r
+ "y": 2209,\r
+ "z": "f351885d.7dcd3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "57847c7b.2f3dbc",\r
+ "id": "55624da8.df976c",\r
"type": "set",\r
- "name": "set attachment_param for OTN",\r
+ "name": "set attachment_param (gfp-n) for OTN",\r
"xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
"comments": "",\r
- "x": 3132,\r
- "y": 432,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 3317,\r
+ "y": 632,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
},\r
{\r
- "id": "b864657f.9c5a",\r
+ "id": "1e447cc1.915cb3",\r
"type": "set",\r
"name": "unset tmp.aai.vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
"comments": "",\r
- "x": 2953,\r
- "y": 304,\r
- "z": "8a9c455f.82beb8",\r
+ "x": 2951,\r
+ "y": 280,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f396e52b.35559",\r
+ "type": "comment",\r
+ "name": "only dst ttp exists. No src",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3912,\r
+ "y": 318,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72b06eec.578eb8",\r
+ "type": "comment",\r
+ "name": "only src ttp exists. No dst",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3469,\r
+ "y": 1896,\r
+ "z": "f351885d.7dcd3",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "d204a9f5.cb1f",\r
+ "type": "switchNode",\r
+ "name": "switch vpn-binding has src-access-ltp",\r
+ "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3648,\r
+ "y": 480,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "7da55af.10937a4",\r
+ "d30ba4e8.997a68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d30ba4e8.997a68",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3890,\r
+ "y": 1069,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "b0909b7a.d37638"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7da55af.10937a4",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3884,\r
+ "y": 360,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "4923e79.d3d2a98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b0909b7a.d37638",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4048,\r
+ "y": 1068,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "aadf2b5c.a1838",\r
+ "8fb5b52a.4e2ae",\r
+ "a006da1c.c23038",\r
+ "7e67d000.77abb",\r
+ "23d1e7d8.976258"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8fb5b52a.4e2ae",\r
+ "type": "set",\r
+ "name": "set attachment_param for OTN G",\r
+ "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
+ "comments": "",\r
+ "x": 4312,\r
+ "y": 951,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "23d1e7d8.976258",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Create OTN tunnel with token",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.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": 4393,\r
+ "y": 1266,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "c8d598bd.cbc8e",\r
+ "c93ae11e.1c54c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8d598bd.cbc8e",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4702.5,\r
+ "y": 1235,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "a086276f.4222f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c93ae11e.1c54c8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4707.5,\r
+ "y": 1300,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "51323b7.caecec4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a086276f.4222f8",\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 Create OTN tunnel rest api\" />\n",\r
+ "comments": "",\r
+ "x": 4878.5,\r
+ "y": 1235,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "51323b7.caecec4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4874,\r
+ "y": 1300,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a006da1c.c23038",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 4250,\r
+ "y": 999,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7e67d000.77abb",\r
+ "type": "get-resource",\r
+ "name": "get-resource src pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domainG.pnf-name\"\n pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4276,\r
+ "y": 1116,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "ec2bb2c1.50dad",\r
+ "6fe2c398.ccd7b4",\r
+ "2cf209f9.a94e2e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ec2bb2c1.50dad",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4471.5001220703125,\r
+ "y": 1068,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "e5c84b9e.98975"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6fe2c398.ccd7b4",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4463.5001220703125,\r
+ "y": 1123,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "be59a3.0881066"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e5c84b9e.98975",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4615.8824462890625,\r
+ "y": 1067.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "40635ccb.0881a4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40635ccb.0881a4",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4800,\r
+ "y": 1066,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "ff02a9b.ff8ffd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ff02a9b.ff8ffd8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4995,\r
+ "y": 1066,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "d3d180f4.36fa68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2cf209f9.a94e2e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4468.5001220703125,\r
+ "y": 1180,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "2b5a1252.216fe6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2b5a1252.216fe6",\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": 4620.5001220703125,\r
+ "y": 1181,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "be59a3.0881066",\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.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 4631.5001220703125,\r
+ "y": 1124,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aadf2b5c.a1838",\r
+ "type": "set",\r
+ "name": "set vpn-bindingG and connectivityG",\r
+ "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
+ "comments": "",\r
+ "x": 4307,\r
+ "y": 891,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d3d180f4.36fa68",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5198,\r
+ "y": 1070,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "8355bb98.2142e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d998285a.8338c",\r
+ "type": "execute",\r
+ "name": "get esr-thirdparty-sdnc",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5583,\r
+ "y": 1083,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "38daac86.dbf464",\r
+ "21dc6947.7d9bae",\r
+ "a47aca30.5160e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8355bb98.2142e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5377,\r
+ "y": 1070,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "583e9682.750428",\r
+ "d998285a.8338c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "583e9682.750428",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainG id",\r
+ "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5613,\r
+ "y": 1031,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "38daac86.dbf464",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5793,\r
+ "y": 1074,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "10b34ad5.e58d9d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21dc6947.7d9bae",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5785,\r
+ "y": 1129,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "6ce9bc65.05009c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a47aca30.5160e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5790,\r
+ "y": 1186,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "18239e9b.852729"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "18239e9b.852729",\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": 5942,\r
+ "y": 1187,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6ce9bc65.05009c",\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.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 5953,\r
+ "y": 1132,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "10b34ad5.e58d9d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5937.38232421875,\r
+ "y": 1071.6556701660156,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "d4058b68.bd8818"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4058b68.bd8818",\r
+ "type": "set",\r
+ "name": "set controller domainG data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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",\r
+ "comments": "",\r
+ "x": 6152,\r
+ "y": 1068,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3a09f359.556f04",\r
+ "type": "comment",\r
+ "name": "both src and dst exist",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3926,\r
+ "y": 1009,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1c6e3351.8ccb0d",\r
+ "type": "switchNode",\r
+ "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
+ "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2488,\r
+ "y": 736,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "91c41639.2357b",\r
+ "5aa31f25.4b2718"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5aa31f25.4b2718",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2895,\r
+ "y": 754,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "49ef7599.6e682c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91c41639.2357b",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2895,\r
+ "y": 699,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "c7ffb45b.775578"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c7ffb45b.775578",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3051,\r
+ "y": 697,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ [\r
+ "55624da8.df976c",\r
+ "aecb0c53.70b3e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49ef7599.6e682c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3028,\r
+ "y": 755,\r
+ "z": "f351885d.7dcd3",\r
+ "wires": [\r
+ []\r
+ ]\r
}\r
]
\ No newline at end of file