summaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/multiple_dg_load.sh
diff options
context:
space:
mode:
authorSheshi Chinthakayala <sc2914@att.com>2017-10-25 17:53:03 -0500
committerSheshi Chinthakayala <sc2914@att.com>2017-10-25 17:55:49 -0500
commita2c2bd67323a35936d5f4ef9b3230e6c25e6a0c8 (patch)
tree3c1185e73476f390f9cc367fb36a5e7230931aa4 /dgbuilder/tools/multiple_dg_load.sh
parentba5d516045c3a9f27241d67a2a339a5cc4f23a7d (diff)
script to import multiple dgs
into the dgbuilder. The script appends the dgs to flows.json which is used by the dgbuilder. Issue-ID:CCSDK-130 Change-Id: Ide3842299832cf125b8129d268e6d8527ca4c5c6 Signed-off-by: Sheshi Chinthakayala <sc2914@att.com>
Diffstat (limited to 'dgbuilder/tools/multiple_dg_load.sh')
-rwxr-xr-xdgbuilder/tools/multiple_dg_load.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dgbuilder/tools/multiple_dg_load.sh b/dgbuilder/tools/multiple_dg_load.sh
new file mode 100755
index 00000000..ca743559
--- /dev/null
+++ b/dgbuilder/tools/multiple_dg_load.sh
@@ -0,0 +1,6 @@
+if [ "$#" != "2" ]
+then
+ echo "Usage:$0 full_path_to_flows.json full_path_to_the_files_directory"
+ exit
+fi
+node multiple_dg_load.js $1 $2