[\r
{\r
- "id": "a3297c66.2e7f5",\r
+ "id": "8af466c4.459d38",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 142,\r
- "y": 86,\r
- "z": "a52db008.999ba",\r
+ "x": 123,\r
+ "y": 94,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "48923819.f8ff98"\r
+ "4f44bc11.1718bc"\r
]\r
]\r
},\r
{\r
- "id": "48923819.f8ff98",\r
+ "id": "4f44bc11.1718bc",\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": 426.2856903076172,\r
- "y": 147.23810863494873,\r
- "z": "a52db008.999ba",\r
+ "x": 407.2856903076172,\r
+ "y": 155.23810863494873,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e1ba1fcc.8dbf6"\r
+ "25a99bf3.257e24"\r
]\r
]\r
},\r
{\r
- "id": "e1ba1fcc.8dbf6",\r
+ "id": "25a99bf3.257e24",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 432.42860412597656,\r
- "y": 232.00003051757812,\r
- "z": "a52db008.999ba",\r
+ "x": 413.42860412597656,\r
+ "y": 240.00003051757812,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "8bc33ebc.b214a8"\r
+ "e0aece26.83282"\r
]\r
]\r
},\r
{\r
- "id": "8bc33ebc.b214a8",\r
+ "id": "e0aece26.83282",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 802.238037109375,\r
- "y": 256.66668701171875,\r
- "z": "a52db008.999ba",\r
+ "x": 783.238037109375,\r
+ "y": 264.66668701171875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e456a6e6.bd0f",\r
- "de4cd097.718578",\r
- "7ac4d896.f266b8"\r
+ "19dfd83.33483a8",\r
+ "1050151b.02ec53",\r
+ "2f5068f1.5086e8"\r
]\r
]\r
},\r
{\r
- "id": "e456a6e6.bd0f",\r
+ "id": "19dfd83.33483a8",\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": 1103.571533203125,\r
- "y": 527.5969848632812,\r
- "z": "a52db008.999ba",\r
+ "x": 1084.571533203125,\r
+ "y": 535.5969848632812,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "de4cd097.718578",\r
+ "id": "1050151b.02ec53",\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[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].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<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1125,\r
- "y": 230,\r
- "z": "a52db008.999ba",\r
+ "x": 1106,\r
+ "y": 238,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2bb44cf2.b576bc",\r
- "23a4fd03.4dc0a2",\r
- "7fe07366.1d3c84"\r
+ "50a47283.15fbe4",\r
+ "b5bb871c.db338",\r
+ "a61c0811.039808"\r
]\r
]\r
},\r
{\r
- "id": "2bb44cf2.b576bc",\r
+ "id": "50a47283.15fbe4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1350,\r
- "y": 88,\r
- "z": "a52db008.999ba",\r
+ "x": 1331,\r
+ "y": 96,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "de3469e6.1a5318"\r
+ "80a63fa0.68596"\r
]\r
]\r
},\r
{\r
- "id": "23a4fd03.4dc0a2",\r
+ "id": "b5bb871c.db338",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1359.490966796875,\r
- "y": 130.57403564453125,\r
- "z": "a52db008.999ba",\r
+ "x": 1340.490966796875,\r
+ "y": 138.57403564453125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "abc9c45c.0486d"\r
+ "d32b21e7.8cada8"\r
]\r
]\r
},\r
{\r
- "id": "7fe07366.1d3c84",\r
+ "id": "a61c0811.039808",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1348,\r
- "y": 177,\r
- "z": "a52db008.999ba",\r
+ "x": 1329,\r
+ "y": 185,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "bf6c9630.da1718"\r
+ "229167e8.df6688"\r
]\r
]\r
},\r
{\r
- "id": "de3469e6.1a5318",\r
+ "id": "80a63fa0.68596",\r
"type": "switchNode",\r
"name": "switch allotted-resources_length != 0",\r
"xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1589,\r
- "y": 85,\r
- "z": "a52db008.999ba",\r
+ "x": 1570,\r
+ "y": 93,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "3fe961c5.f65bb6",\r
- "9b0ccc32.5daa98"\r
+ "d44d65ef.318f48",\r
+ "e1082721.453ff"\r
]\r
]\r
},\r
{\r
- "id": "abc9c45c.0486d",\r
+ "id": "d32b21e7.8cada8",\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": 1513.0623779296875,\r
- "y": 133.85977172851562,\r
- "z": "a52db008.999ba",\r
+ "x": 1494.0623779296875,\r
+ "y": 141.85977172851562,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "bf6c9630.da1718",\r
+ "id": "229167e8.df6688",\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": 1517,\r
- "y": 178,\r
- "z": "a52db008.999ba",\r
+ "x": 1498,\r
+ "y": 186,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "e72a9478.9558f",\r
+ "id": "a49b8769.572b48",\r
"type": "set",\r
"name": "set the 1st allotted-resource-id",\r
"xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",\r
"comments": "",\r
- "x": 1988,\r
- "y": 152,\r
- "z": "a52db008.999ba",\r
+ "x": 1969,\r
+ "y": 160,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "3fe961c5.f65bb6",\r
+ "id": "d44d65ef.318f48",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1802,\r
- "y": 109,\r
- "z": "a52db008.999ba",\r
+ "x": 1783,\r
+ "y": 117,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "7db53ef.cfaf2c"\r
+ "7234fca3.e71404"\r
]\r
]\r
},\r
{\r
- "id": "9b0ccc32.5daa98",\r
+ "id": "e1082721.453ff",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1804,\r
- "y": 49,\r
- "z": "a52db008.999ba",\r
+ "x": 1785,\r
+ "y": 57,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3b9d4f7a.e5b418",\r
+ "id": "e3f19b5a.145ff8",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 1104,\r
- "y": 118,\r
- "z": "a52db008.999ba",\r
+ "x": 1085,\r
+ "y": 126,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7db53ef.cfaf2c",\r
+ "id": "7234fca3.e71404",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1787,\r
- "y": 197,\r
- "z": "a52db008.999ba",\r
+ "x": 1768,\r
+ "y": 205,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e72a9478.9558f",\r
- "f1da2bc3.8935b"\r
+ "a49b8769.572b48",\r
+ "bd4dde9a.1bdbc8"\r
]\r
]\r
},\r
{\r
- "id": "fd1e5e1b.83e83",\r
+ "id": "fcc70311.f003c",\r
"type": "set",\r
"name": "set network-route-A",\r
"xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
"comments": "",\r
- "x": 2349,\r
- "y": 795,\r
- "z": "a52db008.999ba",\r
+ "x": 2330,\r
+ "y": 803,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "ff342d97.b64c78",\r
+ "id": "409bbb6d.55b47c",\r
"type": "set",\r
"name": "set network-route-B",\r
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
"comments": "",\r
- "x": 2351,\r
- "y": 846,\r
- "z": "a52db008.999ba",\r
+ "x": 2332,\r
+ "y": 854,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "f1da2bc3.8935b",\r
+ "id": "bd4dde9a.1bdbc8",\r
"type": "save",\r
"name": "get allotted-resource from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1991,\r
- "y": 227,\r
- "z": "a52db008.999ba",\r
+ "x": 1972,\r
+ "y": 235,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "24443c7d.51e17c",\r
- "5466a6b1.99c71",\r
- "6dbbe1dd.c8d2"\r
+ "4f2f09b0.4a4f9",\r
+ "a509e8e5.13e7a8",\r
+ "2d1dc418.c3457c"\r
]\r
]\r
},\r
{\r
- "id": "24443c7d.51e17c",\r
+ "id": "4f2f09b0.4a4f9",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2207,\r
- "y": 294,\r
- "z": "a52db008.999ba",\r
+ "x": 2188,\r
+ "y": 302,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "381969a5.e5019e"\r
+ "2c4c53ed.c92a04"\r
]\r
]\r
},\r
{\r
- "id": "5466a6b1.99c71",\r
+ "id": "a509e8e5.13e7a8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2207.490966796875,\r
- "y": 193.573974609375,\r
- "z": "a52db008.999ba",\r
+ "x": 2188.490966796875,\r
+ "y": 201.573974609375,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "5f41762b.9fae3"\r
+ "b0eb4825.a76068"\r
]\r
]\r
},\r
{\r
- "id": "6dbbe1dd.c8d2",\r
+ "id": "2d1dc418.c3457c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2203,\r
- "y": 243,\r
- "z": "a52db008.999ba",\r
+ "x": 2184,\r
+ "y": 251,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "35df5bd.60d91a4"\r
+ "8d5abfeb.01e9e"\r
]\r
]\r
},\r
{\r
- "id": "5f41762b.9fae3",\r
+ "id": "b0eb4825.a76068",\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": 2385.0625,\r
- "y": 193.8597412109375,\r
- "z": "a52db008.999ba",\r
+ "x": 2366.0625,\r
+ "y": 201.8597412109375,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "35df5bd.60d91a4",\r
+ "id": "8d5abfeb.01e9e",\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": 2385,\r
- "y": 243,\r
- "z": "a52db008.999ba",\r
+ "x": 2366,\r
+ "y": 251,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "8c284458.c08ae8",\r
+ "id": "abb2414c.5ad6c8",\r
"type": "save",\r
"name": "get logical-link from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1726,\r
- "y": 716,\r
- "z": "a52db008.999ba",\r
+ "x": 1707,\r
+ "y": 724,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2b62ab10.ff50ec",\r
- "a72426b1.68469",\r
- "f1a9c962.2a68a8"\r
+ "adf5b844.beeba",\r
+ "12473ca6.c43deb",\r
+ "1c108294.607cad"\r
]\r
]\r
},\r
{\r
- "id": "a72426b1.68469",\r
+ "id": "12473ca6.c43deb",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2017.490966796875,\r
- "y": 694.573974609375,\r
- "z": "a52db008.999ba",\r
+ "x": 1998.490966796875,\r
+ "y": 702.573974609375,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b15724ee.fb934"\r
+ "bde422ea.a4cc28"\r
]\r
]\r
},\r
{\r
- "id": "f1a9c962.2a68a8",\r
+ "id": "1c108294.607cad",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2006,\r
- "y": 739,\r
- "z": "a52db008.999ba",\r
+ "x": 1987,\r
+ "y": 747,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "71027f5f.6dfd2"\r
+ "da8d3db8.78e6c"\r
]\r
]\r
},\r
{\r
- "id": "b15724ee.fb934",\r
+ "id": "bde422ea.a4cc28",\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": 2166.0625,\r
- "y": 694.8597412109375,\r
- "z": "a52db008.999ba",\r
+ "x": 2147.0625,\r
+ "y": 702.8597412109375,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "71027f5f.6dfd2",\r
+ "id": "da8d3db8.78e6c",\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": 2165,\r
- "y": 739,\r
- "z": "a52db008.999ba",\r
+ "x": 2146,\r
+ "y": 747,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "2b62ab10.ff50ec",\r
+ "id": "adf5b844.beeba",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2013,\r
- "y": 818,\r
- "z": "a52db008.999ba",\r
+ "x": 1994,\r
+ "y": 826,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "68ca5242.42eadc"\r
+ "b6fe1d93.64f5d8"\r
]\r
]\r
},\r
{\r
- "id": "68ca5242.42eadc",\r
+ "id": "b6fe1d93.64f5d8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2152,\r
- "y": 818,\r
- "z": "a52db008.999ba",\r
+ "x": 2133,\r
+ "y": 826,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "fd1e5e1b.83e83",\r
- "ff342d97.b64c78",\r
- "c6e4c4bb.cde228",\r
- "beeca149.096358",\r
- "b3a21500.4dc258",\r
- "4a385582.c0497c",\r
- "8ecd4f21.958f3",\r
- "87e71c84.c17b98",\r
- "b0430b3.4eee0f8",\r
- "9e9e0741.eed478",\r
- "41475eff.deafd",\r
- "171af565.db9233",\r
- "a0a45fd6.c31fe",\r
- "fdbb72c5.61c228",\r
- "62bd6081.059d7",\r
- "3f4df906.b67d7e",\r
- "fad5035b.7ee3a8",\r
- "d037b0c3.f093c"\r
+ "fcc70311.f003c",\r
+ "409bbb6d.55b47c",\r
+ "34d7360f.96bb2a",\r
+ "48146421.80a074",\r
+ "31bc0e97.d1b352",\r
+ "c57c6aeb.0d49c",\r
+ "5ce97afb.25ecd4",\r
+ "1f2f2fca.dd946",\r
+ "fc0327f0.f229c8",\r
+ "7a9db702.f0e1b",\r
+ "1f17f018.71ce48",\r
+ "75da5f28.16fb78",\r
+ "15d01a88.67da65",\r
+ "8335f76.9af8388",\r
+ "47a3a765.16faa",\r
+ "5651ec55.50184c",\r
+ "edb297b0.c9f328",\r
+ "91eba2f3.844de"\r
]\r
]\r
},\r
{\r
- "id": "c6e4c4bb.cde228",\r
+ "id": "34d7360f.96bb2a",\r
"type": "save",\r
"name": "get network-route-A from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2381,\r
- "y": 899,\r
- "z": "a52db008.999ba",\r
+ "x": 2362,\r
+ "y": 907,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "99527920.d104f",\r
- "471613.ac9f61ec",\r
- "d7106a2a.e2e008"\r
+ "1b983b4f.2c744d",\r
+ "83f9f068.59488",\r
+ "b0f14e34.bcfcc8"\r
]\r
]\r
},\r
{\r
- "id": "beeca149.096358",\r
+ "id": "48146421.80a074",\r
"type": "save",\r
"name": "get network-route-B from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2360,\r
- "y": 1500.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 2341,\r
+ "y": 1508.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "f5b57d2.711fb8",\r
- "ee69c7ed.d244a",\r
- "b86b9154.d8271"\r
+ "191b0cc5.853723",\r
+ "bdfa4737.7997e",\r
+ "3dcbfde4.8fdb42"\r
]\r
]\r
},\r
{\r
- "id": "99527920.d104f",\r
+ "id": "1b983b4f.2c744d",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2582,\r
- "y": 783,\r
- "z": "a52db008.999ba",\r
+ "x": 2563,\r
+ "y": 791,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "dee03a78.25dd08"\r
+ "5a65addc.f9d584"\r
]\r
]\r
},\r
{\r
- "id": "471613.ac9f61ec",\r
+ "id": "83f9f068.59488",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2577.509033203125,\r
- "y": 832.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 2558.509033203125,\r
+ "y": 840.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "afb5fd1c.14f968"\r
+ "60568789.b01d3"\r
]\r
]\r
},\r
{\r
- "id": "d7106a2a.e2e008",\r
+ "id": "b0f14e34.bcfcc8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2581.509033203125,\r
- "y": 883.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 2562.509033203125,\r
+ "y": 891.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b1e48bbc.9418f8"\r
+ "4d860946.d83b4"\r
]\r
]\r
},\r
{\r
- "id": "dee03a78.25dd08",\r
+ "id": "5a65addc.f9d584",\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": 2730.571533203125,\r
- "y": 782.2857666015625,\r
- "z": "a52db008.999ba",\r
+ "x": 2711.571533203125,\r
+ "y": 790.2857666015625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "afb5fd1c.14f968",\r
+ "id": "60568789.b01d3",\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": 2720.509033203125,\r
- "y": 832.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 2701.509033203125,\r
+ "y": 840.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "f5b57d2.711fb8",\r
+ "id": "191b0cc5.853723",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2583,\r
- "y": 1470.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 2564,\r
+ "y": 1478.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e4bc5398.587c9"\r
+ "63b24300.9bd254"\r
]\r
]\r
},\r
{\r
- "id": "ee69c7ed.d244a",\r
+ "id": "bdfa4737.7997e",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2578.509033203125,\r
- "y": 1520.4259033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 2559.509033203125,\r
+ "y": 1528.4259033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "7a22de95.f8d34"\r
+ "f56e5adb.9f7af8"\r
]\r
]\r
},\r
{\r
- "id": "b86b9154.d8271",\r
+ "id": "3dcbfde4.8fdb42",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2582.509033203125,\r
- "y": 1571.4259033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 2563.509033203125,\r
+ "y": 1579.4259033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "706786f4.1c86"\r
+ "b596324f.8c351"\r
]\r
]\r
},\r
{\r
- "id": "e4bc5398.587c9",\r
+ "id": "63b24300.9bd254",\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": 2731.571533203125,\r
- "y": 1470.28564453125,\r
- "z": "a52db008.999ba",\r
+ "x": 2712.571533203125,\r
+ "y": 1478.28564453125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7a22de95.f8d34",\r
+ "id": "f56e5adb.9f7af8",\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": 2721.509033203125,\r
- "y": 1520.4259033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 2702.509033203125,\r
+ "y": 1528.4259033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "6a5608a5.7646c8",\r
+ "id": "f08611d.e85e5f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3395.66650390625,\r
- "y": 927,\r
- "z": "a52db008.999ba",\r
+ "x": 3376.66650390625,\r
+ "y": 935,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e59ae0d9.0b3bb8",\r
- "b65b8a91.4e15",\r
- "600bf3e5.b14284",\r
- "af7a5358.49a49",\r
- "a8e7dd16.944608"\r
+ "bcee177.eb94168",\r
+ "f75d67.7cccfa98",\r
+ "a4c22219.803cd8",\r
+ "d6e02ca6.c9a8c8",\r
+ "5b5222c9.d7a36c"\r
]\r
]\r
},\r
{\r
- "id": "b8369203.6c1e7",\r
+ "id": "8b31e4a0.a10748",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3223,\r
- "y": 928,\r
- "z": "a52db008.999ba",\r
+ "x": 3204,\r
+ "y": 936,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6a5608a5.7646c8"\r
+ "f08611d.e85e5f"\r
]\r
]\r
},\r
{\r
- "id": "9feeef15.8800c",\r
+ "id": "c9553d7.4a532c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3232.490966796875,\r
- "y": 970.5740356445312,\r
- "z": "a52db008.999ba",\r
+ "x": 3213.490966796875,\r
+ "y": 978.5740356445312,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "cbf27e14.644ef8"\r
+ "b569fb01.0907f8"\r
]\r
]\r
},\r
{\r
- "id": "e8e1bd1d.029dd",\r
+ "id": "cf1d45bd.26226",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3221,\r
- "y": 1017,\r
- "z": "a52db008.999ba",\r
+ "x": 3202,\r
+ "y": 1025,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "7478805e.d0dee8"\r
+ "8595bfe0.610eb"\r
]\r
]\r
},\r
{\r
- "id": "cbf27e14.644ef8",\r
+ "id": "b569fb01.0907f8",\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": 3386.0623779296875,\r
- "y": 973.8597717285156,\r
- "z": "a52db008.999ba",\r
+ "x": 3367.0623779296875,\r
+ "y": 981.8597717285156,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7478805e.d0dee8",\r
+ "id": "8595bfe0.610eb",\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": 3390,\r
- "y": 1018,\r
- "z": "a52db008.999ba",\r
+ "x": 3371,\r
+ "y": 1026,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "b1e48bbc.9418f8",\r
+ "id": "4d860946.d83b4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2743,\r
- "y": 885,\r
- "z": "a52db008.999ba",\r
+ "x": 2724,\r
+ "y": 893,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b8e4ab1b.5f9428",\r
- "7b409cff.da197c"\r
+ "de6bae96.a20288",\r
+ "2546bd9f.525272"\r
]\r
]\r
},\r
{\r
- "id": "706786f4.1c86",\r
+ "id": "b596324f.8c351",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2733,\r
- "y": 1572.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 2714,\r
+ "y": 1580.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6545b277.ec5df4",\r
- "e04c02f4.2f63f8"\r
+ "cc046399.813d8",\r
+ "94119745.c4be9"\r
]\r
]\r
},\r
{\r
- "id": "a1cc2eec.aa7708",\r
+ "id": "d0ee2422.3da6b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3363.66650390625,\r
- "y": 1763,\r
- "z": "a52db008.999ba",\r
+ "x": 3344.66650390625,\r
+ "y": 1771,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "69afc187.c0c28",\r
- "9c8c62ca.8659",\r
- "72280e7f.000388",\r
- "5d487f8.16a5d",\r
- "34f70001.b13958"\r
+ "1c0836ef.f83329",\r
+ "4c626db2.041e5c",\r
+ "a8a1220c.849508",\r
+ "46fb3252.5c32c4",\r
+ "3da30ce3.e252e4"\r
]\r
]\r
},\r
{\r
- "id": "a9223749.8519e8",\r
+ "id": "33a31a8c.e3b546",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3191,\r
- "y": 1764,\r
- "z": "a52db008.999ba",\r
+ "x": 3172,\r
+ "y": 1772,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a1cc2eec.aa7708"\r
+ "d0ee2422.3da6b8"\r
]\r
]\r
},\r
{\r
- "id": "8aac19ac.984638",\r
+ "id": "333e39a9.5e6146",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3200.490966796875,\r
- "y": 1806.5740356445312,\r
- "z": "a52db008.999ba",\r
+ "x": 3181.490966796875,\r
+ "y": 1814.5740356445312,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e01c6b8b.6173d8"\r
+ "c1fc954e.de2348"\r
]\r
]\r
},\r
{\r
- "id": "15568030.09492",\r
+ "id": "18c9eff6.77ede8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3189,\r
- "y": 1853,\r
- "z": "a52db008.999ba",\r
+ "x": 3170,\r
+ "y": 1861,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "f17ea401.42a54"\r
+ "a54283a5.d344c"\r
]\r
]\r
},\r
{\r
- "id": "e01c6b8b.6173d8",\r
+ "id": "c1fc954e.de2348",\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": 3354.0623779296875,\r
- "y": 1809.8597717285156,\r
- "z": "a52db008.999ba",\r
+ "x": 3335.0623779296875,\r
+ "y": 1817.8597717285156,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "f17ea401.42a54",\r
+ "id": "a54283a5.d344c",\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": 3358,\r
- "y": 1854,\r
- "z": "a52db008.999ba",\r
+ "x": 3339,\r
+ "y": 1862,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "e59ae0d9.0b3bb8",\r
+ "id": "bcee177.eb94168",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3660,\r
- "y": 911,\r
- "z": "a52db008.999ba",\r
+ "x": 3641,\r
+ "y": 919,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b90f8b2c.3443f8",\r
- "f2af84b7.f19e7"\r
+ "60be6e60.f9ecc8",\r
+ "ba14138e.5a08c8"\r
]\r
]\r
},\r
{\r
- "id": "f2af84b7.f19e7",\r
+ "id": "ba14138e.5a08c8",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3883,\r
- "y": 866,\r
- "z": "a52db008.999ba",\r
+ "x": 3864,\r
+ "y": 874,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "af749f90.aea73"\r
+ "9427c16f.fe3b38"\r
]\r
]\r
},\r
{\r
- "id": "b90f8b2c.3443f8",\r
+ "id": "60be6e60.f9ecc8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3885,\r
- "y": 930,\r
- "z": "a52db008.999ba",\r
+ "x": 3866,\r
+ "y": 938,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "37b87470.480804"\r
+ "8f5282b4.e9d138"\r
]\r
]\r
},\r
{\r
- "id": "58adc121.da62b8",\r
+ "id": "9e9c487d.182678",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
"comments": "",\r
- "x": 4218,\r
- "y": 824,\r
- "z": "a52db008.999ba",\r
+ "x": 4199,\r
+ "y": 832,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "37b87470.480804",\r
+ "id": "8f5282b4.e9d138",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4047,\r
- "y": 926,\r
- "z": "a52db008.999ba",\r
+ "x": 4028,\r
+ "y": 934,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "af749f90.aea73",\r
+ "id": "9427c16f.fe3b38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4048,\r
- "y": 863,\r
- "z": "a52db008.999ba",\r
+ "x": 4029,\r
+ "y": 871,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a0d3646d.84d22",\r
- "58adc121.da62b8"\r
+ "7be29fde.94965",\r
+ "9e9c487d.182678"\r
]\r
]\r
},\r
{\r
- "id": "a0d3646d.84d22",\r
+ "id": "7be29fde.94965",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
"comments": "",\r
- "x": 4219,\r
- "y": 929,\r
- "z": "a52db008.999ba",\r
+ "x": 4200,\r
+ "y": 937,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "b948285d.fc6638",\r
+ "id": "305634db.acff34",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4220,\r
- "y": 878,\r
- "z": "a52db008.999ba",\r
+ "x": 4201,\r
+ "y": 886,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "600bf3e5.b14284",\r
+ "id": "a4c22219.803cd8",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3662,\r
- "y": 1070,\r
- "z": "a52db008.999ba",\r
+ "x": 3643,\r
+ "y": 1078,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b65b8a91.4e15",\r
+ "id": "f75d67.7cccfa98",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainA",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3707,\r
- "y": 980,\r
- "z": "a52db008.999ba",\r
+ "x": 3688,\r
+ "y": 988,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "584061d2.7f676",\r
+ "id": "51860532.882634",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3596,\r
- "y": 1021,\r
- "z": "a52db008.999ba",\r
+ "x": 3577,\r
+ "y": 1029,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "69afc187.c0c28",\r
+ "id": "1c0836ef.f83329",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3650,\r
- "y": 1767.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3631,\r
+ "y": 1775.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "73786f45.91fbd",\r
- "a8286fc.413fb9"\r
+ "9b737b83.c6ca88",\r
+ "22a6cd9c.81b312"\r
]\r
]\r
},\r
{\r
- "id": "a8286fc.413fb9",\r
+ "id": "22a6cd9c.81b312",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3873,\r
- "y": 1722.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3854,\r
+ "y": 1730.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6edaf2ce.ba97ac"\r
+ "f2364b58.93416"\r
]\r
]\r
},\r
{\r
- "id": "73786f45.91fbd",\r
+ "id": "9b737b83.c6ca88",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3875,\r
- "y": 1786.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3856,\r
+ "y": 1794.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "fcba834.c469f8"\r
+ "e81f51e1.476528"\r
]\r
]\r
},\r
{\r
- "id": "e5ecf778.a4711",\r
+ "id": "c355fa60.d02f7",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
"comments": "",\r
- "x": 4208,\r
- "y": 1680.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 4189,\r
+ "y": 1688.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "fcba834.c469f8",\r
+ "id": "e81f51e1.476528",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4034,\r
- "y": 1805.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 4015,\r
+ "y": 1813.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "6edaf2ce.ba97ac",\r
+ "id": "f2364b58.93416",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4038,\r
- "y": 1719.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 4019,\r
+ "y": 1727.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e5ecf778.a4711",\r
- "865f8e50.82a5c"\r
+ "c355fa60.d02f7",\r
+ "fbcef05a.30da7"\r
]\r
]\r
},\r
{\r
- "id": "865f8e50.82a5c",\r
+ "id": "fbcef05a.30da7",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
"comments": "",\r
- "x": 4209,\r
- "y": 1785.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 4190,\r
+ "y": 1793.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "9e10e06d.c116e8",\r
+ "id": "5702bff2.1c714",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4204,\r
- "y": 1734.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 4185,\r
+ "y": 1742.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "72280e7f.000388",\r
+ "id": "a8a1220c.849508",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3652,\r
- "y": 1926.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3633,\r
+ "y": 1934.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9c8c62ca.8659",\r
+ "id": "4c626db2.041e5c",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainB",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3697,\r
- "y": 1836.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3678,\r
+ "y": 1844.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eb2e4b08.8488e",\r
+ "id": "a742fa6d.53c048",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3586,\r
- "y": 1874.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3567,\r
+ "y": 1882.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "b3a21500.4dc258",\r
+ "id": "31bc0e97.d1b352",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2561,\r
- "y": 2001,\r
- "z": "a52db008.999ba",\r
+ "x": 2542,\r
+ "y": 2009,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4a385582.c0497c",\r
+ "id": "c57c6aeb.0d49c",\r
"type": "set",\r
"name": "set attachment_param",\r
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
"comments": "",\r
- "x": 2355,\r
- "y": 1941,\r
- "z": "a52db008.999ba",\r
+ "x": 2336,\r
+ "y": 1949,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "1846dda4.ce84b2",\r
+ "id": "df325b41.3eb068",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
"comments": "",\r
- "x": 2329,\r
- "y": 1894,\r
- "z": "a52db008.999ba",\r
+ "x": 2310,\r
+ "y": 1902,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "8ecd4f21.958f3",\r
+ "id": "5ce97afb.25ecd4",\r
"type": "save",\r
"name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2437,\r
- "y": 2160,\r
- "z": "a52db008.999ba",\r
+ "x": 2418,\r
+ "y": 2168,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "9a891a89.705e9"\r
+ "265fc651.8685d2"\r
]\r
]\r
},\r
{\r
- "id": "87e71c84.c17b98",\r
+ "id": "1f2f2fca.dd946",\r
"type": "save",\r
"name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2440.5,\r
- "y": 2230,\r
- "z": "a52db008.999ba",\r
+ "x": 2421.5,\r
+ "y": 2238,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "65814f19.31d048",\r
+ "id": "47b16974.ba7ff8",\r
"type": "save",\r
"name": "save srcLTP relationship in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3088.5,\r
- "y": 2149,\r
- "z": "a52db008.999ba",\r
+ "x": 3069.5,\r
+ "y": 2157,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9a488056.fd463",\r
+ "id": "45a1ff6d.febe7",\r
"type": "save",\r
"name": "save dstLTP relationship in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3090.5,\r
- "y": 2188,\r
- "z": "a52db008.999ba",\r
+ "x": 3071.5,\r
+ "y": 2196,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "af7a5358.49a49",\r
+ "id": "d6e02ca6.c9a8c8",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3790,\r
- "y": 1118,\r
- "z": "a52db008.999ba",\r
+ "x": 3771,\r
+ "y": 1126,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5d487f8.16a5d",\r
+ "id": "46fb3252.5c32c4",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3779,\r
- "y": 1991.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3760,\r
+ "y": 1999.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9a891a89.705e9",\r
+ "id": "265fc651.8685d2",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2737,\r
- "y": 2167,\r
- "z": "a52db008.999ba",\r
+ "x": 2718,\r
+ "y": 2175,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a2095f6a.84829"\r
+ "adcdcd16.7b29a8"\r
]\r
]\r
},\r
{\r
- "id": "a2095f6a.84829",\r
+ "id": "adcdcd16.7b29a8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2877.500244140625,\r
- "y": 2168.25390625,\r
- "z": "a52db008.999ba",\r
+ "x": 2858.500244140625,\r
+ "y": 2176.25390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "421e8d3c.2d000c",\r
+ "id": "4042eea1.42325",\r
"type": "comment",\r
"name": "TODO: FIXME: do we need this relationship?",\r
"info": "",\r
"comments": "",\r
- "x": 3125,\r
- "y": 2108,\r
- "z": "a52db008.999ba",\r
+ "x": 3106,\r
+ "y": 2116,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "ec5e7e31.de7c9",\r
+ "id": "8bb65fc7.c411f",\r
"type": "comment",\r
"name": "TODO: FIXME: put proper values",\r
"info": "",\r
"comments": "",\r
- "x": 2404,\r
- "y": 2120,\r
- "z": "a52db008.999ba",\r
+ "x": 2385,\r
+ "y": 2128,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "b0430b3.4eee0f8",\r
+ "id": "fc0327f0.f229c8",\r
"type": "save",\r
"name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2440,\r
- "y": 2448,\r
- "z": "a52db008.999ba",\r
+ "x": 2421,\r
+ "y": 2456,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ceffa653.90d39"\r
+ "a95bb5bd.f30938"\r
]\r
]\r
},\r
{\r
- "id": "3a1d826b.1f953e",\r
+ "id": "54e84a72.0a1bec",\r
"type": "comment",\r
"name": "TODO: FIXME: do we need this relationship?",\r
"info": "",\r
"comments": "",\r
- "x": 3128,\r
- "y": 2388,\r
- "z": "a52db008.999ba",\r
+ "x": 3109,\r
+ "y": 2396,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "4a53aeab.a2778",\r
+ "id": "5ffd7140.0fcf",\r
"type": "save",\r
"name": "save srcLTP relationship in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3091.5,\r
- "y": 2429,\r
- "z": "a52db008.999ba",\r
+ "x": 3072.5,\r
+ "y": 2437,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "36a3debe.6aad72",\r
+ "id": "d209c7d6.5be38",\r
"type": "save",\r
"name": "save dstLTP relationship in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3093.5,\r
- "y": 2468,\r
- "z": "a52db008.999ba",\r
+ "x": 3074.5,\r
+ "y": 2476,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a45d9658.764968",\r
+ "id": "92281260.0bacb8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2880.500244140625,\r
- "y": 2448.25390625,\r
- "z": "a52db008.999ba",\r
+ "x": 2861.500244140625,\r
+ "y": 2456.25390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ceffa653.90d39",\r
+ "id": "a95bb5bd.f30938",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2740,\r
- "y": 2447,\r
- "z": "a52db008.999ba",\r
+ "x": 2721,\r
+ "y": 2455,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a45d9658.764968"\r
+ "92281260.0bacb8"\r
]\r
]\r
},\r
{\r
- "id": "7449a31b.49a87c",\r
+ "id": "460ff82c.4ff7",\r
"type": "comment",\r
"name": "TODO: FIXME: put proper values",\r
"info": "",\r
"comments": "",\r
- "x": 2420,\r
- "y": 2408,\r
- "z": "a52db008.999ba",\r
+ "x": 2401,\r
+ "y": 2416,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "9e9e0741.eed478",\r
+ "id": "7a9db702.f0e1b",\r
"type": "save",\r
"name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2438.5,\r
- "y": 2488,\r
- "z": "a52db008.999ba",\r
+ "x": 2419.5,\r
+ "y": 2496,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a04f201b.1fb08",\r
+ "id": "b765768.33e8008",\r
"type": "comment",\r
"name": "TODO: FIXME:",\r
"info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
"comments": "",\r
- "x": 2312,\r
- "y": 2571,\r
- "z": "a52db008.999ba",\r
+ "x": 2293,\r
+ "y": 2579,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "a0a45fd6.c31fe",\r
+ "id": "15d01a88.67da65",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
- "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $maximum-bandwidth /1000 *2 /3 `\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 2377,\r
- "y": 2616,\r
- "z": "a52db008.999ba",\r
+ "x": 2358,\r
+ "y": 2624,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "32eb8024.15dcc8",\r
+ "id": "7c6d32ec.4900b4",\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": 4834,\r
- "y": 638,\r
- "z": "a52db008.999ba",\r
+ "x": 4815,\r
+ "y": 646,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "73d2c0a6.ca0098",\r
- "2f388561.aeb472",\r
- "c9248b9c.994ac"\r
+ "f99473bc.f6917",\r
+ "8ca213cb.13c578",\r
+ "73897c92.dacd5c"\r
]\r
]\r
},\r
{\r
- "id": "381969a5.e5019e",\r
+ "id": "2c4c53ed.c92a04",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2387,\r
- "y": 294,\r
- "z": "a52db008.999ba",\r
+ "x": 2368,\r
+ "y": 302,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2fa39853.fd6f7"\r
+ "df1d026f.c1c088"\r
]\r
]\r
},\r
{\r
- "id": "93b21596.ec10e8",\r
+ "id": "4b086b8f.46122c",\r
"type": "outcome",\r
"name": "logical-link",\r
"xml": "<outcome value='logical-link'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1317.0001220703125,\r
- "y": 711.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 1298.0001220703125,\r
+ "y": 719.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "993cc770.3c90b"\r
+ "849b2fa9.e38c6"\r
]\r
]\r
},\r
{\r
- "id": "8fdb5adc.4040d",\r
+ "id": "3637c149.a4c596",\r
"type": "switchNode",\r
"name": "switch allotted-resource.relationship-list not empty",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2055,\r
- "y": 417,\r
- "z": "a52db008.999ba",\r
+ "x": 2036,\r
+ "y": 425,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "332b207c.0fec28",\r
- "310fb819.3e915"\r
+ "a6e3fac3.17782",\r
+ "36a75df5.accdba"\r
]\r
]\r
},\r
{\r
- "id": "310fb819.3e915",\r
+ "id": "36a75df5.accdba",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2365,\r
- "y": 424,\r
- "z": "a52db008.999ba",\r
+ "x": 2346,\r
+ "y": 432,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "332b207c.0fec28",\r
+ "id": "a6e3fac3.17782",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2364,\r
- "y": 478,\r
- "z": "a52db008.999ba",\r
+ "x": 2345,\r
+ "y": 486,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b6e0228b.bc6398"\r
+ "ccfe530c.696ee"\r
]\r
]\r
},\r
{\r
- "id": "d9c8107.cbe1d7",\r
+ "id": "88e35dde.f9395",\r
"type": "set",\r
"name": "set the 1st logical-link-name",\r
"xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 1737,\r
- "y": 661,\r
- "z": "a52db008.999ba",\r
+ "x": 1718,\r
+ "y": 669,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "993cc770.3c90b",\r
+ "id": "849b2fa9.e38c6",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1494,\r
- "y": 704,\r
- "z": "a52db008.999ba",\r
+ "x": 1475,\r
+ "y": 712,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d9c8107.cbe1d7",\r
- "8c284458.c08ae8"\r
+ "88e35dde.f9395",\r
+ "abb2414c.5ad6c8"\r
]\r
]\r
},\r
{\r
- "id": "d4f8497.5d30938",\r
+ "id": "e4059fd.7caace",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 2923,\r
- "y": 890,\r
- "z": "a52db008.999ba",\r
+ "x": 2904,\r
+ "y": 898,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "b8e4ab1b.5f9428",\r
+ "id": "de6bae96.a20288",\r
"type": "save",\r
"name": "get p-interface-src from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2966,\r
- "y": 955,\r
- "z": "a52db008.999ba",\r
+ "x": 2947,\r
+ "y": 963,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b8369203.6c1e7",\r
- "9feeef15.8800c",\r
- "e8e1bd1d.029dd"\r
+ "8b31e4a0.a10748",\r
+ "c9553d7.4a532c",\r
+ "cf1d45bd.26226"\r
]\r
]\r
},\r
{\r
- "id": "6545b277.ec5df4",\r
+ "id": "cc046399.813d8",\r
"type": "save",\r
"name": "get p-interface-dst from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2963,\r
- "y": 1799,\r
- "z": "a52db008.999ba",\r
+ "x": 2944,\r
+ "y": 1807,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a9223749.8519e8",\r
- "8aac19ac.984638",\r
- "15568030.09492"\r
+ "33a31a8c.e3b546",\r
+ "333e39a9.5e6146",\r
+ "18c9eff6.77ede8"\r
]\r
]\r
},\r
{\r
- "id": "4f7449aa.1cee1",\r
+ "id": "76191dd2.8fade4",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 2924,\r
- "y": 1743,\r
- "z": "a52db008.999ba",\r
+ "x": 2905,\r
+ "y": 1751,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "2fa39853.fd6f7",\r
+ "id": "df1d026f.c1c088",\r
"type": "save",\r
"name": "get allotted-resource relationship from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2680,\r
- "y": 241,\r
- "z": "a52db008.999ba",\r
+ "x": 2661,\r
+ "y": 249,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e187deec.568f28",\r
- "ca2e6451.404f78",\r
- "42b58dd4.7191cc"\r
+ "adfd76db.6991",\r
+ "7a639d69.b5bebc",\r
+ "4943cdeb.ab6f2c"\r
]\r
]\r
},\r
{\r
- "id": "ca2e6451.404f78",\r
+ "id": "7a639d69.b5bebc",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2953.490966796875,\r
- "y": 133.573974609375,\r
- "z": "a52db008.999ba",\r
+ "x": 2934.490966796875,\r
+ "y": 141.573974609375,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e5b0a6e5.509578"\r
+ "d0806055.3ff898"\r
]\r
]\r
},\r
{\r
- "id": "e5b0a6e5.509578",\r
+ "id": "d0806055.3ff898",\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": 3131.0625,\r
- "y": 133.8597412109375,\r
- "z": "a52db008.999ba",\r
+ "x": 3112.0625,\r
+ "y": 141.8597412109375,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "42b58dd4.7191cc",\r
+ "id": "4943cdeb.ab6f2c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2949,\r
- "y": 183,\r
- "z": "a52db008.999ba",\r
+ "x": 2930,\r
+ "y": 191,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ecd1ffcd.8fafe8"\r
+ "e3a044a2.8747b8"\r
]\r
]\r
},\r
{\r
- "id": "ecd1ffcd.8fafe8",\r
+ "id": "e3a044a2.8747b8",\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": 3131,\r
- "y": 183,\r
- "z": "a52db008.999ba",\r
+ "x": 3112,\r
+ "y": 191,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "e187deec.568f28",\r
+ "id": "adfd76db.6991",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2953,\r
- "y": 234,\r
- "z": "a52db008.999ba",\r
+ "x": 2934,\r
+ "y": 242,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d246d860.a6b138"\r
+ "b8ee302f.a8ecc"\r
]\r
]\r
},\r
{\r
- "id": "d246d860.a6b138",\r
+ "id": "b8ee302f.a8ecc",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3133,\r
- "y": 234,\r
- "z": "a52db008.999ba",\r
+ "x": 3114,\r
+ "y": 242,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "8fdb5adc.4040d"\r
+ "3637c149.a4c596"\r
]\r
]\r
},\r
{\r
- "id": "65e46dcd.9c5144",\r
+ "id": "7c0e5ba2.cb2954",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2624,\r
- "y": 458,\r
- "z": "a52db008.999ba",\r
+ "x": 2605,\r
+ "y": 466,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "dd606d5c.9d70f"\r
+ "acd1414b.a58ab8"\r
]\r
]\r
},\r
{\r
- "id": "dd606d5c.9d70f",\r
+ "id": "acd1414b.a58ab8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2904,\r
- "y": 458,\r
- "z": "a52db008.999ba",\r
+ "x": 2885,\r
+ "y": 466,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "93b21596.ec10e8"\r
+ "4b086b8f.46122c"\r
]\r
]\r
},\r
{\r
- "id": "da58235b.ecd51",\r
+ "id": "ff4803af.9f0ab8",\r
"type": "outcome",\r
"name": "network-policy",\r
"xml": "<outcome value='network-policy'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3109,\r
- "y": 432,\r
- "z": "a52db008.999ba",\r
+ "x": 3090,\r
+ "y": 440,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "bae40be2.1a0898"\r
+ "ae60df75.bd38f"\r
]\r
]\r
},\r
{\r
- "id": "bae40be2.1a0898",\r
+ "id": "ae60df75.bd38f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3285.9998779296875,\r
- "y": 424.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3266.9998779296875,\r
+ "y": 432.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "26610962.4550fe",\r
- "1b905535.187f13"\r
+ "7c4264ea.4ef2cc",\r
+ "16bdb614.ef254a"\r
]\r
]\r
},\r
{\r
- "id": "26610962.4550fe",\r
+ "id": "7c4264ea.4ef2cc",\r
"type": "set",\r
"name": "set the 1st network-policy-id",\r
"xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 3528.9998779296875,\r
- "y": 381.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3509.9998779296875,\r
+ "y": 389.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "1b905535.187f13",\r
+ "id": "16bdb614.ef254a",\r
"type": "save",\r
"name": "get network-policy from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3517.9998779296875,\r
- "y": 436.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3498.9998779296875,\r
+ "y": 444.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "690d79a7.ec256",\r
- "33a9cbc4.26d4ec",\r
- "93a52247.c17dd8"\r
+ "589b81b9.57a1a",\r
+ "afdb690e.be2878",\r
+ "2f4f9888.a0047"\r
]\r
]\r
},\r
{\r
- "id": "93a52247.c17dd8",\r
+ "id": "2f4f9888.a0047",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3771,\r
- "y": 323,\r
- "z": "a52db008.999ba",\r
+ "x": 3752,\r
+ "y": 331,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2900fde3.f79c7a"\r
+ "10811a3b.3713ee"\r
]\r
]\r
},\r
{\r
- "id": "2900fde3.f79c7a",\r
+ "id": "10811a3b.3713ee",\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": 3919.571533203125,\r
- "y": 323.2857666015625,\r
- "z": "a52db008.999ba",\r
+ "x": 3900.571533203125,\r
+ "y": 331.2857666015625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "6f314ac7.786434",\r
+ "id": "a4b0529d.fb0728",\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": 3918.509033203125,\r
- "y": 367.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 3899.509033203125,\r
+ "y": 375.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "33a9cbc4.26d4ec",\r
+ "id": "afdb690e.be2878",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3759.509033203125,\r
- "y": 367.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 3740.509033203125,\r
+ "y": 375.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6f314ac7.786434"\r
+ "a4b0529d.fb0728"\r
]\r
]\r
},\r
{\r
- "id": "690d79a7.ec256",\r
+ "id": "589b81b9.57a1a",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3766.509033203125,\r
- "y": 446.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 3747.509033203125,\r
+ "y": 454.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "13407089.aa8267"\r
+ "2140264c.6d5f92"\r
]\r
]\r
},\r
{\r
- "id": "13407089.aa8267",\r
+ "id": "2140264c.6d5f92",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3905.509033203125,\r
- "y": 446.426025390625,\r
- "z": "a52db008.999ba",\r
+ "x": 3886.509033203125,\r
+ "y": 454.426025390625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d0bc6aa5.e1fca8"\r
+ "22cd0794.035c48",\r
+ "fae49c49.31b99"\r
]\r
]\r
},\r
{\r
- "id": "d0bc6aa5.e1fca8",\r
+ "id": "22cd0794.035c48",\r
"type": "set",\r
"name": "set the max bandwidth",\r
- "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n\n\n",\r
+ "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4111,\r
- "y": 444,\r
- "z": "a52db008.999ba",\r
+ "x": 4092,\r
+ "y": 452,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7b409cff.da197c",\r
+ "id": "2546bd9f.525272",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2967,\r
- "y": 625,\r
- "z": "a52db008.999ba",\r
+ "x": 2948,\r
+ "y": 633,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6c1cd175.73bac",\r
- "685f5c8c.4102b4"\r
+ "536f807c.cf39f",\r
+ "47e593b9.b45a3c"\r
]\r
]\r
},\r
{\r
- "id": "685f5c8c.4102b4",\r
+ "id": "47e593b9.b45a3c",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3190,\r
- "y": 611,\r
- "z": "a52db008.999ba",\r
+ "x": 3171,\r
+ "y": 619,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "1331c07a.407898"\r
+ "97a737cb.3ff9d8"\r
]\r
]\r
},\r
{\r
- "id": "6c1cd175.73bac",\r
+ "id": "536f807c.cf39f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3192,\r
- "y": 644,\r
- "z": "a52db008.999ba",\r
+ "x": 3173,\r
+ "y": 652,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "c779d61e.1b8528"\r
+ "2752a0c2.80dc4"\r
]\r
]\r
},\r
{\r
- "id": "c779d61e.1b8528",\r
+ "id": "2752a0c2.80dc4",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 3335,\r
- "y": 641,\r
- "z": "a52db008.999ba",\r
+ "x": 3316,\r
+ "y": 649,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "1331c07a.407898",\r
+ "id": "97a737cb.3ff9d8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3338,\r
- "y": 604,\r
- "z": "a52db008.999ba",\r
+ "x": 3319,\r
+ "y": 612,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "59393385.2a7954",\r
- "5055791b.75c5d"\r
+ "50707e3e.984ff",\r
+ "fca22b88.65f128"\r
]\r
]\r
},\r
{\r
- "id": "59393385.2a7954",\r
+ "id": "50707e3e.984ff",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3500,\r
- "y": 599,\r
- "z": "a52db008.999ba",\r
+ "x": 3481,\r
+ "y": 607,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "e04c02f4.2f63f8",\r
+ "id": "94119745.c4be9",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2981,\r
- "y": 1461.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 2962,\r
+ "y": 1469.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "250eb2ce.721286",\r
- "7ff4092b.9f4c3"\r
+ "754647f7.9e2b8",\r
+ "657955bd.91fb44"\r
]\r
]\r
},\r
{\r
- "id": "7ff4092b.9f4c3",\r
+ "id": "657955bd.91fb44",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3204,\r
- "y": 1447.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3185,\r
+ "y": 1455.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "4e15b8c4.ecfe8"\r
+ "80a7821a.19495"\r
]\r
]\r
},\r
{\r
- "id": "250eb2ce.721286",\r
+ "id": "754647f7.9e2b8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3206,\r
- "y": 1480.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3187,\r
+ "y": 1488.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d740a9b4.496fa"\r
+ "ee8e0ea1.9fea78"\r
]\r
]\r
},\r
{\r
- "id": "d740a9b4.496fa",\r
+ "id": "ee8e0ea1.9fea78",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 3349,\r
- "y": 1477.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3330,\r
+ "y": 1485.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "4e15b8c4.ecfe8",\r
+ "id": "80a7821a.19495",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3352,\r
- "y": 1440.9998779296875,\r
- "z": "a52db008.999ba",\r
+ "x": 3333,\r
+ "y": 1448.9998779296875,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a09d9728.0836a8",\r
- "a9ef3bf.dca6748"\r
+ "413b415f.4e9208",\r
+ "81398c99.8688f"\r
]\r
]\r
},\r
{\r
- "id": "a09d9728.0836a8",\r
+ "id": "413b415f.4e9208",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3546,\r
- "y": 1444,\r
- "z": "a52db008.999ba",\r
+ "x": 3527,\r
+ "y": 1452,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7ac4d896.f266b8",\r
+ "id": "2f5068f1.5086e8",\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": 1092,\r
- "y": 170,\r
- "z": "a52db008.999ba",\r
+ "x": 1073,\r
+ "y": 178,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "41475eff.deafd",\r
+ "id": "1f17f018.71ce48",\r
"type": "execute",\r
"name": "execute UUID generator for vpn-binding domainA",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2443,\r
- "y": 2082,\r
- "z": "a52db008.999ba",\r
+ "x": 2424,\r
+ "y": 2090,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "171af565.db9233",\r
+ "id": "75da5f28.16fb78",\r
"type": "execute",\r
"name": "execute UUID generator for vpn-binding domainB",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2441,\r
- "y": 2370,\r
- "z": "a52db008.999ba",\r
+ "x": 2422,\r
+ "y": 2378,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a8e7dd16.944608",\r
+ "id": "5b5222c9.d7a36c",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3614,\r
- "y": 1195,\r
- "z": "a52db008.999ba",\r
+ "x": 3595,\r
+ "y": 1203,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "58871d7.533a164"\r
+ "57baeaf4.ebf064"\r
]\r
]\r
},\r
{\r
- "id": "58871d7.533a164",\r
+ "id": "57baeaf4.ebf064",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3820,\r
- "y": 1195,\r
- "z": "a52db008.999ba",\r
+ "x": 3801,\r
+ "y": 1203,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e6111c32.d5195"\r
+ "645e8c5e.f65a7c"\r
]\r
]\r
},\r
{\r
- "id": "e6111c32.d5195",\r
+ "id": "645e8c5e.f65a7c",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4035.28564453125,\r
- "y": 1194.82177734375,\r
- "z": "a52db008.999ba",\r
+ "x": 4016.28564453125,\r
+ "y": 1202.82177734375,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "4a0a1881.22b0b"\r
+ "894c9d7e.ee38"\r
]\r
]\r
},\r
{\r
- "id": "4a0a1881.22b0b",\r
+ "id": "894c9d7e.ee38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4242.1171875,\r
- "y": 1195.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4223.1171875,\r
+ "y": 1203.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "5e5dd832.1a8688",\r
- "54bc0e63.9b6c2",\r
- "21213693.b01ef2"\r
+ "d6f40c53.9a6bf",\r
+ "c910efe.c0a679",\r
+ "50a2016f.cc5d58"\r
]\r
]\r
},\r
{\r
- "id": "5e5dd832.1a8688",\r
+ "id": "d6f40c53.9a6bf",\r
"type": "set",\r
"name": "set source ttp-id",\r
"xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4457.1171875,\r
- "y": 1157.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4438.1171875,\r
+ "y": 1165.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "54bc0e63.9b6c2",\r
+ "id": "c910efe.c0a679",\r
"type": "get-resource",\r
"name": "get-resource src TTP",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4454.1171875,\r
- "y": 1196.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4435.1171875,\r
+ "y": 1204.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "de5f8f91.d806"\r
+ "ab61e075.552a9"\r
]\r
]\r
},\r
{\r
- "id": "21213693.b01ef2",\r
+ "id": "50a2016f.cc5d58",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4409.6171875,\r
- "y": 1238.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4390.6171875,\r
+ "y": 1246.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "de5f8f91.d806",\r
+ "id": "ab61e075.552a9",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4634.6171875,\r
- "y": 1195.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4615.6171875,\r
+ "y": 1203.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "f282b1a5.b5514"\r
+ "11eef788.e7252"\r
]\r
]\r
},\r
{\r
- "id": "f282b1a5.b5514",\r
+ "id": "11eef788.e7252",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4792.6171875,\r
- "y": 1195.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4773.6171875,\r
+ "y": 1203.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "5cf873ba.a6923c"\r
+ "ab0df37c.a4d9e"\r
]\r
]\r
},\r
{\r
- "id": "5cf873ba.a6923c",\r
+ "id": "ab0df37c.a4d9e",\r
"type": "set",\r
"name": "set source tunnel tp ip",\r
"xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 4999.6171875,\r
- "y": 1195.34033203125,\r
- "z": "a52db008.999ba",\r
+ "x": 4980.6171875,\r
+ "y": 1203.34033203125,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "34f70001.b13958",\r
+ "id": "3da30ce3.e252e4",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3611,\r
- "y": 2064.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3592,\r
+ "y": 2072.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a071673c.fc9a28"\r
+ "5324422e.146a4c"\r
]\r
]\r
},\r
{\r
- "id": "a071673c.fc9a28",\r
+ "id": "5324422e.146a4c",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3817,\r
- "y": 2064.0001220703125,\r
- "z": "a52db008.999ba",\r
+ "x": 3798,\r
+ "y": 2072.0001220703125,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6adf0421.fc4f54"\r
+ "a66bf5f9.332a38"\r
]\r
]\r
},\r
{\r
- "id": "6adf0421.fc4f54",\r
+ "id": "a66bf5f9.332a38",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4032.28564453125,\r
- "y": 2063.8218994140625,\r
- "z": "a52db008.999ba",\r
+ "x": 4013.28564453125,\r
+ "y": 2071.8218994140625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2bb1f1c3.65f2c6"\r
+ "68fca589.e390fc"\r
]\r
]\r
},\r
{\r
- "id": "2bb1f1c3.65f2c6",\r
+ "id": "68fca589.e390fc",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4239.1171875,\r
- "y": 2064.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4220.1171875,\r
+ "y": 2072.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "11642463.fe6e2c",\r
- "c588c96b.efcac",\r
- "4df609a.395b578"\r
+ "c073bf38.974dd",\r
+ "108cc1af.4a86d6",\r
+ "f0b0cdee.26542"\r
]\r
]\r
},\r
{\r
- "id": "11642463.fe6e2c",\r
+ "id": "c073bf38.974dd",\r
"type": "set",\r
"name": "set destination ttp-id",\r
"xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4454.1171875,\r
- "y": 2026.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4435.1171875,\r
+ "y": 2034.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "c588c96b.efcac",\r
+ "id": "108cc1af.4a86d6",\r
"type": "get-resource",\r
"name": "get-resource src TTP",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4451.1171875,\r
- "y": 2065.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4432.1171875,\r
+ "y": 2073.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "946398a2.3fdd3"\r
+ "b43fbaf.be38548"\r
]\r
]\r
},\r
{\r
- "id": "4df609a.395b578",\r
+ "id": "f0b0cdee.26542",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4406.6171875,\r
- "y": 2107.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4387.6171875,\r
+ "y": 2115.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "946398a2.3fdd3",\r
+ "id": "b43fbaf.be38548",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4631.6171875,\r
- "y": 2064.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4612.6171875,\r
+ "y": 2072.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "4ada9462.92f41c"\r
+ "f843935.e7b9ef"\r
]\r
]\r
},\r
{\r
- "id": "4ada9462.92f41c",\r
+ "id": "f843935.e7b9ef",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4789.6171875,\r
- "y": 2064.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4770.6171875,\r
+ "y": 2072.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "85bbe5c.988a398"\r
+ "2905073f.78af38"\r
]\r
]\r
},\r
{\r
- "id": "85bbe5c.988a398",\r
+ "id": "2905073f.78af38",\r
"type": "set",\r
"name": "set destination tunnel tp ip",\r
"xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 4996.6171875,\r
- "y": 2064.3404541015625,\r
- "z": "a52db008.999ba",\r
+ "x": 4977.6171875,\r
+ "y": 2072.3404541015625,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "62bd6081.059d7",\r
+ "id": "47a3a765.16faa",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
- "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $maximum-bandwidth /1000 *2 /3 `\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 2372,\r
- "y": 2991,\r
- "z": "a52db008.999ba",\r
+ "x": 2353,\r
+ "y": 2999,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "5055791b.75c5d",\r
+ "id": "fca22b88.65f128",\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": 3527,\r
- "y": 671,\r
- "z": "a52db008.999ba",\r
+ "x": 3508,\r
+ "y": 679,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b37ffca0.5536d8",\r
- "f29e8ee3.6f68c8",\r
- "12ff2066.526398"\r
+ "26e1e178.44c626",\r
+ "748c5faa.9b8fd",\r
+ "7a23584.42cb7a8"\r
]\r
]\r
},\r
{\r
- "id": "b37ffca0.5536d8",\r
+ "id": "26e1e178.44c626",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3722.5001220703125,\r
- "y": 623,\r
- "z": "a52db008.999ba",\r
+ "x": 3703.5001220703125,\r
+ "y": 631,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "8d70b5c4.7732f8"\r
+ "4f3cfb5.bd9ae04"\r
]\r
]\r
},\r
{\r
- "id": "f29e8ee3.6f68c8",\r
+ "id": "748c5faa.9b8fd",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3714.5001220703125,\r
- "y": 678,\r
- "z": "a52db008.999ba",\r
+ "x": 3695.5001220703125,\r
+ "y": 686,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "aea102ae.c04f58"\r
+ "7374c1c1.b3ba38"\r
]\r
]\r
},\r
{\r
- "id": "12ff2066.526398",\r
+ "id": "7a23584.42cb7a8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3719.5001220703125,\r
- "y": 735,\r
- "z": "a52db008.999ba",\r
+ "x": 3700.5001220703125,\r
+ "y": 743,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d2755963.27f41"\r
+ "bf06b166.7b1ab8"\r
]\r
]\r
},\r
{\r
- "id": "d2755963.27f41",\r
+ "id": "bf06b166.7b1ab8",\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": 3871.5001220703125,\r
- "y": 736,\r
- "z": "a52db008.999ba",\r
+ "x": 3852.5001220703125,\r
+ "y": 744,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "aea102ae.c04f58",\r
+ "id": "7374c1c1.b3ba38",\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": 3882.5001220703125,\r
- "y": 681,\r
- "z": "a52db008.999ba",\r
+ "x": 3863.5001220703125,\r
+ "y": 689,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "8d70b5c4.7732f8",\r
+ "id": "4f3cfb5.bd9ae04",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3866.8824462890625,\r
- "y": 620.6556701660156,\r
- "z": "a52db008.999ba",\r
+ "x": 3847.8824462890625,\r
+ "y": 628.6556701660156,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "bbf0aa7e.e2119"\r
+ "cc5e035f.d2ea7"\r
]\r
]\r
},\r
{\r
- "id": "f4395a66.200ea",\r
+ "id": "71b56e6f.bcf72",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4449,\r
- "y": 639,\r
- "z": "a52db008.999ba",\r
+ "x": 4430,\r
+ "y": 647,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "89965e9d.5bf73"\r
+ "894c8dc1.732e8"\r
]\r
]\r
},\r
{\r
- "id": "89965e9d.5bf73",\r
+ "id": "894c8dc1.732e8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4626,\r
- "y": 631,\r
- "z": "a52db008.999ba",\r
+ "x": 4607,\r
+ "y": 639,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "cf2b04e9.c7ece",\r
- "32eb8024.15dcc8"\r
+ "47f97449.7cbbcc",\r
+ "7c6d32ec.4900b4"\r
]\r
]\r
},\r
{\r
- "id": "bbf0aa7e.e2119",\r
+ "id": "cc5e035f.d2ea7",\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": 4051,\r
- "y": 635,\r
- "z": "a52db008.999ba",\r
+ "x": 4032,\r
+ "y": 643,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "5e8a47e5.344b2"\r
+ "611703bb.9151dc"\r
]\r
]\r
},\r
{\r
- "id": "5e8a47e5.344b2",\r
+ "id": "611703bb.9151dc",\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": 4246,\r
- "y": 635,\r
- "z": "a52db008.999ba",\r
+ "x": 4227,\r
+ "y": 643,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "f4395a66.200ea",\r
- "cfe936cc.62cbd8"\r
+ "71b56e6f.bcf72",\r
+ "bf1946eb.ee80a8"\r
]\r
]\r
},\r
{\r
- "id": "cf2b04e9.c7ece",\r
+ "id": "47f97449.7cbbcc",\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": 4864,\r
- "y": 586,\r
- "z": "a52db008.999ba",\r
+ "x": 4845,\r
+ "y": 594,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "73d2c0a6.ca0098",\r
+ "id": "f99473bc.f6917",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5044,\r
- "y": 629,\r
- "z": "a52db008.999ba",\r
+ "x": 5025,\r
+ "y": 637,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "c43ff31d.81e548"\r
+ "701e34ee.427b2c"\r
]\r
]\r
},\r
{\r
- "id": "2f388561.aeb472",\r
+ "id": "8ca213cb.13c578",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5036,\r
- "y": 684,\r
- "z": "a52db008.999ba",\r
+ "x": 5017,\r
+ "y": 692,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "d2cf9090.58e4c8"\r
+ "2e4b614b.0c396e"\r
]\r
]\r
},\r
{\r
- "id": "c9248b9c.994ac",\r
+ "id": "73897c92.dacd5c",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5041,\r
- "y": 741,\r
- "z": "a52db008.999ba",\r
+ "x": 5022,\r
+ "y": 749,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "c9c36e85.c10ae8"\r
+ "ce57e89b.dcf4b"\r
]\r
]\r
},\r
{\r
- "id": "c9c36e85.c10ae8",\r
+ "id": "ce57e89b.dcf4b",\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": 5193,\r
- "y": 742,\r
- "z": "a52db008.999ba",\r
+ "x": 5174,\r
+ "y": 750,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "d2cf9090.58e4c8",\r
+ "id": "2e4b614b.0c396e",\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": 5204,\r
- "y": 687,\r
- "z": "a52db008.999ba",\r
+ "x": 5185,\r
+ "y": 695,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "c43ff31d.81e548",\r
+ "id": "701e34ee.427b2c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5188.38232421875,\r
- "y": 626.6556701660156,\r
- "z": "a52db008.999ba",\r
+ "x": 5169.38232421875,\r
+ "y": 634.6556701660156,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "2aa1f89d.d99288"\r
+ "986be552.d67d4"\r
]\r
]\r
},\r
{\r
- "id": "2aa1f89d.d99288",\r
+ "id": "986be552.d67d4",\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": 5403,\r
- "y": 623,\r
- "z": "a52db008.999ba",\r
+ "x": 5384,\r
+ "y": 631,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "a9ef3bf.dca6748",\r
+ "id": "81398c99.8688f",\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.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": 3568,\r
- "y": 1512,\r
- "z": "a52db008.999ba",\r
+ "x": 3549,\r
+ "y": 1520,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "4ce90a1d.60092c",\r
- "60723c85.f84054",\r
- "343ac8c.8b51638"\r
+ "4228d77e.297a48",\r
+ "f33d7dd3.e27df8",\r
+ "f25d8688.bde06"\r
]\r
]\r
},\r
{\r
- "id": "4ce90a1d.60092c",\r
+ "id": "4228d77e.297a48",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3763.5001220703125,\r
- "y": 1464,\r
- "z": "a52db008.999ba",\r
+ "x": 3744.5001220703125,\r
+ "y": 1472,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ce24a29a.e4d57"\r
+ "b81f1049.782548"\r
]\r
]\r
},\r
{\r
- "id": "60723c85.f84054",\r
+ "id": "f33d7dd3.e27df8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3755.5001220703125,\r
- "y": 1519,\r
- "z": "a52db008.999ba",\r
+ "x": 3736.5001220703125,\r
+ "y": 1527,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e9f57737.1a79b8"\r
+ "cb4038b7.689b5"\r
]\r
]\r
},\r
{\r
- "id": "343ac8c.8b51638",\r
+ "id": "f25d8688.bde06",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3760.5001220703125,\r
- "y": 1576,\r
- "z": "a52db008.999ba",\r
+ "x": 3741.5001220703125,\r
+ "y": 1584,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "67449715.5406e8"\r
+ "9d53815.71bad"\r
]\r
]\r
},\r
{\r
- "id": "67449715.5406e8",\r
+ "id": "9d53815.71bad",\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": 3912.5001220703125,\r
- "y": 1577,\r
- "z": "a52db008.999ba",\r
+ "x": 3893.5001220703125,\r
+ "y": 1585,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "e9f57737.1a79b8",\r
+ "id": "cb4038b7.689b5",\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": 3923.5001220703125,\r
- "y": 1522,\r
- "z": "a52db008.999ba",\r
+ "x": 3904.5001220703125,\r
+ "y": 1530,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "ce24a29a.e4d57",\r
+ "id": "b81f1049.782548",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3907.8824462890625,\r
- "y": 1461.6556701660156,\r
- "z": "a52db008.999ba",\r
+ "x": 3888.8824462890625,\r
+ "y": 1469.6556701660156,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ed40a410.dc6fe8"\r
+ "3a1b087b.88796"\r
]\r
]\r
},\r
{\r
- "id": "857c3216.12f558",\r
+ "id": "9eaf216b.504558",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4490,\r
- "y": 1480,\r
- "z": "a52db008.999ba",\r
+ "x": 4471,\r
+ "y": 1488,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6bbf97a7.ebebb8"\r
+ "848ce8ba.8131a8"\r
]\r
]\r
},\r
{\r
- "id": "6bbf97a7.ebebb8",\r
+ "id": "848ce8ba.8131a8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4667,\r
- "y": 1472,\r
- "z": "a52db008.999ba",\r
+ "x": 4648,\r
+ "y": 1480,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ee554955.44691",\r
- "1c8432c4.e13b6d"\r
+ "91abee3d.323e5",\r
+ "a28d627d.aad29"\r
]\r
]\r
},\r
{\r
- "id": "ed40a410.dc6fe8",\r
+ "id": "3a1b087b.88796",\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": 4092,\r
- "y": 1476,\r
- "z": "a52db008.999ba",\r
+ "x": 4073,\r
+ "y": 1484,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "70b35483.a830f4"\r
+ "75ba425.30354bc"\r
]\r
]\r
},\r
{\r
- "id": "70b35483.a830f4",\r
+ "id": "75ba425.30354bc",\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": 4287,\r
- "y": 1476,\r
- "z": "a52db008.999ba",\r
+ "x": 4268,\r
+ "y": 1484,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "857c3216.12f558",\r
- "dc8e8812.fdd648"\r
+ "9eaf216b.504558",\r
+ "f41408f6.625698"\r
]\r
]\r
},\r
{\r
- "id": "1c8432c4.e13b6d",\r
+ "id": "a28d627d.aad29",\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": 4875,\r
- "y": 1479,\r
- "z": "a52db008.999ba",\r
+ "x": 4856,\r
+ "y": 1487,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "6cc22b96.ba67f4",\r
- "b08dfdd6.0852f8",\r
- "4f7e6e24.1a4"\r
+ "2c1c230e.a8a514",\r
+ "77340ca1.3f4454",\r
+ "b69cbef8.164728"\r
]\r
]\r
},\r
{\r
- "id": "ee554955.44691",\r
+ "id": "91abee3d.323e5",\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": 4905,\r
- "y": 1427,\r
- "z": "a52db008.999ba",\r
+ "x": 4886,\r
+ "y": 1435,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "6cc22b96.ba67f4",\r
+ "id": "2c1c230e.a8a514",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5085,\r
- "y": 1470,\r
- "z": "a52db008.999ba",\r
+ "x": 5066,\r
+ "y": 1478,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "19f4c2b.fd2d63d"\r
+ "ea8a7330.3c6eb"\r
]\r
]\r
},\r
{\r
- "id": "b08dfdd6.0852f8",\r
+ "id": "77340ca1.3f4454",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5077,\r
- "y": 1525,\r
- "z": "a52db008.999ba",\r
+ "x": 5058,\r
+ "y": 1533,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "4d7c2f7b.855e48"\r
+ "5b6119be.e0e2e"\r
]\r
]\r
},\r
{\r
- "id": "4f7e6e24.1a4",\r
+ "id": "b69cbef8.164728",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5082,\r
- "y": 1582,\r
- "z": "a52db008.999ba",\r
+ "x": 5063,\r
+ "y": 1590,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "92c87883.16eab"\r
+ "6e980a04.e6ca2c"\r
]\r
]\r
},\r
{\r
- "id": "92c87883.16eab",\r
+ "id": "6e980a04.e6ca2c",\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": 5234,\r
- "y": 1583,\r
- "z": "a52db008.999ba",\r
+ "x": 5215,\r
+ "y": 1591,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "4d7c2f7b.855e48",\r
+ "id": "5b6119be.e0e2e",\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": 5245,\r
- "y": 1528,\r
- "z": "a52db008.999ba",\r
+ "x": 5226,\r
+ "y": 1536,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "19f4c2b.fd2d63d",\r
+ "id": "ea8a7330.3c6eb",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5229.38232421875,\r
- "y": 1467.6556701660156,\r
- "z": "a52db008.999ba",\r
+ "x": 5210.38232421875,\r
+ "y": 1475.6556701660156,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "f5fd6d7b.ccf568"\r
+ "6b04dce3.953014"\r
]\r
]\r
},\r
{\r
- "id": "f5fd6d7b.ccf568",\r
+ "id": "6b04dce3.953014",\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": 5444,\r
- "y": 1464,\r
- "z": "a52db008.999ba",\r
+ "x": 5425,\r
+ "y": 1472,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "fdbb72c5.61c228",\r
+ "id": "8335f76.9af8388",\r
"type": "execute",\r
"name": "execute RestApiCallNode slice creation domainA",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2423,\r
- "y": 2674,\r
- "z": "a52db008.999ba",\r
+ "x": 2404,\r
+ "y": 2682,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "b62b791e.5db38",\r
- "47c9af20.002648"\r
+ "f515c1e9.93c64",\r
+ "49a0370a.e5f21"\r
]\r
]\r
},\r
{\r
- "id": "47c9af20.002648",\r
+ "id": "49a0370a.e5f21",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2689,\r
- "y": 2654,\r
- "z": "a52db008.999ba",\r
+ "x": 2670,\r
+ "y": 2662,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e173211c.50ca1"\r
+ "30dceb43.a4b4ac"\r
]\r
]\r
},\r
{\r
- "id": "b62b791e.5db38",\r
+ "id": "f515c1e9.93c64",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2690.000213623047,\r
- "y": 2704.99990940094,\r
- "z": "a52db008.999ba",\r
+ "x": 2671.000213623047,\r
+ "y": 2712.99990940094,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "9a481111.191d4"\r
+ "e7a629da.88d0d8"\r
]\r
]\r
},\r
{\r
- "id": "e173211c.50ca1",\r
+ "id": "30dceb43.a4b4ac",\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 OOF api\" />\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",\r
"comments": "",\r
- "x": 2829.0002479553223,\r
- "y": 2654.0000009536743,\r
- "z": "a52db008.999ba",\r
+ "x": 2810.0002479553223,\r
+ "y": 2662.0000009536743,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "9a481111.191d4",\r
+ "id": "e7a629da.88d0d8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2835.02725982666,\r
- "y": 2702.745394706726,\r
- "z": "a52db008.999ba",\r
+ "x": 2816.02725982666,\r
+ "y": 2710.745394706726,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3f4df906.b67d7e",\r
+ "id": "5651ec55.50184c",\r
"type": "execute",\r
"name": "execute RestApiCallNode slice creation domainB",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2423,\r
- "y": 3046,\r
- "z": "a52db008.999ba",\r
+ "x": 2404,\r
+ "y": 3054,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "e8fdf08e.e8b0f8",\r
- "a8718b8a.f404c8"\r
+ "55b8a548.7743b4",\r
+ "625f938a.695c34"\r
]\r
]\r
},\r
{\r
- "id": "a8718b8a.f404c8",\r
+ "id": "625f938a.695c34",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2689,\r
- "y": 3026,\r
- "z": "a52db008.999ba",\r
+ "x": 2670,\r
+ "y": 3034,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "fcecbd56.8e1ac"\r
+ "bcc07e6e.d74a18"\r
]\r
]\r
},\r
{\r
- "id": "e8fdf08e.e8b0f8",\r
+ "id": "55b8a548.7743b4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2690.000213623047,\r
- "y": 3076.99990940094,\r
- "z": "a52db008.999ba",\r
+ "x": 2671.000213623047,\r
+ "y": 3084.99990940094,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ccb1984d.b4313"\r
+ "42c61fdb.9a2b6"\r
]\r
]\r
},\r
{\r
- "id": "fcecbd56.8e1ac",\r
+ "id": "bcc07e6e.d74a18",\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 OOF api\" />\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain B\" />\n",\r
"comments": "",\r
- "x": 2829.0002479553223,\r
- "y": 3026.0000009536743,\r
- "z": "a52db008.999ba",\r
+ "x": 2810.0002479553223,\r
+ "y": 3034.0000009536743,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "ccb1984d.b4313",\r
+ "id": "42c61fdb.9a2b6",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2835.02725982666,\r
- "y": 3074.745394706726,\r
- "z": "a52db008.999ba",\r
+ "x": 2816.02725982666,\r
+ "y": 3082.745394706726,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b6e0228b.bc6398",\r
+ "id": "ccfe530c.696ee",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2528,\r
- "y": 404,\r
- "z": "a52db008.999ba",\r
+ "x": 2509,\r
+ "y": 412,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "65e46dcd.9c5144",\r
- "bb6c8a2e.a61878"\r
+ "7c0e5ba2.cb2954",\r
+ "338a39d3.a481ce"\r
]\r
]\r
},\r
{\r
- "id": "bb6c8a2e.a61878",\r
+ "id": "338a39d3.a481ce",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2809,\r
- "y": 360,\r
- "z": "a52db008.999ba",\r
+ "x": 2790,\r
+ "y": 368,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "475f2872.5fafd"\r
+ "e9d2da22.090e3"\r
]\r
]\r
},\r
{\r
- "id": "475f2872.5fafd",\r
+ "id": "e9d2da22.090e3",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3071,\r
- "y": 360,\r
- "z": "a52db008.999ba",\r
+ "x": 3052,\r
+ "y": 368,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "da58235b.ecd51"\r
+ "ff4803af.9f0ab8"\r
]\r
]\r
},\r
{\r
- "id": "cfe936cc.62cbd8",\r
+ "id": "bf1946eb.ee80a8",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4452,\r
- "y": 713,\r
- "z": "a52db008.999ba",\r
+ "x": 4433,\r
+ "y": 721,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "29038cb1.b59084"\r
+ "c3550750.f869a"\r
]\r
]\r
},\r
{\r
- "id": "29038cb1.b59084",\r
+ "id": "c3550750.f869a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4629,\r
- "y": 705,\r
- "z": "a52db008.999ba",\r
+ "x": 4610,\r
+ "y": 713,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "c25692cd.684ce8"\r
+ "775fd622.bb73b"\r
]\r
]\r
},\r
{\r
- "id": "c25692cd.684ce8",\r
+ "id": "775fd622.bb73b",\r
"type": "set",\r
"name": "set domainA ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4864,\r
- "y": 829,\r
- "z": "a52db008.999ba",\r
+ "x": 4845,\r
+ "y": 837,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "68f808b3.66b5",\r
+ "id": "fd89b518.9f0b6",\r
"type": "set",\r
"name": "set domainB ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4904,\r
- "y": 1669,\r
- "z": "a52db008.999ba",\r
+ "x": 4885,\r
+ "y": 1677,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "ad76d9b4.88b908",\r
+ "id": "73a6ccfa.9f80e4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4669,\r
- "y": 1545,\r
- "z": "a52db008.999ba",\r
+ "x": 4650,\r
+ "y": 1553,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "68f808b3.66b5"\r
+ "fd89b518.9f0b6"\r
]\r
]\r
},\r
{\r
- "id": "dc8e8812.fdd648",\r
+ "id": "f41408f6.625698",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4492,\r
- "y": 1553,\r
- "z": "a52db008.999ba",\r
+ "x": 4473,\r
+ "y": 1561,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ad76d9b4.88b908"\r
+ "73a6ccfa.9f80e4"\r
]\r
]\r
},\r
{\r
- "id": "fad5035b.7ee3a8",\r
+ "id": "edb297b0.c9f328",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainA UNI Coloring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te/ietf-optical-slice:tp-slice-id' `\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2425,\r
- "y": 2807,\r
- "z": "a52db008.999ba",\r
+ "x": 2406,\r
+ "y": 2815,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "bc31fb8e.e87f08",\r
- "8c5d2dc9.bdb42"\r
+ "cc44d1ea.6c2858",\r
+ "700c6956.d8abf8"\r
]\r
]\r
},\r
{\r
- "id": "8c5d2dc9.bdb42",\r
+ "id": "700c6956.d8abf8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2691,\r
- "y": 2787,\r
- "z": "a52db008.999ba",\r
+ "x": 2672,\r
+ "y": 2795,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "536d6d82.f4f124"\r
+ "b7581f37.075ad"\r
]\r
]\r
},\r
{\r
- "id": "bc31fb8e.e87f08",\r
+ "id": "cc44d1ea.6c2858",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2692.000213623047,\r
- "y": 2837.99990940094,\r
- "z": "a52db008.999ba",\r
+ "x": 2673.000213623047,\r
+ "y": 2845.99990940094,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "509489f1.58fe18"\r
+ "f67d237f.4b41c"\r
]\r
]\r
},\r
{\r
- "id": "536d6d82.f4f124",\r
+ "id": "b7581f37.075ad",\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 OOF api\" />\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI Coloring for domain A\" />\n",\r
"comments": "",\r
- "x": 2831.0002479553223,\r
- "y": 2787.0000009536743,\r
- "z": "a52db008.999ba",\r
+ "x": 2812.0002479553223,\r
+ "y": 2795.0000009536743,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "509489f1.58fe18",\r
+ "id": "f67d237f.4b41c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2837.02725982666,\r
- "y": 2835.745394706726,\r
- "z": "a52db008.999ba",\r
+ "x": 2818.02725982666,\r
+ "y": 2843.745394706726,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "d037b0c3.f093c",\r
+ "id": "91eba2f3.844de",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainB UNI Coloring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te/ietf-optical-slice:tp-slice-id' `\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2425,\r
- "y": 3173,\r
- "z": "a52db008.999ba",\r
+ "x": 2406,\r
+ "y": 3181,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "8c8a801.d7272",\r
- "b835a972.f48b7"\r
+ "cf85f70c.9ad7a",\r
+ "da777837.c4e49"\r
]\r
]\r
},\r
{\r
- "id": "b835a972.f48b7",\r
+ "id": "da777837.c4e49",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2691,\r
- "y": 3153,\r
- "z": "a52db008.999ba",\r
+ "x": 2672,\r
+ "y": 3161,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "88a6a85e.9ed23"\r
+ "382ee7c9.8791c8"\r
]\r
]\r
},\r
{\r
- "id": "8c8a801.d7272",\r
+ "id": "cf85f70c.9ad7a",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2692.000213623047,\r
- "y": 3203.99990940094,\r
- "z": "a52db008.999ba",\r
+ "x": 2673.000213623047,\r
+ "y": 3211.99990940094,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "7de5bd62.f4f62c"\r
+ "f2adb059.12803"\r
]\r
]\r
},\r
{\r
- "id": "88a6a85e.9ed23",\r
+ "id": "382ee7c9.8791c8",\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 OOF api\" />\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",\r
"comments": "",\r
- "x": 2831.0002479553223,\r
- "y": 3153.0000009536743,\r
- "z": "a52db008.999ba",\r
+ "x": 2812.0002479553223,\r
+ "y": 3161.0000009536743,\r
+ "z": "4d37a11.42c136",\r
"wires": []\r
},\r
{\r
- "id": "7de5bd62.f4f62c",\r
+ "id": "f2adb059.12803",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2837.02725982666,\r
- "y": 3201.745394706726,\r
- "z": "a52db008.999ba",\r
+ "x": 2818.02725982666,\r
+ "y": 3209.745394706726,\r
+ "z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "fae49c49.31b99",\r
+ "type": "set",\r
+ "name": "set the max bandwidth",\r
+ "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 4091,\r
+ "y": 498,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
}\r
]
\ No newline at end of file