diff options
Diffstat (limited to 'installation/sdnc/src/main/scripts/restoreMdsal.sh')
-rw-r--r-- | installation/sdnc/src/main/scripts/restoreMdsal.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/scripts/restoreMdsal.sh b/installation/sdnc/src/main/scripts/restoreMdsal.sh new file mode 100644 index 00000000..1f73d776 --- /dev/null +++ b/installation/sdnc/src/main/scripts/restoreMdsal.sh @@ -0,0 +1,11 @@ +#!/bin/bash +cat > /tmp/daexim-import.json <<-END +{ + "input" : { + "check-models" : true, + "clear-stores" : "all" + } +} +END + +curl -v -H "Content-Type: application/json" -X POST -uadmin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -d@/tmp/daexim-import.json http://localhost:8080/restconf/operations/data-export-import:immediate-import |