aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
diff options
context:
space:
mode:
authorBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
committerBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
commit5a41e5c15bdbfba0e84e89e13bb06d9930988e77 (patch)
tree72fa804d3fc3f1e286e3c8e1209309e97a3ff528 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
parent3b79de733187d2c1c9bccf626958a43bb06dbf2e (diff)
Generic resource API DG catch up
Generic resource API DG catch up with several new capabilities Change-Id: I6ba4a1716693a2fb0ba5314f60038277a50249a3 Issue-ID: SDNC-403 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com> Former-commit-id: dd97cf829ce1c0b3bbb0e98e93a2e6619d945beb
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json')
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json1447
1 files changed, 1446 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
index 5e78dbcc..64653519 100755
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
@@ -1 +1,1446 @@
-[{"id":"35266b9e.c1cf04","type":"dgstart","name":"DGSTART","outputs":1,"x":202.7777862548828,"y":205.27777099609375,"z":"b42bbd9e.9cab","wires":[["d8231d59.d0416"]]},{"id":"d8231d59.d0416","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","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}'>","outputs":1,"x":359.06349182128906,"y":279.51588439941406,"z":"b42bbd9e.9cab","wires":[["3b37cf29.2770b"]]},{"id":"3b37cf29.2770b","type":"method","name":"validate-contrail-route-input","xml":"<method rpc='validate-contrail-route-input' mode='sync'>\n","comments":"","outputs":1,"x":359.20641326904297,"y":341.27777099609375,"z":"b42bbd9e.9cab","wires":[["bb11dc2e.ba771"]]},{"id":"bb11dc2e.ba771","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":372.52783203125,"y":623.7212657928467,"z":"b42bbd9e.9cab","wires":[["aa4b4f9b.d66d5","a357d6d0.d1e828","d43473e3.39bf6","43b27b77.234ba4","dbabb342.08cce","c28b8276.ad796"]]},{"id":"aa4b4f9b.d66d5","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":707.5873565673828,"y":108.37305164337158,"z":"b42bbd9e.9cab","wires":[["3094a18d.2341ce"]]},{"id":"3094a18d.2341ce","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":937.3016417367116,"y":106.37304837363081,"z":"b42bbd9e.9cab","wires":[["3d7d8e8e.e7a2e2"]]},{"id":"3d7d8e8e.e7a2e2","type":"returnFailure","name":"return failure","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-request-id is a required input\" />\n","comments":"","x":1088.7302077157156,"y":106.37304646628218,"z":"b42bbd9e.9cab","wires":[]},{"id":"a357d6d0.d1e828","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":700.1586990356445,"y":64.94446277618408,"z":"b42bbd9e.9cab","wires":[["aa49fe92.cd19a"]]},{"id":"aa49fe92.cd19a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":935.8730621337891,"y":63.51587390899658,"z":"b42bbd9e.9cab","wires":[["8fc24fab.a40e7"]]},{"id":"8fc24fab.a40e7","type":"returnFailure","name":"return failure","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","comments":"","x":1085.8730354309082,"y":63.515883445739746,"z":"b42bbd9e.9cab","wires":[]},{"id":"d43473e3.39bf6","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":710.1587524414062,"y":157.23019981384277,"z":"b42bbd9e.9cab","wires":[["57e78919.ef0688","f69fee2.01a8c1","63c630c0.7b3d4","b809f5ff.bb3ad8"]]},{"id":"57e78919.ef0688","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":941.8730659484863,"y":256.08739280700684,"z":"b42bbd9e.9cab","wires":[["ca244a95.514758"]]},{"id":"ca244a95.514758","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required input\" />\n","comments":"","x":1113.3015060424805,"y":256.0873918533325,"z":"b42bbd9e.9cab","wires":[]},{"id":"89209f0f.b42ea","type":"comment","name":"validate-allotted-resource-input - CHANGELOG","info":"3/22: Initial release 2.0.0","comments":"","x":215.7777862548828,"y":109.27777099609375,"z":"b42bbd9e.9cab","wires":[]},{"id":"43b27b77.234ba4","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":604.1111145019531,"y":625.944411277771,"z":"b42bbd9e.9cab","wires":[["b241564a.80dee8","13332075.a90e5","5c11ee06.80d44","e1547517.5bdd98","4c19740c.db392c","897a0281.ce1ee"]]},{"id":"b241564a.80dee8","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":873.4921493530273,"y":464.8492374420166,"z":"b42bbd9e.9cab","wires":[["167db0e.a9d9b4f"]]},{"id":"13332075.a90e5","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":893.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["fa98c4a3.48c008"]]},{"id":"5c11ee06.80d44","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":900.7777557373047,"y":742.2778015136719,"z":"b42bbd9e.9cab","wires":[["e8ed620e.34218"]]},{"id":"167db0e.a9d9b4f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1030.7777862548828,"y":467.6111469268799,"z":"b42bbd9e.9cab","wires":[["9230ea14.806408"]]},{"id":"9230ea14.806408","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1237.4444198608398,"y":467.6111354827881,"z":"b42bbd9e.9cab","wires":[["61434823.60b248","2f5e13cc.428ddc"]]},{"id":"61434823.60b248","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1585.3015899658203,"y":394.7540102005005,"z":"b42bbd9e.9cab","wires":[["10dadd6a.d1a0d3"]]},{"id":"2f5e13cc.428ddc","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1524.7777671813965,"y":461.6111640930176,"z":"b42bbd9e.9cab","wires":[["d7368e17.11a7b"]]},{"id":"d7368e17.11a7b","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be CreateContrailRouteInstance for svc-action=assign\" />\n","comments":"","x":1672.1111106872559,"y":461.6111831665039,"z":"b42bbd9e.9cab","wires":[]},{"id":"fa98c4a3.48c008","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1067.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["39112fa6.850cd"]]},{"id":"39112fa6.850cd","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1284.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["a46c6029.9eecb","80369920.1e1528"]]},{"id":"a46c6029.9eecb","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1508.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[["87417d62.3c22"]]},{"id":"87417d62.3c22","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be CreateContrailRouteInstance for svc-action=activate\" />\n","comments":"","x":1677.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e8ed620e.34218","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1082.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["7f72c3c8.8a71dc"]]},{"id":"7f72c3c8.8a71dc","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1299.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["96b39e05.6b30d","baf7a6c3.22b2b8"]]},{"id":"96b39e05.6b30d","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1582.4442901611328,"y":740.6111879348755,"z":"b42bbd9e.9cab","wires":[["89e918a.16dc8e8"]]},{"id":"baf7a6c3.22b2b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1523.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[["e25c9a86.2130e8"]]},{"id":"e25c9a86.2130e8","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=deactivate\" />\n","comments":"","x":1692.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e1547517.5bdd98","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":881.7776184082031,"y":909.6111288070679,"z":"b42bbd9e.9cab","wires":[["25d3342e.bf055c"]]},{"id":"25d3342e.bf055c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1063.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["4096d7e5.754058"]]},{"id":"4096d7e5.754058","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1280.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["7977bc3b.695434","4cf8061.e28dff8"]]},{"id":"7977bc3b.695434","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1561.7775192260742,"y":906.6111688613892,"z":"b42bbd9e.9cab","wires":[["a46d071e.eae668"]]},{"id":"4cf8061.e28dff8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1504.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[["ebab16c5.c33a78"]]},{"id":"ebab16c5.c33a78","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=unassign\" />\n","comments":"","x":1673.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[]},{"id":"10dadd6a.d1a0d3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1831.3015403747559,"y":393.7539978027344,"z":"b42bbd9e.9cab","wires":[["8353a7c2.7d6ba8","3697eb9e.353964","4b1f2e92.74dfd","d06491a2.0b602","344f0df1.0efab2","6b07cbd7.0e7d04","e5f84df2.f1e94","2032eb88.550194","aa2cdb28.13b088"]]},{"id":"d15b9d66.afba","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1790.7777557373047,"y":653.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"89e918a.16dc8e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1836.7777557373047,"y":743.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"a46d071e.eae668","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1820.7776489257812,"y":907.6111516952515,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602"]]},{"id":"8353a7c2.7d6ba8","type":"switchNode","name":"switch source-network.network-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id`'>\n","comments":"","outputs":1,"x":2229.063278198242,"y":263.9920644760132,"z":"b42bbd9e.9cab","wires":[["aa3ce30.606892"]]},{"id":"aa3ce30.606892","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2455.063335418701,"y":262.1349468231201,"z":"b42bbd9e.9cab","wires":[["d5826697.16cc88"]]},{"id":"d5826697.16cc88","type":"returnFailure","name":"return failure","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id is a required input\" />\n","comments":"","x":2622.9203872680664,"y":262.1349210739136,"z":"b42bbd9e.9cab","wires":[]},{"id":"4b1f2e92.74dfd","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":2301.6351318359375,"y":190.27785205841064,"z":"b42bbd9e.9cab","wires":[["d1cbbe07.cc9e3"]]},{"id":"d1cbbe07.cc9e3","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2595.635040283203,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[["5ffa0f1.a317af"]]},{"id":"5ffa0f1.a317af","type":"returnFailure","name":"return failure","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=\"contrail-route-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2743.063507080078,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[]},{"id":"dbabb342.08cce","type":"returnSuccess","name":"return success","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","comments":"","x":666.2777404785156,"y":1056.7777633666992,"z":"b42bbd9e.9cab","wires":[]},{"id":"93757aef.15f468","type":"comment","name":"validate service-information.onap-model-information.model0uuid is in service table","info":"","comments":"","x":2369.496368408203,"y":484.91669940948486,"z":"b42bbd9e.9cab","wires":[]},{"id":"3697eb9e.353964","type":"get-resource","name":"get-resource AR_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from ALLOTTED_RESOURCE_MODEL WHERE customization_uuid = $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":2202.413101196289,"y":527.6428871154785,"z":"b42bbd9e.9cab","wires":[["81c17c72.98f07","5ee9c459.84ea3c"]]},{"id":"fe930095.bdfb1","type":"returnFailure","name":"return failure","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=\"`'No allotted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":2659.4962844848633,"y":508.3094844818115,"z":"b42bbd9e.9cab","wires":[]},{"id":"81c17c72.98f07","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2460.746364593506,"y":503.6667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"5ee9c459.84ea3c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2454.496364593506,"y":536.1667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"f69fee2.01a8c1","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1005.8254241943359,"y":142.8968276977539,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"63c630c0.7b3d4","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1006.1110687255859,"y":180.32544708251953,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"b809f5ff.bb3ad8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":945.6825752258301,"y":296.468297958374,"z":"b42bbd9e.9cab","wires":[["30198bb7.e55ef4"]]},{"id":"30198bb7.e55ef4","type":"returnFailure","name":"return failure","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=\"Invalid request-information.request-action \" />\n","comments":"","x":1117.1109809875488,"y":297.4683132171631,"z":"b42bbd9e.9cab","wires":[]},{"id":"c28b8276.ad796","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":707.2063446044922,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[["9b3d73ec.0eef6"]]},{"id":"9b3d73ec.0eef6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":923.6349334716797,"y":338.1349639892578,"z":"b42bbd9e.9cab","wires":[["64812692.977708"]]},{"id":"64812692.977708","type":"returnFailure","name":"return failure","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=\"service-information.service-instance-id is a required input\" />\n","comments":"","x":1082.063461303711,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[]},{"id":"4c19740c.db392c","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":880.5555000305176,"y":550.1851797103882,"z":"b42bbd9e.9cab","wires":[["81ff7e79.12005"]]},{"id":"81ff7e79.12005","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1041.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["87874560.8aa258"]]},{"id":"87874560.8aa258","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1261.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["90eb84df.b09858","c5d024ea.750c08"]]},{"id":"90eb84df.b09858","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1518.5079936981201,"y":553.6138019561768,"z":"b42bbd9e.9cab","wires":[["cddf826d.b9fc1"]]},{"id":"cddf826d.b9fc1","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be CreateNetworkInstance for svc-action=create\" />\n","comments":"","x":1684.1744995117188,"y":553.61376953125,"z":"b42bbd9e.9cab","wires":[]},{"id":"c5d024ea.750c08","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1590.555419921875,"y":518.5184936523438,"z":"b42bbd9e.9cab","wires":[["b77bfd7b.7219"]]},{"id":"b77bfd7b.7219","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1826.555419921875,"y":517.5184936523438,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"80369920.1e1528","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1575.555419921875,"y":653.5184936523438,"z":"b42bbd9e.9cab","wires":[["d15b9d66.afba"]]},{"id":"897a0281.ce1ee","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":893.8888702392578,"y":826.8517656326294,"z":"b42bbd9e.9cab","wires":[["f3f463d2.77152"]]},{"id":"f3f463d2.77152","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1075.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["62f5a00e.aa5da"]]},{"id":"62f5a00e.aa5da","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1292.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["63c7e61e.93d818","1d99e0e.0795e1f"]]},{"id":"63c7e61e.93d818","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1573.888771057129,"y":823.8518056869507,"z":"b42bbd9e.9cab","wires":[["59164fba.8b1df"]]},{"id":"1d99e0e.0795e1f","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1516.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[["bad4ddd2.41bde"]]},{"id":"bad4ddd2.41bde","type":"returnFailure","name":"return failure","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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=delete\" />\n","comments":"","x":1685.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[]},{"id":"59164fba.8b1df","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1832.888900756836,"y":824.851788520813,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"f0bb52f0.17e47","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1222.2221794128418,"y":174.22221088409424,"z":"b42bbd9e.9cab","wires":[[]]},{"id":"d06491a2.0b602","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":2203.5715942382812,"y":37.81745147705078,"z":"b42bbd9e.9cab","wires":[["6091bbb5.92fcb4"]]},{"id":"6091bbb5.92fcb4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2404.107276916504,"y":36.38887977600098,"z":"b42bbd9e.9cab","wires":[["ab33d03a.508ae"]]},{"id":"ab33d03a.508ae","type":"returnFailure","name":"return failure","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=\"allotted-resource-information.allotted-resource-id is a required input\" />\n","comments":"","x":2555.535743713379,"y":35.38887977600098,"z":"b42bbd9e.9cab","wires":[]},{"id":"344f0df1.0efab2","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":2210.0001373291016,"y":73.01586723327637,"z":"b42bbd9e.9cab","wires":[["a58be7c1.0caec8"]]},{"id":"a58be7c1.0caec8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2410.5356826782227,"y":71.5872974395752,"z":"b42bbd9e.9cab","wires":[["fcfba520.ba2978"]]},{"id":"fcfba520.ba2978","type":"returnFailure","name":"return failure","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=\"allotted-resource-information.allotted-resource-type is a required input\" />\n","comments":"","x":2561.9641494750977,"y":70.5872974395752,"z":"b42bbd9e.9cab","wires":[]},{"id":"6b07cbd7.0e7d04","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":2222.8573837280273,"y":108.73015213012695,"z":"b42bbd9e.9cab","wires":[["b1db037c.92b1"]]},{"id":"b1db037c.92b1","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2438.571533203125,"y":105.87300872802734,"z":"b42bbd9e.9cab","wires":[["9de46686.383798"]]},{"id":"9de46686.383798","type":"returnFailure","name":"return failure","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=\"allotted-resource-information.parent-service-instance-id is a required input\" />\n","comments":"","x":2590,"y":104.87300872802734,"z":"b42bbd9e.9cab","wires":[]},{"id":"e5f84df2.f1e94","type":"switchNode","name":"switch source-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role`'>\n","comments":"","outputs":1,"x":2232.5394897460938,"y":303.5872793197632,"z":"b42bbd9e.9cab","wires":[["b6f894c7.bdf1d8"]]},{"id":"b6f894c7.bdf1d8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.396903991699,"y":298.3015818595886,"z":"b42bbd9e.9cab","wires":[["d18a5c04.9d4c5"]]},{"id":"d18a5c04.9d4c5","type":"returnFailure","name":"return failure","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role is a required input\" />\n","comments":"","x":2626.3970489501953,"y":298.3015422821045,"z":"b42bbd9e.9cab","wires":[]},{"id":"2032eb88.550194","type":"switchNode","name":"switch dest-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.dest-network.network-role`'>\n","comments":"","outputs":1,"x":2226.4446754455566,"y":336.46821308135986,"z":"b42bbd9e.9cab","wires":[["96119098.5cd1d"]]},{"id":"96119098.5cd1d","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.4448280334473,"y":336.46821689605713,"z":"b42bbd9e.9cab","wires":[["c91e6a99.23dd98"]]},{"id":"c91e6a99.23dd98","type":"returnFailure","name":"return failure","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=\"contrail-topology-operation-input.contrail-route-request-input.dest-network.network-role is a required input\" />\n","comments":"","x":2627.8732948303223,"y":336.468186378479,"z":"b42bbd9e.9cab","wires":[]},{"id":"aa2cdb28.13b088","type":"switchNode","name":"switch contrail-applied-service-information.service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id`'>\n","comments":"","outputs":1,"x":2311.111152648926,"y":401.58727073669434,"z":"b42bbd9e.9cab","wires":[["3cf17aee.5329a6"]]},{"id":"3cf17aee.5329a6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2623.2542304992676,"y":401.3015937805176,"z":"b42bbd9e.9cab","wires":[["ed461440.88de78"]]},{"id":"ed461440.88de78","type":"returnFailure","name":"return failure","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=\"contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id is a required input\" />\n","comments":"","x":2778.254253387451,"y":401.5872268676758,"z":"b42bbd9e.9cab","wires":[]}]
+[
+ {
+ "id": "35266b9e.c1cf04",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 202.7777862548828,
+ "y": 205.27777099609375,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d8231d59.d0416"
+ ]
+ ]
+ },
+ {
+ "id": "d8231d59.d0416",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "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}'>",
+ "outputs": 1,
+ "x": 359.06349182128906,
+ "y": 279.51588439941406,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "3b37cf29.2770b"
+ ]
+ ]
+ },
+ {
+ "id": "3b37cf29.2770b",
+ "type": "method",
+ "name": "validate-contrail-route-input",
+ "xml": "<method rpc='validate-contrail-route-input' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 359.20641326904297,
+ "y": 341.27777099609375,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "bb11dc2e.ba771"
+ ]
+ ]
+ },
+ {
+ "id": "bb11dc2e.ba771",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 372.52783203125,
+ "y": 623.7212657928467,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "aa4b4f9b.d66d5",
+ "a357d6d0.d1e828",
+ "d43473e3.39bf6",
+ "43b27b77.234ba4",
+ "dbabb342.08cce",
+ "c28b8276.ad796"
+ ]
+ ]
+ },
+ {
+ "id": "aa4b4f9b.d66d5",
+ "type": "switchNode",
+ "name": "switch svc-request-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.5873565673828,
+ "y": 108.37305164337158,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "3094a18d.2341ce"
+ ]
+ ]
+ },
+ {
+ "id": "3094a18d.2341ce",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 937.3016417367116,
+ "y": 106.37304837363081,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "3d7d8e8e.e7a2e2"
+ ]
+ ]
+ },
+ {
+ "id": "3d7d8e8e.e7a2e2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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-request-id is a required input\" />\n",
+ "comments": "",
+ "x": 1088.7302077157156,
+ "y": 106.37304646628218,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "a357d6d0.d1e828",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.1586990356445,
+ "y": 64.94446277618408,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "aa49fe92.cd19a"
+ ]
+ ]
+ },
+ {
+ "id": "aa49fe92.cd19a",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.8730621337891,
+ "y": 63.51587390899658,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "8fc24fab.a40e7"
+ ]
+ ]
+ },
+ {
+ "id": "8fc24fab.a40e7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 1085.8730354309082,
+ "y": 63.515883445739746,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "d43473e3.39bf6",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 710.1587524414062,
+ "y": 157.23019981384277,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "57e78919.ef0688",
+ "f69fee2.01a8c1",
+ "63c630c0.7b3d4",
+ "b809f5ff.bb3ad8"
+ ]
+ ]
+ },
+ {
+ "id": "57e78919.ef0688",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 941.8730659484863,
+ "y": 256.08739280700684,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "ca244a95.514758"
+ ]
+ ]
+ },
+ {
+ "id": "ca244a95.514758",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required input\" />\n",
+ "comments": "",
+ "x": 1113.3015060424805,
+ "y": 256.0873918533325,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "89209f0f.b42ea",
+ "type": "comment",
+ "name": "validate-alloted-resource-input - CHANGELOG",
+ "info": "3/22: Initial release 2.0.0",
+ "comments": "",
+ "x": 215.7777862548828,
+ "y": 109.27777099609375,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "43b27b77.234ba4",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 604.1111145019531,
+ "y": 625.944411277771,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "b241564a.80dee8",
+ "13332075.a90e5",
+ "5c11ee06.80d44",
+ "e1547517.5bdd98",
+ "4c19740c.db392c",
+ "897a0281.ce1ee"
+ ]
+ ]
+ },
+ {
+ "id": "b241564a.80dee8",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 873.4921493530273,
+ "y": 464.8492374420166,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "167db0e.a9d9b4f"
+ ]
+ ]
+ },
+ {
+ "id": "13332075.a90e5",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.7777557373047,
+ "y": 652.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "fa98c4a3.48c008"
+ ]
+ ]
+ },
+ {
+ "id": "5c11ee06.80d44",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.7777557373047,
+ "y": 742.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "e8ed620e.34218"
+ ]
+ ]
+ },
+ {
+ "id": "167db0e.a9d9b4f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.7777862548828,
+ "y": 467.6111469268799,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "9230ea14.806408"
+ ]
+ ]
+ },
+ {
+ "id": "9230ea14.806408",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1237.4444198608398,
+ "y": 467.6111354827881,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "61434823.60b248",
+ "2f5e13cc.428ddc"
+ ]
+ ]
+ },
+ {
+ "id": "61434823.60b248",
+ "type": "other",
+ "name": "CreateContrailRouteInstance",
+ "xml": "<outcome value='CreateContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585.3015899658203,
+ "y": 394.7540102005005,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "10dadd6a.d1a0d3"
+ ]
+ ]
+ },
+ {
+ "id": "2f5e13cc.428ddc",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.7777671813965,
+ "y": 461.6111640930176,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d7368e17.11a7b"
+ ]
+ ]
+ },
+ {
+ "id": "d7368e17.11a7b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be CreateContrailRouteInstance for svc-action=assign\" />\n",
+ "comments": "",
+ "x": 1672.1111106872559,
+ "y": 461.6111831665039,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "fa98c4a3.48c008",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1067.7777557373047,
+ "y": 652.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "39112fa6.850cd"
+ ]
+ ]
+ },
+ {
+ "id": "39112fa6.850cd",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.7777557373047,
+ "y": 652.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "a46c6029.9eecb",
+ "80369920.1e1528"
+ ]
+ ]
+ },
+ {
+ "id": "a46c6029.9eecb",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1508.7777557373047,
+ "y": 693.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "87417d62.3c22"
+ ]
+ ]
+ },
+ {
+ "id": "87417d62.3c22",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be CreateContrailRouteInstance for svc-action=activate\" />\n",
+ "comments": "",
+ "x": 1677.7777557373047,
+ "y": 693.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "e8ed620e.34218",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1082.7777557373047,
+ "y": 741.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "7f72c3c8.8a71dc"
+ ]
+ ]
+ },
+ {
+ "id": "7f72c3c8.8a71dc",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1299.7777557373047,
+ "y": 741.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "96b39e05.6b30d",
+ "baf7a6c3.22b2b8"
+ ]
+ ]
+ },
+ {
+ "id": "96b39e05.6b30d",
+ "type": "other",
+ "name": "DeleteContrailRouteInstance",
+ "xml": "<outcome value='DeleteContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.4442901611328,
+ "y": 740.6111879348755,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "89e918a.16dc8e8"
+ ]
+ ]
+ },
+ {
+ "id": "baf7a6c3.22b2b8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.7777557373047,
+ "y": 782.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "e25c9a86.2130e8"
+ ]
+ ]
+ },
+ {
+ "id": "e25c9a86.2130e8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=deactivate\" />\n",
+ "comments": "",
+ "x": 1692.7777557373047,
+ "y": 782.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "e1547517.5bdd98",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 881.7776184082031,
+ "y": 909.6111288070679,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "25d3342e.bf055c"
+ ]
+ ]
+ },
+ {
+ "id": "25d3342e.bf055c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1063.7776489257812,
+ "y": 905.6111516952515,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "4096d7e5.754058"
+ ]
+ ]
+ },
+ {
+ "id": "4096d7e5.754058",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.7776489257812,
+ "y": 905.6111516952515,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "7977bc3b.695434",
+ "4cf8061.e28dff8"
+ ]
+ ]
+ },
+ {
+ "id": "7977bc3b.695434",
+ "type": "other",
+ "name": "DeleteContrailRouteInstance",
+ "xml": "<outcome value='DeleteContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.7775192260742,
+ "y": 906.6111688613892,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "a46d071e.eae668"
+ ]
+ ]
+ },
+ {
+ "id": "4cf8061.e28dff8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.7776489257812,
+ "y": 946.6111516952515,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "ebab16c5.c33a78"
+ ]
+ ]
+ },
+ {
+ "id": "ebab16c5.c33a78",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=unassign\" />\n",
+ "comments": "",
+ "x": 1673.7776489257812,
+ "y": 946.6111516952515,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "10dadd6a.d1a0d3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1831.3015403747559,
+ "y": 393.7539978027344,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "8353a7c2.7d6ba8",
+ "3697eb9e.353964",
+ "4b1f2e92.74dfd",
+ "d06491a2.0b602",
+ "344f0df1.0efab2",
+ "6b07cbd7.0e7d04",
+ "e5f84df2.f1e94",
+ "2032eb88.550194",
+ "aa2cdb28.13b088"
+ ]
+ ]
+ },
+ {
+ "id": "d15b9d66.afba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1790.7777557373047,
+ "y": 653.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d06491a2.0b602",
+ "6b07cbd7.0e7d04"
+ ]
+ ]
+ },
+ {
+ "id": "89e918a.16dc8e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1836.7777557373047,
+ "y": 743.2778015136719,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d06491a2.0b602",
+ "6b07cbd7.0e7d04"
+ ]
+ ]
+ },
+ {
+ "id": "a46d071e.eae668",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1820.7776489257812,
+ "y": 907.6111516952515,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d06491a2.0b602"
+ ]
+ ]
+ },
+ {
+ "id": "8353a7c2.7d6ba8",
+ "type": "switchNode",
+ "name": "switch source-network.network-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2229.063278198242,
+ "y": 263.9920644760132,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "aa3ce30.606892"
+ ]
+ ]
+ },
+ {
+ "id": "aa3ce30.606892",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2455.063335418701,
+ "y": 262.1349468231201,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d5826697.16cc88"
+ ]
+ ]
+ },
+ {
+ "id": "d5826697.16cc88",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id is a required input\" />\n",
+ "comments": "",
+ "x": 2622.9203872680664,
+ "y": 262.1349210739136,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "4b1f2e92.74dfd",
+ "type": "switchNode",
+ "name": "switch onap-model-information.model-customization-uuid",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2301.6351318359375,
+ "y": 190.27785205841064,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d1cbbe07.cc9e3"
+ ]
+ ]
+ },
+ {
+ "id": "d1cbbe07.cc9e3",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2595.635040283203,
+ "y": 191.27779293060303,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "5ffa0f1.a317af"
+ ]
+ ]
+ },
+ {
+ "id": "5ffa0f1.a317af",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"contrail-route-information.onap-model-information.model-customization-uuid is a required input\" />\n",
+ "comments": "",
+ "x": 2743.063507080078,
+ "y": 191.27779293060303,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "dbabb342.08cce",
+ "type": "returnSuccess",
+ "name": "return success",
+ "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",
+ "comments": "",
+ "x": 666.2777404785156,
+ "y": 1056.7777633666992,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "93757aef.15f468",
+ "type": "comment",
+ "name": "validate service-information.onap-model-information.model0uuid is in service table",
+ "info": "",
+ "comments": "",
+ "x": 2369.496368408203,
+ "y": 484.91669940948486,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "3697eb9e.353964",
+ "type": "get-resource",
+ "name": "get-resource AR_MODEL",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from ALLOTTED_RESOURCE_MODEL WHERE customization_uuid = $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2202.413101196289,
+ "y": 527.6428871154785,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "81c17c72.98f07",
+ "5ee9c459.84ea3c"
+ ]
+ ]
+ },
+ {
+ "id": "fe930095.bdfb1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"`'No alloted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n",
+ "comments": "",
+ "x": 2659.4962844848633,
+ "y": 508.3094844818115,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "81c17c72.98f07",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2460.746364593506,
+ "y": 503.6667003631592,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "fe930095.bdfb1"
+ ]
+ ]
+ },
+ {
+ "id": "5ee9c459.84ea3c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2454.496364593506,
+ "y": 536.1667003631592,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "fe930095.bdfb1"
+ ]
+ ]
+ },
+ {
+ "id": "f69fee2.01a8c1",
+ "type": "other",
+ "name": "CreateContrailRouteInstance",
+ "xml": "<outcome value='CreateContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1005.8254241943359,
+ "y": 142.8968276977539,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "f0bb52f0.17e47"
+ ]
+ ]
+ },
+ {
+ "id": "63c630c0.7b3d4",
+ "type": "other",
+ "name": "DeleteContrailRouteInstance",
+ "xml": "<outcome value='DeleteContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.1110687255859,
+ "y": 180.32544708251953,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "f0bb52f0.17e47"
+ ]
+ ]
+ },
+ {
+ "id": "b809f5ff.bb3ad8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 945.6825752258301,
+ "y": 296.468297958374,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "30198bb7.e55ef4"
+ ]
+ ]
+ },
+ {
+ "id": "30198bb7.e55ef4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"Invalid request-information.request-action \" />\n",
+ "comments": "",
+ "x": 1117.1109809875488,
+ "y": 297.4683132171631,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "c28b8276.ad796",
+ "type": "switchNode",
+ "name": "switch service-instance-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.service-information.service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.2063446044922,
+ "y": 337.1349639892578,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "9b3d73ec.0eef6"
+ ]
+ ]
+ },
+ {
+ "id": "9b3d73ec.0eef6",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 923.6349334716797,
+ "y": 338.1349639892578,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "64812692.977708"
+ ]
+ ]
+ },
+ {
+ "id": "64812692.977708",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"service-information.service-instance-id is a required input\" />\n",
+ "comments": "",
+ "x": 1082.063461303711,
+ "y": 337.1349639892578,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "4c19740c.db392c",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.5555000305176,
+ "y": 550.1851797103882,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "81ff7e79.12005"
+ ]
+ ]
+ },
+ {
+ "id": "81ff7e79.12005",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041.1744995117188,
+ "y": 549.6137495040894,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "87874560.8aa258"
+ ]
+ ]
+ },
+ {
+ "id": "87874560.8aa258",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1261.1744995117188,
+ "y": 549.6137495040894,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "90eb84df.b09858",
+ "c5d024ea.750c08"
+ ]
+ ]
+ },
+ {
+ "id": "90eb84df.b09858",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.5079936981201,
+ "y": 553.6138019561768,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "cddf826d.b9fc1"
+ ]
+ ]
+ },
+ {
+ "id": "cddf826d.b9fc1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be CreateNetworkInstance for svc-action=create\" />\n",
+ "comments": "",
+ "x": 1684.1744995117188,
+ "y": 553.61376953125,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "c5d024ea.750c08",
+ "type": "other",
+ "name": "CreateContrailRouteInstance",
+ "xml": "<outcome value='CreateContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1590.555419921875,
+ "y": 518.5184936523438,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "b77bfd7b.7219"
+ ]
+ ]
+ },
+ {
+ "id": "b77bfd7b.7219",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1826.555419921875,
+ "y": 517.5184936523438,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d06491a2.0b602",
+ "6b07cbd7.0e7d04"
+ ]
+ ]
+ },
+ {
+ "id": "80369920.1e1528",
+ "type": "other",
+ "name": "CreateContrailRouteInstance",
+ "xml": "<outcome value='CreateContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1575.555419921875,
+ "y": 653.5184936523438,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d15b9d66.afba"
+ ]
+ ]
+ },
+ {
+ "id": "897a0281.ce1ee",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.8888702392578,
+ "y": 826.8517656326294,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "f3f463d2.77152"
+ ]
+ ]
+ },
+ {
+ "id": "f3f463d2.77152",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1075.888900756836,
+ "y": 822.851788520813,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "62f5a00e.aa5da"
+ ]
+ ]
+ },
+ {
+ "id": "62f5a00e.aa5da",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.888900756836,
+ "y": 822.851788520813,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "63c7e61e.93d818",
+ "1d99e0e.0795e1f"
+ ]
+ ]
+ },
+ {
+ "id": "63c7e61e.93d818",
+ "type": "other",
+ "name": "DeleteContrailRouteInstance",
+ "xml": "<outcome value='DeleteContrailRouteInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1573.888771057129,
+ "y": 823.8518056869507,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "59164fba.8b1df"
+ ]
+ ]
+ },
+ {
+ "id": "1d99e0e.0795e1f",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.888900756836,
+ "y": 863.851788520813,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "bad4ddd2.41bde"
+ ]
+ ]
+ },
+ {
+ "id": "bad4ddd2.41bde",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"request-information.request-action is a required to be DeleteContrailRouteInstance for svc-action=delete\" />\n",
+ "comments": "",
+ "x": 1685.888900756836,
+ "y": 863.851788520813,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "59164fba.8b1df",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.888900756836,
+ "y": 824.851788520813,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d06491a2.0b602",
+ "6b07cbd7.0e7d04"
+ ]
+ ]
+ },
+ {
+ "id": "f0bb52f0.17e47",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.2221794128418,
+ "y": 174.22221088409424,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d06491a2.0b602",
+ "type": "switchNode",
+ "name": "switch allotted-resource-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2203.5715942382812,
+ "y": 37.81745147705078,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "6091bbb5.92fcb4"
+ ]
+ ]
+ },
+ {
+ "id": "6091bbb5.92fcb4",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2404.107276916504,
+ "y": 36.38887977600098,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "ab33d03a.508ae"
+ ]
+ ]
+ },
+ {
+ "id": "ab33d03a.508ae",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"allotted-resource-information.allotted-resource-id is a required input\" />\n",
+ "comments": "",
+ "x": 2555.535743713379,
+ "y": 35.38887977600098,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "344f0df1.0efab2",
+ "type": "switchNode",
+ "name": "switch allotted-resource-type",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2210.0001373291016,
+ "y": 73.01586723327637,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "a58be7c1.0caec8"
+ ]
+ ]
+ },
+ {
+ "id": "a58be7c1.0caec8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2410.5356826782227,
+ "y": 71.5872974395752,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "fcfba520.ba2978"
+ ]
+ ]
+ },
+ {
+ "id": "fcfba520.ba2978",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"allotted-resource-information.allotted-resource-type is a required input\" />\n",
+ "comments": "",
+ "x": 2561.9641494750977,
+ "y": 70.5872974395752,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "6b07cbd7.0e7d04",
+ "type": "switchNode",
+ "name": "switch parent-service-instance-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2222.8573837280273,
+ "y": 108.73015213012695,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "b1db037c.92b1"
+ ]
+ ]
+ },
+ {
+ "id": "b1db037c.92b1",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2438.571533203125,
+ "y": 105.87300872802734,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "9de46686.383798"
+ ]
+ ]
+ },
+ {
+ "id": "9de46686.383798",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"allotted-resource-information.parent-service-instance-id is a required input\" />\n",
+ "comments": "",
+ "x": 2590,
+ "y": 104.87300872802734,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "e5f84df2.f1e94",
+ "type": "switchNode",
+ "name": "switch source-network.network-role",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.5394897460938,
+ "y": 303.5872793197632,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "b6f894c7.bdf1d8"
+ ]
+ ]
+ },
+ {
+ "id": "b6f894c7.bdf1d8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2461.396903991699,
+ "y": 298.3015818595886,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "d18a5c04.9d4c5"
+ ]
+ ]
+ },
+ {
+ "id": "d18a5c04.9d4c5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role is a required input\" />\n",
+ "comments": "",
+ "x": 2626.3970489501953,
+ "y": 298.3015422821045,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "2032eb88.550194",
+ "type": "switchNode",
+ "name": "switch dest-network.network-role",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.dest-network.network-role`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.4446754455566,
+ "y": 336.46821308135986,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "96119098.5cd1d"
+ ]
+ ]
+ },
+ {
+ "id": "96119098.5cd1d",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2461.4448280334473,
+ "y": 336.46821689605713,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "c91e6a99.23dd98"
+ ]
+ ]
+ },
+ {
+ "id": "c91e6a99.23dd98",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"contrail-topology-operation-input.contrail-route-request-input.dest-network.network-role is a required input\" />\n",
+ "comments": "",
+ "x": 2627.8732948303223,
+ "y": 336.468186378479,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ },
+ {
+ "id": "aa2cdb28.13b088",
+ "type": "switchNode",
+ "name": "switch contrail-applied-service-information.service-instance-id",
+ "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2311.111152648926,
+ "y": 401.58727073669434,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "3cf17aee.5329a6"
+ ]
+ ]
+ },
+ {
+ "id": "3cf17aee.5329a6",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2623.2542304992676,
+ "y": 401.3015937805176,
+ "z": "b42bbd9e.9cab",
+ "wires": [
+ [
+ "ed461440.88de78"
+ ]
+ ]
+ },
+ {
+ "id": "ed461440.88de78",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id is a required input\" />\n",
+ "comments": "",
+ "x": 2778.254253387451,
+ "y": 401.5872268676758,
+ "z": "b42bbd9e.9cab",
+ "wires": []
+ }
+] \ No newline at end of file