From c1ab97797f6a5b1a43da2f4ae8b2bee9fd194c7c Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Fri, 10 Nov 2017 05:57:13 +0000 Subject: Dev Tested with SO Worked through changes to pass VNF-API preload back to SO using VGW2BRG-macaddress as the vnf-name Issue-ID: SDNC-176 Change-Id: Icfceaf6acf0e256a4471e73146fe84774d427d7c Signed-off-by: Brian Freeman Former-commit-id: 6a02f96408ec1322549dca9c96629c883e2b1e19 --- .../src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json new file mode 100644 index 00000000..1d801927 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_gw-vfmodule-update.json @@ -0,0 +1 @@ +[{"id":"ff331a1b.1c488","type":"dgstart","name":"DGSTART","outputs":1,"x":171,"y":61,"z":"a2d41f5.f696b6","wires":[["b1e4068e.a8248"]]},{"id":"b1e4068e.a8248","type":"service-logic","name":"GENERIC-RESOURCE-API 1.2.0-SNAPSHOT-INT110901","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":267.2380790710449,"y":121.95239067077637,"z":"a2d41f5.f696b6","wires":[["446ed2d0.62eac4"]]},{"id":"446ed2d0.62eac4","type":"method","name":"gw-vfmodule","xml":"\n","comments":"","outputs":1,"x":151.15488815307617,"y":215.19043064117432,"z":"a2d41f5.f696b6","wires":[["472b6b38.991c9c"]]},{"id":"472b6b38.991c9c","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":267.9999809265137,"y":315.0000009536743,"z":"a2d41f5.f696b6","wires":[["37136d7b.9d869a","ef5050d6.256b6","eb0397a.74a27e8","d4b6b0db.1e149"]]},{"id":"8b408e80.6fa7a8","type":"execute","name":"generate vnf service-info url - vnf-d","xml":"\n \n \n \n \n\n","comments":"","outputs":1,"x":1614.7499389648438,"y":1510.0000762939453,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"af678515.3b6dc8","type":"execute","name":"execute RestApiCallNode - PUT service into service","xml":"\n \n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":1662.75,"y":1786.0001831054688,"z":"a2d41f5.f696b6","wires":[["91040b39.f22c2"]]},{"id":"61bfb216.427e1c","type":"execute","name":"generate vnf service-info url - service-instance-id","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":1660.2499389648438,"y":1467.2500762939453,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"e0830250.c2c27","type":"execute","name":"generate vnf service-info url - vf-module-id","xml":"\n \n \n \n \n\n","comments":"","outputs":1,"x":1638.9999389648438,"y":1551.0000762939453,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"30dc1fcc.9a851","type":"set","name":"set tmp.vgw.vg_mux_tunnel.vni","xml":"\n\n\n\n\n\n","comments":"","x":1602.7499389648438,"y":1602.2500762939453,"z":"a2d41f5.f696b6","wires":[]},{"id":"669eab32.da6dc4","type":"set","name":"set tmp.service.vnf.vf-module-id","xml":"\n\n","comments":"","x":1591.5,"y":1281.8333435058594,"z":"a2d41f5.f696b6","wires":[]},{"id":"13501960.e241ff","type":"set","name":"set tmp.service-data.vnf-information.vnf-id","xml":"\n\n\n","comments":"","x":1622.75,"y":1235.5834045410156,"z":"a2d41f5.f696b6","wires":[]},{"id":"447eb1b6.b6fa5","type":"set","name":"set tmp.service-data.service-information.service-instance-id","xml":"\n\n","comments":"","x":1657.7499084472656,"y":1183.0833129882812,"z":"a2d41f5.f696b6","wires":[]},{"id":"5f6db3a1.3f84a4","type":"set","name":"set tmp.service.vnf.vf-module-id","xml":"\n\n","comments":"","x":1587.75,"y":1321.8333435058594,"z":"a2d41f5.f696b6","wires":[]},{"id":"3f9b4d45.aeea12","type":"execute","name":"execute Propertis gen-res-api-dg","xml":"\n \n \n","comments":"","outputs":1,"x":1583.9999084472656,"y":1103.0833282470703,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"91040b39.f22c2","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1944,"y":1837.2501831054688,"z":"a2d41f5.f696b6","wires":[["72a0c285.aded84"]]},{"id":"72a0c285.aded84","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":2134,"y":1846.0001831054688,"z":"a2d41f5.f696b6","wires":[]},{"id":"37136d7b.9d869a","type":"set","name":"set VGW2BRG-fa:16:3e:8f:ea:68 & consuming service-instance","xml":"\n\n\n\n\n","comments":"","x":640.0000610351562,"y":312.08343505859375,"z":"a2d41f5.f696b6","wires":[]},{"id":"a257a1ad.5c67c8","type":"get-resource","name":"get-resource vnfs","xml":"\n","comments":"","outputs":1,"x":804.3055419921875,"y":658.7499694824219,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"2d739416.c7e85c","type":"for","name":"for tmp.vnfs","xml":"\n\n\n","comments":"","outputs":1,"x":798.1944580078125,"y":760.9723510742188,"z":"a2d41f5.f696b6","wires":[["1a3e1a43.0a466e"]]},{"id":"612e9f6e.18b6e","type":"switchNode","name":"switch parameter name","xml":"\n\n\n","comments":"","outputs":1,"x":1086.1942749023438,"y":776.361083984375,"z":"a2d41f5.f696b6","wires":[["e671abf7.bf0aa8"]]},{"id":"e671abf7.bf0aa8","type":"success","name":"true","xml":"\n","comments":"","outputs":1,"x":1244.91650390625,"y":922.5,"z":"a2d41f5.f696b6","wires":[["fd3690b6.c3232"]]},{"id":"fd3690b6.c3232","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1160,"y":1382.5,"z":"a2d41f5.f696b6","wires":[["5d3d78fd.9d7e18","3f9b4d45.aeea12","5f6db3a1.3f84a4","30dc1fcc.9a851","44a79ac4.bca8c4","86b5a8ca.a751d8","20051d0c.51867a","bd8cc978.6b6dc8","be425f83.ac7d28"]]},{"id":"4803c2a3.bb47e4","type":"comment","name":"vnfidx ","info":"","comments":"","x":1406.2499389648438,"y":796.2500305175781,"z":"a2d41f5.f696b6","wires":[]},{"id":"5d3d78fd.9d7e18","type":"for","name":"for each vnf parameter copy to vf_module_parameter","xml":"\n\n","comments":"","outputs":1,"x":1662.4999389648438,"y":991.25,"z":"a2d41f5.f696b6","wires":[["d1e7f1cd.6532f8"]]},{"id":"16294d67.941e83","type":"set","name":"set name/values","xml":"\n\n","comments":"","x":2125.1389770507812,"y":1093.4722595214844,"z":"a2d41f5.f696b6","wires":[]},{"id":"ef5050d6.256b6","type":"get-resource","name":"get-resource tunnelxcon-allotted-resources","xml":"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t","comments":"","outputs":1,"x":581.3635559082031,"y":411.8182067871094,"z":"a2d41f5.f696b6","wires":[["12d5ec8f.a479d3"]]},{"id":"1178542e.cb8f2c","type":"for","name":"for tmp.xconns.tunnelxconn-allotted-resoruces.tunnelxonn-alloted-resource[]","xml":"\n\n\n","comments":"","outputs":1,"x":1055.4544982910156,"y":450.9090576171875,"z":"a2d41f5.f696b6","wires":[["cd424057.0ab1f"]]},{"id":"fc7b6817.1b14e8","type":"switchNode","name":"switch parameter name","xml":"","comments":"","outputs":1,"x":1441,"y":582.7423706054688,"z":"a2d41f5.f696b6","wires":[["2cedbe9.a6657c2"]]},{"id":"2cedbe9.a6657c2","type":"success","name":"true","xml":"\n","comments":"","outputs":1,"x":1609.5,"y":653.060546875,"z":"a2d41f5.f696b6","wires":[["58ede03d.79aa"]]},{"id":"58ede03d.79aa","type":"set","name":"set thisIsVGW","xml":"\n\n","comments":"","x":1773.8182373046875,"y":701.5454711914062,"z":"a2d41f5.f696b6","wires":[]},{"id":"eb0397a.74a27e8","type":"set","name":"set thisIsVGW false","xml":"\n\n","comments":"","x":501.81817626953125,"y":361.81817626953125,"z":"a2d41f5.f696b6","wires":[]},{"id":"d4b6b0db.1e149","type":"switchNode","name":"switch thsIsVGW","xml":"\n","comments":"","outputs":1,"x":316.3636474609375,"y":486.36370849609375,"z":"a2d41f5.f696b6","wires":[["7aacca5d.2f0d54"]]},{"id":"7aacca5d.2f0d54","type":"other","name":"true","xml":"\n","comments":"","outputs":1,"x":339.09090909090907,"y":568.1818181818181,"z":"a2d41f5.f696b6","wires":[["40d2bdfb.c44124"]]},{"id":"40d2bdfb.c44124","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":520.6747436523438,"y":756.293701171875,"z":"a2d41f5.f696b6","wires":[["a257a1ad.5c67c8","2d739416.c7e85c"]]},{"id":"1a3e1a43.0a466e","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":876.666748046875,"y":811.1112060546875,"z":"a2d41f5.f696b6","wires":[["612e9f6e.18b6e","670614ea.aa072c"]]},{"id":"cd424057.0ab1f","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":1210,"y":514.4444580078125,"z":"a2d41f5.f696b6","wires":[["fc7b6817.1b14e8","14eaeaa.5e2e915"]]},{"id":"d1e7f1cd.6532f8","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":1922.9166259765625,"y":1055.6944885253906,"z":"a2d41f5.f696b6","wires":[["16294d67.941e83"]]},{"id":"12d5ec8f.a479d3","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":666.6666666666666,"y":462.22222222222223,"z":"a2d41f5.f696b6","wires":[["1178542e.cb8f2c"]]},{"id":"14eaeaa.5e2e915","type":"set","name":"set txconns.tunnelxconn-allotted-resources.tunnelxconn-alloted-resource[$txidx].allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.consuming-service-instance-id","xml":"\n\n","comments":"","x":1312,"y":153,"z":"a2d41f5.f696b6","wires":[]},{"id":"670614ea.aa072c","type":"set","name":"set test3","xml":"\n\n\n\n\n","comments":"","x":1038,"y":702,"z":"a2d41f5.f696b6","wires":[]},{"id":"44a79ac4.bca8c4","type":"set","name":"set length of for endLoop1","xml":"\n","comments":"","x":1505,"y":910,"z":"a2d41f5.f696b6","wires":[]},{"id":"86b5a8ca.a751d8","type":"set","name":"set vf-module-object-path","xml":"\n\n","comments":"","x":1512.5,"y":1382.5,"z":"a2d41f5.f696b6","wires":[]},{"id":"20051d0c.51867a","type":"set","name":"copy vf-module-parameters","xml":"\n\n","comments":"","x":1548.75,"y":1684.5,"z":"a2d41f5.f696b6","wires":[]},{"id":"bd8cc978.6b6dc8","type":"execute","name":"execute print context","xml":"\n\n","comments":"","outputs":1,"x":1485,"y":1740,"z":"a2d41f5.f696b6","wires":[[]]},{"id":"be425f83.ac7d28","type":"set","name":"set _length","xml":"\n\n","comments":"","x":1528.7501220703125,"y":1046.25,"z":"a2d41f5.f696b6","wires":[]}] -- cgit 1.2.3-korg