Gitiles
Code Review
Sign In
gerrit.opencord.org
/
maas
/
52f2954a46636326bb24e1afc0c3233d8be7d016
/
.
/
roles
/
onos-fabric
/
files
/
bin
/
onos-cfg-post
blob: 328b8b08a1e4cc633afaa1b8ddb08a0945cd43cc [
file
] [
log
] [
blame
]
#!/bin/bash
cat $1
|
sed
-
e
's|//.*$||g'
-
e
'/^\s*$/d'
|
curl
-
slL
-
X POST
--
header
"Content-Type: application/json"
--
header
"Accept: application/json"
-
d
"@-"
"http://karaf:karaf@localhost:8181/onos/v1/network/configuration"