aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json678
1 files changed, 678 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json
new file mode 100644
index 00000000..53740880
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json
@@ -0,0 +1,678 @@
+[
+ {
+ "id": "31e5d2b5.0599fe",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='mmridx' start='0' end='`$tmp.aai.mmrconnectivity.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 236,
+ "y": 993,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "a78d056.b5ab7f8",
+ "e1cdc8ba.a395c"
+ ]
+ ]
+ },
+ {
+ "id": "e1cdc8ba.a395c",
+ "type": "set",
+ "name": "unset tmp.aai.mmrvpn-binding",
+ "xml": "<set>\n<parameter name='tmp.aai.mmrvpn-binding.' value='' />\n",
+ "comments": "",
+ "x": 482,
+ "y": 949,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "a78d056.b5ab7f8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$mmridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 442,
+ "y": 993,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "7bf078a.9be4108"
+ ]
+ ]
+ },
+ {
+ "id": "7bf078a.9be4108",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 625.28564453125,
+ "y": 992.82177734375,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "215d3faa.f51c98"
+ ]
+ ]
+ },
+ {
+ "id": "215d3faa.f51c98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 225,
+ "y": 1037,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "b17f0df1.95c4d8"
+ ]
+ ]
+ },
+ {
+ "id": "b17f0df1.95c4d8",
+ "type": "switchNode",
+ "name": "switch vpnNameToSearch",
+ "xml": "<switch test='`$vpnNameToSearch == $middle-man-conn.relationship-list.relationship[$mmridx].related-to-property[0].property-value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 430,
+ "y": 1038,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "21e2127f.8c1dd6"
+ ]
+ ]
+ },
+ {
+ "id": "be70d08a.d902c8",
+ "type": "set",
+ "name": "unset foundVpnName",
+ "xml": "<set>\n<parameter name='foundVpnName' value='false' />\n",
+ "comments": "",
+ "x": 957,
+ "y": 136,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "21e2127f.8c1dd6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 610,
+ "y": 1038,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "de7119e9.e6ede"
+ ]
+ ]
+ },
+ {
+ "id": "de7119e9.e6ede",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 731,
+ "y": 1035,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "fd90809a.6ecd2",
+ "99d884af.46fd"
+ ]
+ ]
+ },
+ {
+ "id": "fd90809a.6ecd2",
+ "type": "set",
+ "name": "set foundVpnName",
+ "xml": "<set>\n<parameter name='foundVpnName' value='true' />\n",
+ "comments": "",
+ "x": 896,
+ "y": 1004,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "99d884af.46fd",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 859,
+ "y": 1049,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "6c40187e.e79158",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 157,
+ "y": 62,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "3a7938e1.994d7"
+ ]
+ ]
+ },
+ {
+ "id": "3a7938e1.994d7",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "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}'>",
+ "outputs": 1,
+ "x": 441.2856903076172,
+ "y": 123.23810863494873,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "f46afc6.271308"
+ ]
+ ]
+ },
+ {
+ "id": "f46afc6.271308",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-searchVpnName",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 447.42860412597656,
+ "y": 208.00003051757812,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "45b2ac64.9618cc"
+ ]
+ ]
+ },
+ {
+ "id": "45b2ac64.9618cc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 757.238037109375,
+ "y": 199.66668701171875,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "be70d08a.d902c8",
+ "c0805bdc.60a32"
+ ]
+ ]
+ },
+ {
+ "id": "c0805bdc.60a32",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='mmridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 856,
+ "y": 289,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "7c17985e.24b9a8",
+ "2b1d3c50.df6fdc",
+ "cfff50b2.fe63"
+ ]
+ ]
+ },
+ {
+ "id": "2b1d3c50.df6fdc",
+ "type": "set",
+ "name": "unset tmp.aai.mmrconnectivity",
+ "xml": "<set>\n<parameter name='tmp.aai.mmrconnectivity.' value='' />\n",
+ "comments": "",
+ "x": 1078,
+ "y": 245,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "7c17985e.24b9a8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$mmridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1062,
+ "y": 289,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "f9896c6a.7a3708"
+ ]
+ ]
+ },
+ {
+ "id": "f9896c6a.7a3708",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1245.28564453125,
+ "y": 288.82177734375,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "30ebd3e5.770cf4"
+ ]
+ ]
+ },
+ {
+ "id": "30ebd3e5.770cf4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 273,
+ "y": 394,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "82504752.c08ad8"
+ ]
+ ]
+ },
+ {
+ "id": "82504752.c08ad8",
+ "type": "save",
+ "name": "get connectivity from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$mmridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.mmrconnectivity\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 480,
+ "y": 394,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "5f90d2a5.9f7054",
+ "65dc53f7.8e7784",
+ "1a9e510a.adb4e7"
+ ]
+ ]
+ },
+ {
+ "id": "5f90d2a5.9f7054",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 701,
+ "y": 367,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "87fec7ad.f202"
+ ]
+ ]
+ },
+ {
+ "id": "754c7814.0e8a58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 855,
+ "y": 448,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "d131384d.b16ff8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 851.0623779296875,
+ "y": 403.8597717285156,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "65dc53f7.8e7784",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.490966796875,
+ "y": 403.57403564453125,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "d131384d.b16ff8"
+ ]
+ ]
+ },
+ {
+ "id": "1a9e510a.adb4e7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 686,
+ "y": 447,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "754c7814.0e8a58"
+ ]
+ ]
+ },
+ {
+ "id": "ab4fd3e7.8abc6",
+ "type": "switchNode",
+ "name": "switch conn vlan same as curr ll",
+ "xml": "<!--<switch test=\"`$tmp.aai.all-connectivities.connectivity[$connidx].cvlan == $tmp.aai.network-route-LEAF.logical-interface-id `\">-->\n<switch test=\"`$tmp.aai.mmrconnectivity.cvlan == $tmp.aai.network-route-LEAF.logical-interface-id `\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 285,
+ "y": 665,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "2c46c2f6.973bfe",
+ "85b72055.4d73f"
+ ]
+ ]
+ },
+ {
+ "id": "2c46c2f6.973bfe",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 496,
+ "y": 635,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "d5af698e.25e738"
+ ]
+ ]
+ },
+ {
+ "id": "85b72055.4d73f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 494,
+ "y": 687,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "7ec9db69.7abb2c"
+ ]
+ ]
+ },
+ {
+ "id": "d5af698e.25e738",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 651,
+ "y": 636,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ec9db69.7abb2c",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='connrelidx' start='0' end='`$tmp.aai.mmrconnectivity.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 678,
+ "y": 685,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "e28e2052.a958a",
+ "63bf8e12.beb788"
+ ]
+ ]
+ },
+ {
+ "id": "e28e2052.a958a",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.mmrconnectivity.relationship-list.relationship[$connrelidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 884,
+ "y": 685,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "f0e6ef1c.3db2d"
+ ]
+ ]
+ },
+ {
+ "id": "f0e6ef1c.3db2d",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1048.28564453125,
+ "y": 684.82177734375,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "402026e2.423eb8"
+ ]
+ ]
+ },
+ {
+ "id": "87fec7ad.f202",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 856,
+ "y": 362,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "ab4fd3e7.8abc6",
+ "8d8a1b19.f80f38"
+ ]
+ ]
+ },
+ {
+ "id": "63bf8e12.beb788",
+ "type": "set",
+ "name": "unset tmp.aai.mmrvpn-binding",
+ "xml": "<set>\n<parameter name='tmp.aai.mmrvpn-binding.' value='' />\n",
+ "comments": "",
+ "x": 914,
+ "y": 623,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "402026e2.423eb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 273,
+ "y": 804,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "d52369a5.e7da38"
+ ]
+ ]
+ },
+ {
+ "id": "d52369a5.e7da38",
+ "type": "switchNode",
+ "name": "switch vpnNameToSearch",
+ "xml": "<switch test='`$vpnNameToSearch == $tmp.aai.mmrconnectivity.relationship-list.relationship[$connrelidx].related-to-property[0].property-value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478,
+ "y": 805,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "24a01305.62ce64"
+ ]
+ ]
+ },
+ {
+ "id": "24a01305.62ce64",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 658,
+ "y": 805,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "9ddcd462.0017f"
+ ]
+ ]
+ },
+ {
+ "id": "9ddcd462.0017f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 779,
+ "y": 802,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "fa3ceefe.cff1a",
+ "4d6041d5.dfff38"
+ ]
+ ]
+ },
+ {
+ "id": "fa3ceefe.cff1a",
+ "type": "set",
+ "name": "set foundVpnName",
+ "xml": "<set>\n<parameter name='foundVpnName' value='true' />\n",
+ "comments": "",
+ "x": 944,
+ "y": 771,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "4d6041d5.dfff38",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 907,
+ "y": 816,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "cfff50b2.fe63",
+ "type": "switchNode",
+ "name": "switch foundVpnName",
+ "xml": "<switch test='`$foundVpnName`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103,
+ "y": 356,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "778f874f.3433e"
+ ]
+ ]
+ },
+ {
+ "id": "778f874f.3433e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283,
+ "y": 356,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ [
+ "4c396aea.bd0a8c"
+ ]
+ ]
+ },
+ {
+ "id": "4c396aea.bd0a8c",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1417,
+ "y": 357,
+ "z": "c2ab5565.41fe58",
+ "wires": []
+ },
+ {
+ "id": "8d8a1b19.f80f38",
+ "type": "record",
+ "name": "record tmp.pce-src and dst node",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.aai.mmrconnectivity.cvlan`\"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.network-route-LEAF.logical-interface-id`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 290,
+ "y": 599,
+ "z": "c2ab5565.41fe58",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file