3 "id": "1e347aad.d3338d",
9 "z": "2edf7d59.cf16ea",
17 "id": "842aa2b0.9a6e38",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 1187.9996490478516,
26 "y": 429.0000219345093,
27 "z": "2edf7d59.cf16ea",
35 "id": "fd3c684f.426a28",
37 "name": "method:bbs-internet-profile-network-topology-operation-common-huawei",
38 "xml": "<method rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync'>\n",
41 "x": 1185.9996643066406,
42 "y": 649.0000991821289,
43 "z": "2edf7d59.cf16ea",
51 "id": "2175700f.c2f0c8",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 1609.9998626708984,
59 "y": 648.0000991821289,
60 "z": "2edf7d59.cf16ea",
72 "id": "4127c3fa.9673b4",
74 "name": "call:validate-bbs-network-input-parameters",
75 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' >\n",
78 "x": 2076.000030517578,
79 "y": 327.00000953674316,
80 "z": "2edf7d59.cf16ea",
86 "id": "1d343f0c.026059",
88 "name": "set:variables",
89 "xml": "<set>\n<parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='http://172.30.0.121:5000' />\n<parameter name='prop.bbs.service_id' value='`$network-topology-operation-input.service-information.service-id`' />\n\n",
91 "x": 1966.00053024292,
92 "y": 433.00020599365234,
93 "z": "2edf7d59.cf16ea",
97 "id": "eab220b4.352a5",
99 "name": "excute:readProperties",
100 "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' />\n\n",
104 "y": 543.1111707687378,
105 "z": "2edf7d59.cf16ea",
111 "id": "55d0514e.620318",
113 "name": "for:network-input-paramters",
114 "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
117 "x": 2009.5003662109375,
118 "y": 642.0001726150513,
119 "z": "2edf7d59.cf16ea",
127 "id": "8a494a8.20a8bb8",
128 "type": "switchNode",
129 "name": "switch:ip_remote_id",
130 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_remote_id'`\">\n",
133 "x": 2606.5004272460938,
134 "y": 423.00020694732666,
135 "z": "2edf7d59.cf16ea",
143 "id": "fe05659d.525818",
144 "type": "outcomeTrue",
146 "xml": "<outcome value='true'>\n",
149 "x": 2810.500347137451,
150 "y": 423.00017833709717,
151 "z": "2edf7d59.cf16ea",
159 "id": "a7d3481c.08f7b8",
161 "name": "set:remote_id",
162 "xml": "<set>\n<parameter name='prop.bbs.remote_id' value='`$network-input-parameters.param[$idx].value`' />\n",
164 "x": 3529.5007095336914,
165 "y": 416.60026264190674,
166 "z": "2edf7d59.cf16ea",
170 "id": "7929126f.1978ec",
177 "x": 2255.5004081726074,
178 "y": 641.0001811981201,
179 "z": "2edf7d59.cf16ea",
194 "id": "c33f3624.738b68",
195 "type": "switchNode",
196 "name": "switch:ont_sn",
197 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ont_sn'`\">\n",
200 "x": 2606.352222442627,
201 "y": 484.0002088546753,
202 "z": "2edf7d59.cf16ea",
210 "id": "91cb6667.0e6f38",
211 "type": "outcomeTrue",
213 "xml": "<outcome value='true'>\n",
216 "x": 2809.3521251678467,
217 "y": 484.0002727508545,
218 "z": "2edf7d59.cf16ea",
226 "id": "98c0b103.95e21",
228 "name": "set:ont_sn",
229 "xml": "<set>\n<parameter name='prop.bbs.ont_sn' value='`$network-input-parameters.param[$idx].value`' />\n",
231 "x": 3528.353015899658,
232 "y": 478.60032749176025,
233 "z": "2edf7d59.cf16ea",
237 "id": "e50f084d.3dcf38",
238 "type": "switchNode",
239 "name": "switch:c_vlan",
240 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'c_vlan'`\">\n",
243 "x": 2601.3524780273438,
244 "y": 843.0003833770752,
245 "z": "2edf7d59.cf16ea",
253 "id": "cc2858fe.effe8",
254 "type": "outcomeTrue",
256 "xml": "<outcome value='true'>\n",
259 "x": 2804.352336883545,
260 "y": 843.000394821167,
261 "z": "2edf7d59.cf16ea",
269 "id": "484906a8.869108",
271 "name": "set:c_vlan",
272 "xml": "<set>\n<parameter name='prop.bbs.c_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
274 "x": 3523.35302734375,
275 "y": 839.6004438400269,
276 "z": "2edf7d59.cf16ea",
280 "id": "19d2ce64.f177ba",
281 "type": "switchNode",
282 "name": "switch:s_vlan",
283 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 's_vlan'`\">\n",
286 "x": 2596.3524856567383,
287 "y": 786.2226104736328,
288 "z": "2edf7d59.cf16ea",
296 "id": "63ab238d.357434",
297 "type": "outcomeTrue",
299 "xml": "<outcome value='true'>\n",
302 "x": 2805.352370262146,
303 "y": 785.2226085662842,
304 "z": "2edf7d59.cf16ea",
312 "id": "1dc9c73a.36a871",
314 "name": "set:s_vlan",
315 "xml": "<set>\n<parameter name='prop.bbs.s_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
317 "x": 3525.35294342041,
318 "y": 779.8226985931396,
319 "z": "2edf7d59.cf16ea",
323 "id": "8225c847.1697b",
324 "type": "switchNode",
325 "name": "switch:ip_remote_id value",
326 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
329 "x": 3021.500347137451,
330 "y": 422.0002088546753,
331 "z": "2edf7d59.cf16ea",
340 "id": "c415f41b.dc79",
343 "xml": "<outcome value='Other'>\n",
346 "x": 3322.5007553100586,
347 "y": 416.00030040740967,
348 "z": "2edf7d59.cf16ea",
356 "id": "2781aecd.a647d2",
357 "type": "switchNode",
358 "name": "switch:ont_sn value",
359 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
362 "x": 3021.500347137451,
363 "y": 484.0002088546753,
364 "z": "2edf7d59.cf16ea",
373 "id": "68a8565a.8b2ef",
376 "xml": "<outcome value='Other'>\n",
379 "x": 3324.5007553100586,
380 "y": 479.00030040740967,
381 "z": "2edf7d59.cf16ea",
389 "id": "9cd70077.ad156",
390 "type": "switchNode",
391 "name": "switch:c_vlan value",
392 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
395 "x": 3019.50053024292,
396 "y": 844.0003337860107,
397 "z": "2edf7d59.cf16ea",
406 "id": "5078e952.0204f8",
409 "xml": "<outcome value='Other'>\n",
412 "x": 3323.5011291503906,
413 "y": 841.0004281997681,
414 "z": "2edf7d59.cf16ea",
422 "id": "79609442.62289c",
423 "type": "switchNode",
424 "name": "switch:s_vlan value",
425 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
428 "x": 3018.50053024292,
429 "y": 785.0002937316895,
430 "z": "2edf7d59.cf16ea",
439 "id": "4f84a1a2.f9dfb8",
442 "xml": "<outcome value='Other'>\n",
445 "x": 3321.5009384155273,
446 "y": 781.0003852844238,
447 "z": "2edf7d59.cf16ea",
455 "id": "f6d633a5.8dcd68",
458 "xml": "<outcome value=''>\n",
461 "x": 3334.500732421875,
462 "y": 259.0002098083496,
463 "z": "2edf7d59.cf16ea",
471 "id": "d857f73d.adc418",
472 "type": "switchNode",
473 "name": "switch:ip_service_type",
474 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_service_type'`\">\n",
477 "x": 2603.333610534668,
478 "y": 544.0001068115234,
479 "z": "2edf7d59.cf16ea",
487 "id": "3b602ed0.d84d6a",
488 "type": "outcomeTrue",
490 "xml": "<outcome value='true'>\n",
493 "x": 2812.3334951400757,
494 "y": 543.0001049041748,
495 "z": "2edf7d59.cf16ea",
503 "id": "c455421d.7c5a78",
505 "name": "set:service_type",
506 "xml": "<set>\n<parameter name='prop.bbs.service_type' value='`$network-input-parameters.param[$idx].value`' />\n",
508 "x": 3532.33406829834,
509 "y": 537.6001949310303,
510 "z": "2edf7d59.cf16ea",
514 "id": "a24014b6.22fb98",
515 "type": "switchNode",
516 "name": "switch:ip_service_type value",
517 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
520 "x": 3025.4816551208496,
521 "y": 542.7777900695801,
522 "z": "2edf7d59.cf16ea",
531 "id": "dae0bd9.b9c44c",
534 "xml": "<outcome value='Other'>\n",
537 "x": 3328.482063293457,
538 "y": 538.7778816223145,
539 "z": "2edf7d59.cf16ea",
547 "id": "17321748.f836a9",
548 "type": "switchNode",
549 "name": "switch:ip_rg_mac_addr",
550 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_rg_mac_addr'`\">\n",
553 "x": 2601.333610534668,
554 "y": 604.0001087188721,
555 "z": "2edf7d59.cf16ea",
563 "id": "2e394322.e3b494",
564 "type": "outcomeTrue",
566 "xml": "<outcome value='true'>\n",
569 "x": 2810.3334951400757,
570 "y": 603.0001068115234,
571 "z": "2edf7d59.cf16ea",
579 "id": "b4892f9a.ccf8d8",
582 "xml": "<set>\n<parameter name='prop.bbs.mac' value='`$network-input-parameters.param[$idx].value`' />\n",
585 "y": 597.6002368927002,
586 "z": "2edf7d59.cf16ea",
590 "id": "f5b4bf6e.71b26",
591 "type": "switchNode",
592 "name": "switch:ip_rg_mac_addr value",
593 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
596 "x": 3023.4816551208496,
597 "y": 602.7777919769287,
598 "z": "2edf7d59.cf16ea",
607 "id": "6b930f07.9c92d",
610 "xml": "<outcome value='Other'>\n",
613 "x": 3326.482063293457,
614 "y": 598.7778835296631,
615 "z": "2edf7d59.cf16ea",
623 "id": "9ec2e808.aa4ef",
624 "type": "switchNode",
625 "name": "switch:ip_downstream_speed",
626 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_downstream_speed'`\">\n",
629 "x": 2600.333770751953,
630 "y": 726.0002136230469,
631 "z": "2edf7d59.cf16ea",
639 "id": "af0e2874.cdaf58",
640 "type": "outcomeTrue",
642 "xml": "<outcome value='true'>\n",
645 "x": 2809.333655357361,
646 "y": 725.0002117156982,
647 "z": "2edf7d59.cf16ea",
655 "id": "93741b2.676f168",
657 "name": "set:down_speed",
658 "xml": "<set>\n<parameter name='prop.bbs.down_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
660 "x": 3529.334228515625,
661 "y": 719.6003017425537,
662 "z": "2edf7d59.cf16ea",
666 "id": "5343752.1ca258c",
667 "type": "switchNode",
668 "name": "switch:ip_downstream_speed value",
669 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
672 "x": 3022.4818153381348,
673 "y": 724.7778968811035,
674 "z": "2edf7d59.cf16ea",
683 "id": "4ea44007.a38f9",
686 "xml": "<outcome value='Other'>\n",
689 "x": 3325.482223510742,
690 "y": 720.7779884338379,
691 "z": "2edf7d59.cf16ea",
699 "id": "df5d55aa.feb328",
700 "type": "switchNode",
701 "name": "switch:service_id",
702 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service_id'`\">\n",
705 "x": 2611.3334617614746,
706 "y": 365.0000114440918,
707 "z": "2edf7d59.cf16ea",
715 "id": "915b1f59.98c2",
716 "type": "outcomeTrue",
718 "xml": "<outcome value='true'>\n",
721 "x": 2815.333381652832,
722 "y": 364.9999828338623,
723 "z": "2edf7d59.cf16ea",
731 "id": "bd2c3108.5e8e4",
733 "name": "set:service_id",
734 "xml": "<set>\n<parameter name='prop.bbs.service_id' value='`$network-input-parameters.param[$idx].value`' />\n",
736 "x": 3534.3337440490723,
737 "y": 358.6000671386719,
738 "z": "2edf7d59.cf16ea",
742 "id": "97d5893.0c105f8",
743 "type": "switchNode",
744 "name": "switch:service_id value",
745 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
748 "x": 3026.333381652832,
749 "y": 364.00001335144043,
750 "z": "2edf7d59.cf16ea",
758 "id": "c8da08c5.7c8588",
761 "xml": "<outcome value='Other'>\n",
764 "x": 3327.3337898254395,
765 "y": 358.0001049041748,
766 "z": "2edf7d59.cf16ea",
774 "id": "80e0672.33dd098",
775 "type": "switchNode",
776 "name": "switch:ip_upstream_speed",
777 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_upstream_speed'`\">\n",
780 "x": 2600.3339309692383,
781 "y": 665.0001907348633,
782 "z": "2edf7d59.cf16ea",
790 "id": "20277844.76ed4",
791 "type": "outcomeTrue",
793 "xml": "<outcome value='true'>\n",
796 "x": 2809.333815574646,
797 "y": 664.0001888275146,
798 "z": "2edf7d59.cf16ea",
806 "id": "204cebd9.88796c",
808 "name": "set:up_speed",
809 "xml": "<set>\n<parameter name='prop.bbs.up_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
811 "x": 3529.33438873291,
812 "y": 658.6002788543701,
813 "z": "2edf7d59.cf16ea",
817 "id": "1e51a898.1b496f",
818 "type": "switchNode",
819 "name": "switch:ip_upstream_speed value",
820 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
823 "x": 3022.48197555542,
824 "y": 663.7778739929199,
825 "z": "2edf7d59.cf16ea",
834 "id": "cf0ce51.5cc7b18",
837 "xml": "<outcome value='Other'>\n",
840 "x": 3325.4823837280273,
841 "y": 659.7779655456543,
842 "z": "2edf7d59.cf16ea",
850 "id": "7c23f619.45f3b8",
851 "type": "returnFailure",
852 "name": "return failure",
853 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`$network-input-parameters.param[$idx].name +' value is null, please check it.'`\" />\n",
855 "x": 3521.333251953125,
857 "z": "2edf7d59.cf16ea",
861 "id": "38f1d224.3b5b8e",
864 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"bbs-internet-profile-common\" />\n <parameter name=\"field2\" value=\"`$prop.bbs.service_id`\" />\n <parameter name=\"field3\" value=\"`$prop.bbs.remote_id`\" />\n <parameter name=\"field4\" value=\"`$prop.bbs.ont_sn`\" />\n <parameter name=\"field5\" value=\"`$prop.bbs.service_type`\" />\n <parameter name=\"field6\" value=\"`$prop.bbs.mac`\" />\n <parameter name=\"field7\" value=\"`$prop.bbs.up_speed`\" />\n <parameter name=\"field8\" value=\"`$prop.bbs.down_speed`\" />\n <parameter name=\"field9\" value=\"`$prop.bbs.s_vlan`\" />\n <parameter name=\"field10\" value=\"`$prop.bbs.c_vlan`\" />",
867 "x": 1944.222095489502,
868 "y": 748.5555591583252,
869 "z": "2edf7d59.cf16ea",