3 "id": "48a61ee8.0b719",
\r
9 "z": "4bbda34f.42b12c",
\r
17 "id": "e311175c.73cf98",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "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
27 "z": "4bbda34f.42b12c",
\r
35 "id": "f0c04bab.58634",
\r
37 "name": "cll-vnf-topology-operation-find-maximum-used-tpn",
\r
38 "xml": "<method rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync'>\n",
\r
41 "x": 425.0001220703125,
\r
43 "z": "4bbda34f.42b12c",
\r
51 "id": "7e34bfe8.37391",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 599.9688720703125,
\r
58 "y": 430.74163818359375,
\r
59 "z": "4bbda34f.42b12c",
\r
68 "id": "c553bcbc.9ba518",
\r
70 "name": "get all-vpn-bindings from aai",
\r
71 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.allvpnbindings\" >\n",
\r
76 "z": "4bbda34f.42b12c",
\r
86 "id": "dac99129.1b70d8",
\r
89 "xml": "<outcome value='success'>\n",
\r
94 "z": "4bbda34f.42b12c",
\r
102 "id": "f2598ce0.05b6e8",
\r
103 "type": "not-found",
\r
104 "name": "not-found",
\r
105 "xml": "<outcome value='not-found'>\n",
\r
108 "x": 1058.490966796875,
\r
109 "y": 305.57403564453125,
\r
110 "z": "4bbda34f.42b12c",
\r
116 "id": "6bee9d7e.dbbb84",
\r
119 "xml": "<outcome value='failure'>\n",
\r
124 "z": "4bbda34f.42b12c",
\r
132 "id": "e7d398c3.c1aec",
\r
134 "name": "block : atomic",
\r
135 "xml": "<block atomic=\"true\">",
\r
140 "z": "4bbda34f.42b12c",
\r
148 "id": "c0d94944.aeb218",
\r
149 "type": "returnFailure",
\r
150 "name": "return failure",
\r
151 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
155 "z": "4bbda34f.42b12c",
\r
159 "id": "f7213a60.a7bf88",
\r
161 "name": "for allvpnbidx in allvpnbindings",
\r
162 "xml": "<for index='allvpnbidx' start='0' end='`$tmp.aai.allvpnbindings.vpn-binding_length`' >\n",
\r
167 "z": "4bbda34f.42b12c",
\r
175 "id": "d3ed1465.8f79e8",
\r
177 "name": "block : atomic",
\r
178 "xml": "<block atomic='true'>",
\r
184 "z": "4bbda34f.42b12c",
\r
192 "id": "d00c4aae.149b2",
\r
193 "type": "switchNode",
\r
194 "name": "switch customer-vpn-id is greater than maxtpn",
\r
195 "xml": "<switch test=\"`$tmp.aai.allvpnbindings.vpn-binding[$allvpnbidx].customer-vpn-id >= $maxtpn `\">\n\n",
\r
200 "z": "4bbda34f.42b12c",
\r
209 "id": "e8157a5b.cfaa1",
\r
210 "type": "outcomeTrue",
\r
212 "xml": "<outcome value='true'>\n",
\r
217 "z": "4bbda34f.42b12c",
\r
225 "id": "f2a0edb3.6895e",
\r
226 "type": "outcomeFalse",
\r
228 "xml": "<outcome value='false'>\n",
\r
233 "z": "4bbda34f.42b12c",
\r
239 "id": "b8fa7ef9.c40c38",
\r
241 "name": "block : atomic",
\r
242 "xml": "<block atomic='true'>",
\r
248 "z": "4bbda34f.42b12c",
\r
257 "id": "9e275680.4bddb",
\r
259 "name": "set initial maxtpn and newToBeUsedMaxtpn",
\r
260 "xml": "<set>\n<parameter name='maxtpn' value='1' />\n<parameter name='newToBeUsedMaxtpn' value='1' />\n",
\r
264 "z": "4bbda34f.42b12c",
\r
268 "id": "66fd0662.02fed8",
\r
270 "name": "set maxtpn",
\r
271 "xml": "<set>\n<parameter name='maxtpn' value='`$tmp.aai.allvpnbindings.vpn-binding[$allvpnbidx].customer-vpn-id`' />\n",
\r
275 "z": "4bbda34f.42b12c",
\r
279 "id": "8abe9ad2.6ab3e",
\r
281 "name": "set newToBeUsedMaxtpn",
\r
282 "xml": "<set>\n<parameter name='newToBeUsedMaxtpn' value='`$maxtpn + $tmp.aai.allvpnbindings.vpn-binding[$allvpnbidx].route-distinguisher`' />\n",
\r
286 "z": "4bbda34f.42b12c",
\r