summaryrefslogtreecommitdiffstats
path: root/dgbuilder/red
diff options
context:
space:
mode:
authorChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:18:56 -0900
committerChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:21:54 -0900
commit4cc1e4b946aedcf6c34550d1903e9bd13e6e160b (patch)
tree4f3369f83f381734fb9aebc3ae9d8ed026c21c99 /dgbuilder/red
parent76825594b6c95cf09d5142c0f9384a5b2bf9721e (diff)
[SDNC-5] added yang upload
and added break node Change-Id: I8d36b5d400a51a6ebc248b100f04284cf27abcad Signed-off-by: Chinthakayala, Sheshashailavas <sc2914@att.com> Former-commit-id: ae6804f3c5805f78198b26de88ceb6dfa9bb335b
Diffstat (limited to 'dgbuilder/red')
-rw-r--r--dgbuilder/red/server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/dgbuilder/red/server.js b/dgbuilder/red/server.js
index 01a769e7..a5eb922d 100644
--- a/dgbuilder/red/server.js
+++ b/dgbuilder/red/server.js
@@ -1084,7 +1084,8 @@ function createServer(_server,_settings) {
var matchedArr = fileName.match(/.zip$/);
if(matchedArr != null && matchedArr.length >0){
console.log("uploaded zip file" + fileName);
- commandToExec = appDir + "/tools/generate_props_from_yangs_zip.sh " + yangFileFullPath ;
+ //commandToExec = appDir + "/tools/generate_props_from_yangs_zip.sh " + yangFileFullPath ;
+ commandToExec = appDir + "/tools/generate_props_from_yang.sh " + yangFileFullPath ;
}else{
commandToExec = appDir + "/tools/generate_props_from_yang.sh " + yangFileFullPath ;
console.log("uploaded file" + fileName);