3 "id": "6c6bc16c.ca3e3",
9 "z": "f29dedb6.fec708",
17 "id": "537702a4.cc8034",
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": 289.00000381469727,
26 "y": 125.0000171661377,
27 "z": "f29dedb6.fec708",
35 "id": "be1e8309.4bc4c8",
37 "name": "method network-topology-operation-create",
38 "xml": "<method rpc='network-topology-operation-create' mode='sync'>\n",
41 "x": 277.0001220703125,
43 "z": "f29dedb6.fec708",
51 "id": "15842b75.da07e5",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 553.0000305175781,
59 "y": 221.00001335144043,
60 "z": "f29dedb6.fec708",
78 "id": "d2fcc9e7.aec75",
80 "name": "execute RestApiCallNode Create IPWAN L3VPN",
81 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
84 "x": 1149.0001831054688,
86 "z": "f29dedb6.fec708",
92 "id": "35d46a8d.e7edce",
94 "name": "set controller data",
95 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n",
97 "x": 781.0000610351562,
99 "z": "f29dedb6.fec708",
103 "id": "56d07259.1d8cbc",
105 "name": "for each network-input-parameters",
106 "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
109 "x": 838.6666259765625,
110 "y": 389.6666564941406,
111 "z": "f29dedb6.fec708",
119 "id": "6b6b65e4.027114",
121 "name": "execute RestApiCallNode Create SPTN L3VPN",
122 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smsitetemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
125 "x": 1120.6668701171875,
126 "y": 939.6666870117188,
127 "z": "f29dedb6.fec708",
133 "id": "39c4a2ad.6290be",
135 "name": "execute vpn-policy1-id",
136 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy1-id\"/>\n",
139 "x": 798.6666259765625,
140 "y": 446.66668701171875,
141 "z": "f29dedb6.fec708",
149 "id": "96af0d.cf3c10f",
152 "xml": "<outcome value='failure'>\n",
155 "x": 1023.6666259765625,
156 "y": 449.6666564941406,
157 "z": "f29dedb6.fec708",
165 "id": "7438ecb9.4567f4",
166 "type": "returnFailure",
167 "name": "return failure",
168 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
170 "x": 1204.6666259765625,
171 "y": 447.6666564941406,
172 "z": "f29dedb6.fec708",
176 "id": "861f67a.7920b18",
178 "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
179 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
184 "z": "f29dedb6.fec708",
190 "id": "38a3e2ad.559ce6",
191 "type": "get-resource",
192 "name": "get-resource esr-thirdparty-sdnc",
193 "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.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
198 "z": "f29dedb6.fec708",
208 "id": "747be621.ebaa68",
211 "xml": "<outcome value='success'>\n",
216 "z": "f29dedb6.fec708",
224 "id": "e28c7994.72931",
227 "xml": "<outcome value='not-found'>\n",
230 "x": 1148.990966796875,
231 "y": 185.57403564453125,
232 "z": "f29dedb6.fec708",
240 "id": "5f530a05.e03c5c",
243 "xml": "<outcome value='Other'>\n",
246 "x": 1144.323974609375,
247 "y": 226.9073486328125,
248 "z": "f29dedb6.fec708",
256 "id": "b482495d.0483a",
257 "type": "returnFailure",
258 "name": "return failure",
259 "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 model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
261 "x": 1325.5623779296875,
262 "y": 173.85977172851562,
263 "z": "f29dedb6.fec708",
267 "id": "552e5145.a20188",
268 "type": "returnFailure",
269 "name": "return failure",
270 "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 retrieving vpn binding\" />\n\n",
272 "x": 1332.0965309143066,
273 "y": 222.34654140472412,
274 "z": "f29dedb6.fec708",
278 "id": "270f57b4.7e9228",
280 "name": "block : atomic",
281 "xml": "<block atomic=\"true\">",
284 "x": 1323.705322265625,
285 "y": 130.57403564453125,
286 "z": "f29dedb6.fec708",
292 "id": "b2478f4e.7cd8b",
301 "z": "f29dedb6.fec708",
333 "id": "92f693f1.fbeac8",
334 "type": "switchNode",
335 "name": "switch name",
336 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
340 "y": 20.000030517578125,
341 "z": "f29dedb6.fec708",
349 "id": "fa654c60.33fc7",
350 "type": "switchNode",
351 "name": "switch service-type",
352 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
355 "x": 1592.4999389648438,
356 "y": 81.60000610351562,
357 "z": "f29dedb6.fec708",
365 "id": "6d73e8b1.07061",
366 "type": "outcomeTrue",
368 "xml": "<outcome value='true'>\n",
372 "y": 20.000030517578125,
373 "z": "f29dedb6.fec708",
381 "id": "2301d600.a73462",
382 "type": "outcomeTrue",
384 "xml": "<outcome value='true'>\n",
387 "x": 1777.4999389648438,
388 "y": 79.60000610351562,
389 "z": "f29dedb6.fec708",
397 "id": "1d383b47.d3c90d",
400 "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
403 "y": 20.60003662109375,
404 "z": "f29dedb6.fec708",
408 "id": "f95d177d.930be",
410 "name": "set service-type",
411 "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
413 "x": 1946.4999389648438,
414 "y": 77.60000610351562,
415 "z": "f29dedb6.fec708",
419 "id": "3c75f999.d8df1e",
420 "type": "switchNode",
421 "name": "switch topology",
422 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
427 "z": "f29dedb6.fec708",
435 "id": "399d4af.75d7f36",
436 "type": "switchNode",
437 "name": "switch technology",
438 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n",
443 "z": "f29dedb6.fec708",
451 "id": "f1384917.ec5db8",
452 "type": "switchNode",
453 "name": "switch site1_name",
454 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
459 "z": "f29dedb6.fec708",
467 "id": "b487b0d3.26ff08",
468 "type": "switchNode",
469 "name": "switch site2_name",
470 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n",
475 "z": "f29dedb6.fec708",
483 "id": "507ab3c0.3b67f4",
484 "type": "switchNode",
485 "name": "switch sna1_name",
486 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n",
491 "z": "f29dedb6.fec708",
499 "id": "b36084e3.ed78c",
500 "type": "switchNode",
501 "name": "switch sna2_name",
502 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n",
507 "z": "f29dedb6.fec708",
515 "id": "43267259.9b3cb4",
516 "type": "switchNode",
517 "name": "switch pe1_id",
518 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
523 "z": "f29dedb6.fec708",
531 "id": "2536a52a.61b14a",
532 "type": "switchNode",
533 "name": "switch pe2_id",
534 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n",
539 "z": "f29dedb6.fec708",
547 "id": "7ec07647.4a18e8",
548 "type": "switchNode",
549 "name": "switch ac1_id",
550 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n",
555 "z": "f29dedb6.fec708",
563 "id": "cc9729b3.35c9a8",
564 "type": "switchNode",
565 "name": "switch ac2_id",
566 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n",
571 "z": "f29dedb6.fec708",
579 "id": "72f85ed8.f54e68",
580 "type": "switchNode",
581 "name": "switch ac1_ip",
582 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n",
587 "z": "f29dedb6.fec708",
595 "id": "b028194c.b3b988",
596 "type": "switchNode",
597 "name": "switch ac2_ip",
598 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n",
603 "z": "f29dedb6.fec708",
611 "id": "b0ea6a25.f32ed",
612 "type": "switchNode",
613 "name": "switch ac1_peer_ip",
614 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n",
619 "z": "f29dedb6.fec708",
627 "id": "b7bb055e.312e1",
628 "type": "switchNode",
629 "name": "switch ac2_peer_ip",
630 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n",
635 "z": "f29dedb6.fec708",
643 "id": "d25d1bce.304f78",
644 "type": "switchNode",
645 "name": "switch ac1_svlan",
646 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n",
651 "z": "f29dedb6.fec708",
659 "id": "49087f87.ab7e78",
660 "type": "switchNode",
661 "name": "switch ac2_svlan",
662 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n",
667 "z": "f29dedb6.fec708",
675 "id": "6e2762a6.8272c4",
676 "type": "switchNode",
677 "name": "switch ac1_protocol",
678 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n",
683 "z": "f29dedb6.fec708",
691 "id": "5f3b0791.9b6e88",
692 "type": "switchNode",
693 "name": "switch ac2_protocol",
694 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n",
699 "z": "f29dedb6.fec708",
707 "id": "1aacfbe9.a7c6bc",
708 "type": "switchNode",
709 "name": "switch ac1_protocol_bgp_as",
710 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n",
715 "z": "f29dedb6.fec708",
723 "id": "f2101f18.ae2b68",
724 "type": "switchNode",
725 "name": "switch ac2_protocol_bgp_as",
726 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n",
731 "z": "f29dedb6.fec708",
739 "id": "ca43c6ae.b67f4",
740 "type": "switchNode",
741 "name": "switch af_type",
742 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n",
747 "z": "f29dedb6.fec708",
755 "id": "64ec1f5c.cd7588",
756 "type": "outcomeTrue",
758 "xml": "<outcome value='true'>\n",
763 "z": "f29dedb6.fec708",
771 "id": "30608684.1fa91a",
772 "type": "outcomeTrue",
774 "xml": "<outcome value='true'>\n",
779 "z": "f29dedb6.fec708",
787 "id": "7b6affba.2f1ea8",
788 "type": "outcomeTrue",
790 "xml": "<outcome value='true'>\n",
795 "z": "f29dedb6.fec708",
803 "id": "e7d8abc.3397ed8",
804 "type": "outcomeTrue",
806 "xml": "<outcome value='true'>\n",
811 "z": "f29dedb6.fec708",
819 "id": "ccbb4e0a.e4624",
820 "type": "outcomeTrue",
822 "xml": "<outcome value='true'>\n",
827 "z": "f29dedb6.fec708",
835 "id": "5e7b746e.c31ebc",
836 "type": "outcomeTrue",
838 "xml": "<outcome value='true'>\n",
843 "z": "f29dedb6.fec708",
851 "id": "cd97fc49.ef9428",
852 "type": "outcomeTrue",
854 "xml": "<outcome value='true'>\n",
859 "z": "f29dedb6.fec708",
867 "id": "b43f1ee2.b85a2",
868 "type": "outcomeTrue",
870 "xml": "<outcome value='true'>\n",
875 "z": "f29dedb6.fec708",
883 "id": "b4d9a4d.005d958",
884 "type": "outcomeTrue",
886 "xml": "<outcome value='true'>\n",
891 "z": "f29dedb6.fec708",
899 "id": "7dfb851.0b49cfc",
900 "type": "outcomeTrue",
902 "xml": "<outcome value='true'>\n",
907 "z": "f29dedb6.fec708",
915 "id": "d713e906.7f455",
916 "type": "outcomeTrue",
918 "xml": "<outcome value='true'>\n",
923 "z": "f29dedb6.fec708",
931 "id": "973837ca.190aa8",
932 "type": "outcomeTrue",
934 "xml": "<outcome value='true'>\n",
939 "z": "f29dedb6.fec708",
947 "id": "6ccb4ca1.2cd06c",
948 "type": "outcomeTrue",
950 "xml": "<outcome value='true'>\n",
955 "z": "f29dedb6.fec708",
963 "id": "b9aa2fd2.814f48",
964 "type": "outcomeTrue",
966 "xml": "<outcome value='true'>\n",
971 "z": "f29dedb6.fec708",
979 "id": "7df19f10.00d63",
980 "type": "outcomeTrue",
982 "xml": "<outcome value='true'>\n",
987 "z": "f29dedb6.fec708",
995 "id": "deb16fb4.873d88",
996 "type": "outcomeTrue",
998 "xml": "<outcome value='true'>\n",
1003 "z": "f29dedb6.fec708",
1011 "id": "d9a405e5.0fbd78",
1012 "type": "outcomeTrue",
1014 "xml": "<outcome value='true'>\n",
1019 "z": "f29dedb6.fec708",
1027 "id": "f17cdf9a.1f70e",
1028 "type": "outcomeTrue",
1030 "xml": "<outcome value='true'>\n",
1035 "z": "f29dedb6.fec708",
1043 "id": "3676d16.bff3dae",
1044 "type": "outcomeTrue",
1046 "xml": "<outcome value='true'>\n",
1051 "z": "f29dedb6.fec708",
1059 "id": "43e3c11a.4b0498",
1060 "type": "outcomeTrue",
1062 "xml": "<outcome value='true'>\n",
1067 "z": "f29dedb6.fec708",
1075 "id": "ab13048a.b0a2",
1076 "type": "outcomeTrue",
1078 "xml": "<outcome value='true'>\n",
1083 "z": "f29dedb6.fec708",
1091 "id": "f1c21eed.4c6488",
1093 "name": "set topology",
1094 "xml": "<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1098 "z": "f29dedb6.fec708",
1102 "id": "db52bb2.d3cc7c8",
1104 "name": "set technology",
1105 "xml": "<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1109 "z": "f29dedb6.fec708",
1113 "id": "7c0e170d.30b1d",
1115 "name": "set site1_name",
1116 "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1120 "z": "f29dedb6.fec708",
1124 "id": "947c8730.9c4b48",
1126 "name": "set site2_name",
1127 "xml": "<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1131 "z": "f29dedb6.fec708",
1135 "id": "a06ad2cd.275448",
1137 "name": "set sna1_name",
1138 "xml": "<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1142 "z": "f29dedb6.fec708",
1146 "id": "b2aa581c.5af32",
1148 "name": "set sna2_name",
1149 "xml": "<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1153 "z": "f29dedb6.fec708",
1157 "id": "72cbbe8e.f6925",
1159 "name": "set pe1_id",
1160 "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1164 "z": "f29dedb6.fec708",
1168 "id": "d9091182.9c0dc8",
1170 "name": "set pe2_id",
1171 "xml": "<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1175 "z": "f29dedb6.fec708",
1179 "id": "ae505877.71061",
1181 "name": "set ac1_id",
1182 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1186 "z": "f29dedb6.fec708",
1190 "id": "2f24e7f6.a11b28",
1192 "name": "set ac2_id",
1193 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1197 "z": "f29dedb6.fec708",
1201 "id": "42443b38.340f8c",
1203 "name": "set ac1_ip",
1204 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1208 "z": "f29dedb6.fec708",
1212 "id": "e3ce9d5.2cdf36",
1214 "name": "set ac2_ip",
1215 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1219 "z": "f29dedb6.fec708",
1223 "id": "7054b5f4.206a54",
1225 "name": "set ac1_peer_ip",
1226 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1230 "z": "f29dedb6.fec708",
1234 "id": "784b972f.0e3428",
1236 "name": "set ac2_peer_ip",
1237 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1241 "z": "f29dedb6.fec708",
1245 "id": "206c366c.675522",
1247 "name": "set ac1_svlan",
1248 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1252 "z": "f29dedb6.fec708",
1256 "id": "10227f41.369851",
1258 "name": "set ac2_svlan",
1259 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1263 "z": "f29dedb6.fec708",
1267 "id": "1799ee09.bb8ffa",
1269 "name": "set ac1_protocol",
1270 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1274 "z": "f29dedb6.fec708",
1278 "id": "a6d260a1.f58c48",
1280 "name": "set ac2_protocol",
1281 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1285 "z": "f29dedb6.fec708",
1289 "id": "8bd5be57.1da07",
1291 "name": "set ac1_protocol_bgp_as",
1292 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer1-ip' value='`$prop.l3vpn.ac1_ip`' />\n",
1296 "z": "f29dedb6.fec708",
1300 "id": "b62f8a75.a94a88",
1302 "name": "set ac2_protocol_bgp_as",
1303 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer2-ip' value='`$prop.l3vpn.ac2_ip`' />\n",
1307 "z": "f29dedb6.fec708",
1311 "id": "d6461dbb.9360e8",
1313 "name": "set af_type",
1314 "xml": "<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1318 "z": "f29dedb6.fec708",
1322 "id": "5c9ca6e0.e239a",
1325 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-create\"/>\n<parameter name=\"SubMethod\" value=\"L3VPN-Config\"/>\n<parameter name=\"l3vpn_name\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"topology\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"site1_name\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"vpn-policy1-id\" value=\"`$prop.l3vpn.vpn-policy1-id}`\"/>\n<parameter name=\"l3vpn.entry1-id\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"sna1_name\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"pe1_id\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"ac1_id\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"sna1_svlan\" value=\"`$prop.l3vpn.sna1_svlan`\"/>\n<parameter name=\"ac1-peer-ip\" value=\"`$prop.l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"ac1-ip\" value=\"`$prop.l3vpn.ac1-ip`\"/>\n<parameter name=\"ac1_protocol\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"sna1-route-ip-prefix\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"sna1-route-next-hop\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf1-id\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"site2_name\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"vpn-policy2-id\" value=\"`$prop.l3vpn.vpn-policy2-id}`\"/>\n<parameter name=\"l3vpn.entry2-id\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"sna2_name\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"pe2_id\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"ac2_id\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"sna2_svlan\" value=\"`$prop.l3vpn.sna2_svlan`\"/>\n<parameter name=\"ac2-peer-ip\" value=\"`$prop.l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"ac2-ip\" value=\"`$prop.l3vpn.ac2-ip`\"/>\n<parameter name=\"ac2_protocol\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"sna2-route-ip-prefix\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"sna2-route-next-hop\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf2-id\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"af_type\" value=\"`$prop.l3vpn.af_type`\"/>\n",
1330 "z": "f29dedb6.fec708",
1336 "id": "e21a9c92.1f2a28",
1337 "type": "switchNode",
1338 "name": "switch service-type",
1339 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
1344 "z": "f29dedb6.fec708",
1354 "id": "35f4cd65.09f49a",
1355 "type": "outcomeTrue",
1356 "name": "l3vpn-ipwan",
1357 "xml": "<outcome value='l3vpn-ipwan'>\n",
1362 "z": "f29dedb6.fec708",
1370 "id": "75d7a8fd.a7b578",
1371 "type": "outcomeTrue",
1372 "name": "l3vpn-sptn",
1373 "xml": "<outcome value='true'>\n",
1378 "z": "f29dedb6.fec708",
1386 "id": "8c0ace1c.3759a8",
1387 "type": "outcomeTrue",
1389 "xml": "<outcome value='Other'>\n",
1394 "z": "f29dedb6.fec708",
1402 "id": "942583bd.a55fc8",
1403 "type": "returnFailure",
1404 "name": "return failure",
1405 "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 retrieving vpn binding\" />\n\n",
1409 "z": "f29dedb6.fec708",
1413 "id": "151a4cba.fa33e3",
1415 "name": "execute vpn-policy2-id",
1416 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy2-id\"/>\n",
1421 "z": "f29dedb6.fec708",
1429 "id": "e0623ae9.6063c",
1432 "xml": "<outcome value='failure'>\n",
1436 "y": 507.9999694824219,
1437 "z": "f29dedb6.fec708",
1445 "id": "25b266b0.918a82",
1446 "type": "returnFailure",
1447 "name": "return failure",
1448 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1451 "y": 505.9999694824219,
1452 "z": "f29dedb6.fec708",
1456 "id": "be047f99.592428",
1458 "name": "set policy entry",
1459 "xml": "<set>\n<parameter name='prop.l3vpn.entry1-id' value='1' />\n<parameter name='prop.l3vpn.entry2-id' value='1' />\n\n",
1463 "z": "f29dedb6.fec708",
1467 "id": "98526d9c.6760b",
1469 "name": "execute split ac1-route",
1470 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac1-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
1475 "z": "f29dedb6.fec708",
1484 "id": "bf6d8b73.1d1d2",
1485 "type": "switchNode",
1486 "name": "switch ac2_route",
1487 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_route'`\">\n",
1492 "z": "f29dedb6.fec708",
1500 "id": "5a7334fb.eef58c",
1501 "type": "switchNode",
1502 "name": "switch ac1_route",
1503 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_route'`\">\n",
1508 "z": "f29dedb6.fec708",
1516 "id": "56e3cd9c.43986c",
1517 "type": "outcomeTrue",
1519 "xml": "<outcome value='true'>\n",
1524 "z": "f29dedb6.fec708",
1532 "id": "7a9c17fc.2f1e08",
1533 "type": "outcomeTrue",
1535 "xml": "<outcome value='true'>\n",
1540 "z": "f29dedb6.fec708",
1548 "id": "54fbb9e9.bfa918",
1550 "name": "set ac1_route",
1551 "xml": "<set>\n<parameter name='prop.l3vpn.ac1_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1555 "z": "f29dedb6.fec708",
1559 "id": "d7d47e9f.d291a8",
1561 "name": "set ac2_route",
1562 "xml": "<set>\n<parameter name='prop.l3vpn.ac2_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1566 "z": "f29dedb6.fec708",
1570 "id": "8d93fa75.d66f9",
1572 "name": "execute split ac2-route",
1573 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac2-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route2\"/>\n",
1578 "z": "f29dedb6.fec708",
1587 "id": "477adf42.483428",
1589 "name": "block atomic",
1590 "xml": "<block atomic=\"true\">\n",
1596 "z": "f29dedb6.fec708",
1605 "id": "fc261e72.93fdd8",
1607 "name": "block atomic",
1608 "xml": "<block atomic=\"true\">\n",
1614 "z": "f29dedb6.fec708",
1623 "id": "1460f5c7.7bf212",
1625 "name": "execute vrf1-id",
1626 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf1-id\"/>\n",
1631 "z": "f29dedb6.fec708",
1639 "id": "e2d35c41.dd6f5",
1641 "name": "execute vrf2-id",
1642 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf2-id\"/>\n",
1645 "x": 806.3333740234375,
1646 "y": 666.3333129882812,
1647 "z": "f29dedb6.fec708",
1655 "id": "aa4153ec.2a7508",
1658 "xml": "<outcome value='failure'>\n",
1661 "x": 1031.3333740234375,
1662 "y": 669.3332824707031,
1663 "z": "f29dedb6.fec708",
1671 "id": "d4cb6331.d1fce8",
1674 "xml": "<outcome value='failure'>\n",
1678 "y": 610.9999694824219,
1679 "z": "f29dedb6.fec708",
1687 "id": "34c6dafd.7466b6",
1688 "type": "returnFailure",
1689 "name": "return failure",
1690 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1693 "y": 608.9999694824219,
1694 "z": "f29dedb6.fec708",
1698 "id": "4a3bd02b.dd7f6",
1699 "type": "returnFailure",
1700 "name": "return failure",
1701 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1703 "x": 1212.3333740234375,
1704 "y": 667.3332824707031,
1705 "z": "f29dedb6.fec708",
1709 "id": "97e69226.8d874",
1711 "name": "block : atomic",
1712 "xml": "<block atomic=\"true\">\n",
1718 "z": "f29dedb6.fec708",
1728 "id": "29a0e3d5.f4d32c",
1730 "name": "execute RestApiCallNode IPWAN Site Config",
1731 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
1736 "z": "f29dedb6.fec708",
1742 "id": "c946ab83.d974f8",
1744 "name": "execute RestApiCallNode IPWAN VRF Config",
1745 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
1750 "z": "f29dedb6.fec708",
1756 "id": "b220812e.109778",
1759 "xml": "<outcome value='failure'>\n",
1764 "z": "f29dedb6.fec708",
1772 "id": "c61ec37b.6cd3b8",
1773 "type": "returnFailure",
1774 "name": "return failure",
1775 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1779 "z": "f29dedb6.fec708",
1783 "id": "ff5e6e80.75b3d",
1786 "xml": "<outcome value='failure'>\n",
1791 "z": "f29dedb6.fec708",
1799 "id": "73eb8615.8d24d8",
1800 "type": "returnFailure",
1801 "name": "return failure",
1802 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1806 "z": "f29dedb6.fec708",
1810 "id": "351eda30.07db16",
1813 "xml": "<outcome value='success'>\n",
1818 "z": "f29dedb6.fec708",
1826 "id": "b6c5cd5f.5be15",
1829 "xml": "<outcome value='success'>\n",
1834 "z": "f29dedb6.fec708",
1842 "id": "581ab8c9.51da4",
1844 "name": "set route1 ip-prefix next-hop",
1845 "xml": "<set>\n<parameter name='prop.l3vpn.sna1-route.ip-prefix' value='`$route1[0]`' />\n<parameter name='prop.l3vpn.sna1-route.next-hop' value='`$route1[1]`' />\n",
1849 "z": "f29dedb6.fec708",
1853 "id": "f0e238af.ae0bf8",
1855 "name": "set route2 ip-prefix next-hop",
1856 "xml": "<set>\n<parameter name='prop.l3vpn.sna2-route.ip-prefix' value='`$route2[0]`' />\n<parameter name='prop.l3vpn.sna2-route.next-hop' value='`$route2[1]`' />",
1860 "z": "f29dedb6.fec708",