+ },\r
+ {\r
+ "id": "8481025.43fb9",\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.pnf-name-forUrl\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 651.3333129882812,\r
+ "y": 2368.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "372d54fa.9f96f4",\r
+ "9dc1c4cc.c7a94",\r
+ "2d38b1b0.a69f26"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "372d54fa.9f96f4",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 846.8334350585938,\r
+ "y": 2320.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "eb66892d.1f2808"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9dc1c4cc.c7a94",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 838.8334350585938,\r
+ "y": 2375.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "79e4473c.6cea88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eb66892d.1f2808",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 991.2157592773438,\r
+ "y": 2319.65567779541,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "a488eeff.b05b28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a488eeff.b05b28",\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": 1175.3333129882812,\r
+ "y": 2318.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "52486109.89e3d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "52486109.89e3d",\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": 1370.3333129882812,\r
+ "y": 2318.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "9a45a6ac.6bb008"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d38b1b0.a69f26",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 843.8334350585938,\r
+ "y": 2432.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "7ec62576.a9581c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ec62576.a9581c",\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": 995.8334350585938,\r
+ "y": 2433.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "79e4473c.6cea88",\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": 1006.8334350585938,\r
+ "y": 2376.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "46b10267.ea0e94",\r
+ "type": "set",\r
+ "name": "set tmp.pnf-name-forUrl",\r
+ "xml": "<set>\n\n<parameter name='tmp.pnf-name-forUrl' value=\"`'networkId-providerId-' +\n $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n $tmp.aai.connectivity.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 641.3333129882812,\r
+ "y": 2280.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9e415421.d3d5",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 386.33331298828125,\r
+ "y": 2411.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "46b10267.ea0e94",\r
+ "8481025.43fb9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e5923dd1.06f5c",\r
+ "type": "comment",\r
+ "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1601.2999877929688,\r
+ "y": 228.88333892822266,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57052eb0.583298",\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": 803.3333129882812,\r
+ "y": 451.00000762939453,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b87c2610.4dcfe8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 362.83331298828125,\r
+ "y": 1420.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "c36699ae.d9b4d8",\r
+ "d56221fe.c2bbf",\r
+ "c236e813.0b75c",\r
+ "ccf5136c.426918",\r
+ "bcc45625.ebbc48",\r
+ "fa8a8b3f.f0a5f8",\r
+ "67d19d91.7e0464",\r
+ "6dec5e05.6defc8",\r
+ "4d2f3635.de76f",\r
+ "9e415421.d3d5",\r
+ "4fcc44c7.7479d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a26c91d.a51bf",\r
+ "type": "switchNode",\r
+ "name": "switch uni type",\r
+ "xml": "<switch test=\"`$tmp.aai.uni.type`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1393.3333129882812,\r
+ "y": 1258.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "a9279133.62197",\r
+ "c4ef1cec.86081",\r
+ "5303ba0b.725dcc",\r
+ "84ee69ca.e736d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a9279133.62197",\r
+ "type": "outcome",\r
+ "name": "leaf",\r
+ "xml": "<outcome value='leaf'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1558.3333129882812,\r
+ "y": 1240.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "df04fed1.2e9e3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c4ef1cec.86081",\r
+ "type": "outcome",\r
+ "name": "root",\r
+ "xml": "<outcome value='root'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1561.3333129882812,\r
+ "y": 1279.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "1437703.dec509"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84ee69ca.e736d8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1555.3333129882812,\r
+ "y": 1357.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "c52f2275.ca0538"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5303ba0b.725dcc",\r
+ "type": "outcome",\r
+ "name": "root-secondary",\r
+ "xml": "<outcome value='root-secondary'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1578.3333129882812,\r
+ "y": 1320.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "bb188e14.1d1858"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4fe23e8.e2bba",\r
+ "type": "set",\r
+ "name": "unset ethernet-srv-end-points-list",\r
+ "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+ "comments": "",\r
+ "x": 2124.3333129882812,\r
+ "y": 1353.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a68d577a.75b008",\r
+ "type": "set",\r
+ "name": "set leafOrRootAccess",\r
+ "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-secondary' />\n",\r
+ "comments": "",\r
+ "x": 2086.3333129882812,\r
+ "y": 1393.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c52f2275.ca0538",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1707.3333129882812,\r
+ "y": 1378.0000076293945,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0a0a9f7.c3b968",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.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": 1296.9166870117188,\r
+ "y": 2677.333625793457,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "df04fed1.2e9e3",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1693.2499389648438,\r
+ "y": 1236.3332595825195,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "7128141a.22afcc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1437703.dec509",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1695.2499389648438,\r
+ "y": 1274.3332595825195,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "59bf9e6a.8c5448"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bb188e14.1d1858",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1738.2499389648438,\r
+ "y": 1321.3332595825195,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "a68d577a.75b008"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39281a09.347b8e",\r
+ "type": "execute",\r
+ "name": "execute RestconfDiscoveryNode establishSubscription",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1264.9166870117188,\r
+ "y": 2749.3335037231445,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8394d0d1.93103",\r
+ "type": "execute",\r
+ "name": "execute RestconfDiscoveryNode establishPersistentConnection",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishPersistentSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1294.9166870117188,\r
+ "y": 2811.3335037231445,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4fcc44c7.7479d4",\r
+ "type": "set",\r
+ "name": "unset ethernet-srv-end-points-list",\r
+ "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+ "comments": "",\r
+ "x": 688.3333129882812,\r
+ "y": 1358.1667556762695,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "462f3353.3aa76c",\r
+ "type": "switchNode",\r
+ "name": "switch conn type",\r
+ "xml": "<switch test=\"`$tmp.aai.connectivity.vpn-type`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 229.3333282470703,\r
+ "y": 1069.166633605957,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "66788e31.cd8e5",\r
+ "15c226b1.2f2f21"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "15c226b1.2f2f21",\r
+ "type": "outcome",\r
+ "name": "root",\r
+ "xml": "<outcome value='root'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 414.33331298828125,\r
+ "y": 1243.166633605957,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "b87c2610.4dcfe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "66788e31.cd8e5",\r
+ "type": "outcome",\r
+ "name": "leaf",\r
+ "xml": "<outcome value='leaf'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 417.33331298828125,\r
+ "y": 1198.166633605957,\r
+ "z": "d12a8890.0a99a",\r
+ "wires": [\r
+ [\r
+ "b87c2610.4dcfe8"\r
+ ]\r
+ ]\r