aboutsummaryrefslogtreecommitdiffstats
path: root/installation/sdnc/src/main/scripts/restoreMdsal.sh
blob: 2bfd9769e43956bad8003d6385630858bb67d869 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
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