3 "id":"85a3d498.ee70b8",
17 "id":"484faa8a.853654",
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":548.9679565429688,
26 "y":513.2537069320679,
35 "id":"577e559b.5bf3fc",
37 "name":"network-topology-operation",
38 "xml":"<method rpc='network-topology-operation' mode='sync'>\n",
51 "id":"ac32132a.0500d",
53 "name":" NETWORK-TOPOLOGY-OPERATION ",
56 "x":861.3604507446289,
57 "y":420.60193824768066,
64 "id":"d89fb108.c15da",
66 "name":"block : atomic",
67 "xml":"<block atomic=\"true\">",
83 "id":"e42a6d76.72f57",
84 "type":"returnSuccess",
85 "name":"return success",
86 "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",
88 "x":811.0989837646484,
89 "y":1260.3017139434814,
96 "id":"6e4d7ebf.93e81",
98 "name":"switch svc-action",
99 "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
102 "x":807.7298583984375,
103 "y":866.8727722167969,
104 "z":"be8f5eb6.ea882",
118 "id":"f25f7aea.b8fbf8",
121 "xml":"<outcome value='assign'>\n",
125 "y":643.1584224700928,
126 "z":"be8f5eb6.ea882",
134 "id":"9ca02c4f.ecd52",
136 "name":"block : atomic",
137 "xml":"<block atomic=\"true\">",
140 "x":1209.4442138671875,
141 "y":644.1585445404053,
142 "z":"be8f5eb6.ea882",
150 "id":"ae97e5fa.ddc148",
152 "name":"call GENERIC-RESOURCE-API:validate-network-input",
153 "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
156 "x":940.0156097412109,
157 "y":579.0156707763672,
158 "z":"be8f5eb6.ea882",
166 "id":"e222c594.de61b8",
168 "name":"call GENERIC-RESOURCE-API:network-topology-operation-assign",
169 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
172 "x":1581.0155639648438,
173 "y":641.0156002044678,
174 "z":"be8f5eb6.ea882",
182 "id":"5b25cfb0.9dc3",
185 "xml":"<outcome value='activate'>\n",
188 "x":1030.0155944824219,
189 "y":817.0155944824219,
190 "z":"be8f5eb6.ea882",
198 "id":"922d755b.661638",
200 "name":"block : atomic",
201 "xml":"<block atomic=\"true\">",
204 "x":1567.2537536621094,
205 "y":814.0158309936523,
206 "z":"be8f5eb6.ea882",
215 "id":"7c5eb492.d1272c",
217 "name":"call GENERIC-RESOURCE-API:network-topology-operation-activate",
218 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
221 "x":2612.825164794922,
222 "y":942.872766494751,
223 "z":"be8f5eb6.ea882",
231 "id":"ce4f0e34.637f",
234 "xml":"<outcome value='deactivate'>\n",
237 "x":1019.0155944824219,
238 "y":977.0156192779541,
239 "z":"be8f5eb6.ea882",
247 "id":"9c0934a4.38d8c8",
249 "name":"block : atomic",
250 "xml":"<block atomic=\"true\">",
253 "x":1571.2537994384766,
254 "y":1080.0159301757812,
255 "z":"be8f5eb6.ea882",
264 "id":"61181d4d.3f9f64",
266 "name":"call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
267 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
270 "x":2611.3250732421875,
271 "y":1114.622766494751,
272 "z":"be8f5eb6.ea882",
280 "id":"554ed162.fdbc2",
283 "xml":"<outcome value='unassign'>\n",
286 "x":1027.0155944824219,
287 "y":1042.015619277954,
288 "z":"be8f5eb6.ea882",
296 "id":"babe1e.7216b1e",
298 "name":"block : atomic",
299 "xml":"<block atomic=\"true\">",
302 "x":1208.2537536621094,
303 "y":1043.0157413482666,
304 "z":"be8f5eb6.ea882",
313 "id":"98390811.bf3d38",
315 "name":"call GENERIC-RESOURCE-API:network-topology-operation-unassign",
316 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
319 "x":2360.0750732421875,
320 "y":1208.372766494751,
321 "z":"be8f5eb6.ea882",
329 "id":"9c1f95f4.d32d48",
332 "xml":"<outcome value='Other'>\n",
335 "x":1018.0155982971191,
336 "y":1102.015609741211,
337 "z":"be8f5eb6.ea882",
345 "id":"b64c1d1.5a772e",
346 "type":"returnFailure",
347 "name":"return failure",
348 "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=\"sdnc-request-header.svc-action is a required input\" />\n",
350 "x":1200.0155944824219,
351 "y":1101.015619277954,
352 "z":"be8f5eb6.ea882",
358 "id":"879a69b3.6edd88",
360 "name":"Set final indicator to Y",
361 "xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
363 "x":830.1266784667969,
364 "y":1219.4600524902344,
365 "z":"be8f5eb6.ea882",
371 "id":"8945700c.0d991",
373 "name":"for nidx..service-data.networks.network[]",
374 "xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
377 "x":2566.7459564208984,
378 "y":852.7775211334229,
379 "z":"be8f5eb6.ea882",
387 "id":"c5274c8f.1721b",
389 "name":"switch service-data.networks.network_length",
390 "xml":"<switch test='`$service-data.networks.network_length`'>\n",
393 "x":1873.4600524902344,
394 "y":812.3489017486572,
395 "z":"be8f5eb6.ea882",
404 "id":"aeada561.cc58d8",
406 "name":"outcome Null",
407 "xml":"<outcome value=''>\n",
410 "x":2146.460090637207,
411 "y":811.3489665985107,
412 "z":"be8f5eb6.ea882",
420 "id":"7091af2b.522e4",
423 "xml":"<outcome value='Other'>\n",
426 "x":2126.4604148864746,
427 "y":851.3489713668823,
428 "z":"be8f5eb6.ea882",
436 "id":"63bd9e68.829b4",
438 "name":"switch networkid found",
439 "xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
442 "x":2857.1745071411133,
443 "y":852.0276050567627,
444 "z":"be8f5eb6.ea882",
452 "id":"3695eb78.874394",
453 "type":"outcomeTrue",
455 "xml":"<outcome value='true'>\n",
458 "x":3046.1268615722656,
459 "y":852.9203433990479,
460 "z":"be8f5eb6.ea882",
468 "id":"674767aa.48a638",
470 "name":"set tmp.nidx and ctx.network-data",
471 "xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
473 "x":3279.6586303710938,
474 "y":851.6703510284424,
475 "z":"be8f5eb6.ea882",
481 "id":"6fdacf7d.b32fb",
483 "name":"Find the index to service data for this network - save id in tmp.nidx, save service-data",
486 "x":1819.571388244629,
487 "y":776.3489632606506,
488 "z":"be8f5eb6.ea882",
494 "id":"f5085beb.082298",
496 "name":"service-data will not be stored until we have a network-id",
499 "x":1548.6821899414062,
500 "y":609.237829208374,
501 "z":"be8f5eb6.ea882",
507 "id":"ed06878e.3cab58",
508 "type":"returnFailure",
509 "name":"return failure",
510 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
512 "x":2308.237548828125,
513 "y":812.2379093170166,
514 "z":"be8f5eb6.ea882",
520 "id":"ab947f5a.5f651",
522 "name":"block : atomic",
523 "xml":"<block atomic=\"true\">",
526 "x":2264.7299880981445,
527 "y":851.9035091400146,
528 "z":"be8f5eb6.ea882",
537 "id":"61e26d45.4186e4",
539 "name":"switch tmp.nidx ",
540 "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
543 "x":2485.0473861694336,
544 "y":894.7607278823853,
545 "z":"be8f5eb6.ea882",
553 "id":"ebd0f10f.cbf66",
554 "type":"returnFailure",
555 "name":"return failure",
556 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
558 "x":2837.904369354248,
559 "y":890.4749698638916,
560 "z":"be8f5eb6.ea882",
566 "id":"b746b314.6a6bb",
569 "xml":"<outcome value=''>\n",
572 "x":2656.4759216308594,
573 "y":893.3321132659912,
574 "z":"be8f5eb6.ea882",
582 "id":"3b322ad5.66cb26",
584 "name":"switch network-level-oper-status",
585 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
588 "x":1825.7933959960938,
589 "y":942.8241672515869,
590 "z":"be8f5eb6.ea882",
599 "id":"4168b97e.614508",
601 "name":"outcome PendingCreate",
602 "xml":"<outcome value='PendingCreate'>\n",
605 "x":2190.793375651041,
606 "y":942.8241519927977,
607 "z":"be8f5eb6.ea882",
615 "id":"648208ba.c9c398",
618 "xml":"<outcome value='Other'>\n",
621 "x":2140.7934226989746,
622 "y":982.824182510376,
623 "z":"be8f5eb6.ea882",
631 "id":"cd47365a.985768",
632 "type":"returnFailure",
633 "name":"return failure",
634 "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=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
636 "x":2310.7934226989746,
637 "y":982.824182510376,
638 "z":"be8f5eb6.ea882",
644 "id":"a31ca188.c32d7",
646 "name":"switch network-level-oper-status",
647 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
650 "x":1825.0948791503906,
651 "y":1114.7755680084229,
652 "z":"be8f5eb6.ea882",
661 "id":"e33c6a6c.b344c8",
663 "name":"outcome Created",
664 "xml":"<outcome value='Created'>\n",
667 "x":2188.0948486328125,
668 "y":1114.775598526001,
669 "z":"be8f5eb6.ea882",
677 "id":"aa28812e.314c3",
680 "xml":"<outcome value='Other'>\n",
683 "x":2158.0948486328125,
684 "y":1154.775598526001,
685 "z":"be8f5eb6.ea882",
693 "id":"deb09c1d.1e536",
694 "type":"returnFailure",
695 "name":"return failure",
696 "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=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
698 "x":2324.0948486328125,
699 "y":1156.775598526001,
700 "z":"be8f5eb6.ea882",
706 "id":"a93ebb11.5112b8",
708 "name":"switch network-level-oper-status",
709 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
712 "x":1566.8964538574219,
713 "y":1209.9769687652588,
714 "z":"be8f5eb6.ea882",
724 "id":"b6998c15.248c1",
726 "name":"outcome PendingCreate",
727 "xml":"<outcome value='PendingCreate'>\n",
730 "x":1926.8964233398438,
731 "y":1209.976999282837,
732 "z":"be8f5eb6.ea882",
740 "id":"86ffd64.1d13d28",
743 "xml":"<outcome value='Other'>\n",
746 "x":1883.8963623046875,
747 "y":1293.977014541626,
748 "z":"be8f5eb6.ea882",
756 "id":"38a0884b.706138",
757 "type":"returnFailure",
758 "name":"return failure",
759 "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=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
761 "x":2075.229782104492,
762 "y":1292.6436433792114,
763 "z":"be8f5eb6.ea882",
769 "id":"90e3f2b9.f7fb8",
771 "name":"outcome PendingDelete",
772 "xml":"<outcome value='PendingDelete'>\n",
775 "x":1930.1266479492188,
776 "y":1247.824167251587,
777 "z":"be8f5eb6.ea882",
785 "id":"b361fb8f.196518",
788 "xml":"<outcome value='create'>\n",
791 "x":1015.4679565429688,
792 "y":1161.6019382476807,
793 "z":"be8f5eb6.ea882",
801 "id":"e0127b7f.249248",
804 "xml":"<outcome value='delete'>\n",
807 "x":1018.4679565429688,
808 "y":1214.6019382476807,
809 "z":"be8f5eb6.ea882",
817 "id":"870ebc3.cf39e4",
819 "name":"block : atomic",
820 "xml":"<block atomic=\"true\">",
823 "x":1204.4679565429688,
824 "y":1167.6019382476807,
825 "z":"be8f5eb6.ea882",
833 "id":"997e78db.545078",
835 "name":"block : atomic",
836 "xml":"<block atomic=\"true\">",
839 "x":1203.4679565429688,
840 "y":1226.6019382476807,
841 "z":"be8f5eb6.ea882",
849 "id":"3c97679a.62e2f8",
851 "name":"call GENERIC-RESOURCE-API:network-topology-operation-create",
852 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
855 "x":1612.4679565429688,
856 "y":1352.6019382476807,
857 "z":"be8f5eb6.ea882",
865 "id":"54f0a399.e0516c",
867 "name":"call GENERIC-RESOURCE-API:network-topology-operation-delete",
868 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
871 "x":1618.4679565429688,
872 "y":1435.6019382476807,
873 "z":"be8f5eb6.ea882",
881 "id":"a2f3df33.c4b68",
883 "name":"switch request-action",
884 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
887 "x":1214.6668243408203,
888 "y":797.3333606719971,
889 "z":"be8f5eb6.ea882",
898 "id":"4eb93a4e.82ca64",
900 "name":"ActivateDCINetworkInstance",
901 "xml":"<outcome value='ActivateDCINetworkInstance'>",
904 "x":1457.0000915527344,
905 "y":719.333173751831,
906 "z":"be8f5eb6.ea882",
914 "id":"7ad79299.e126cc",
917 "xml":"<outcome value='other'>",
920 "x":1387.0000839233398,
921 "y":844.999870300293,
922 "z":"be8f5eb6.ea882",
930 "id":"564c81e9.848b9",
932 "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
933 "xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
936 "x":1881.0001068115234,
937 "y":719.0000429153442,
938 "z":"be8f5eb6.ea882",
946 "id":"4fa02a57.55a214",
948 "name":"switch request-action",
949 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
952 "x":1227.6666259765625,
954 "z":"be8f5eb6.ea882",
963 "id":"bcde7f7f.e235b",
965 "name":"DeActivateDCINetworkInstance",
966 "xml":"<outcome value='DeActivateDCINetworkInstance'>",
969 "x":1497.9998779296875,
970 "y":984.9998912811279,
971 "z":"be8f5eb6.ea882",
979 "id":"efb1ed02.23fdf",
981 "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
982 "xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
985 "x":1964.999900817871,
986 "y":1041.6667194366455,
987 "z":"be8f5eb6.ea882",
995 "id":"55dafa1.c389f04",
998 "xml":"<outcome value='other'>",
1001 "x":1422.9998817443848,
1002 "y":1080.6665649414062,
1003 "z":"be8f5eb6.ea882",