Committed by
Gerrit Code Review
netcfg CLI command:
Reintroduce flags to slience curl's status messages. Change-Id: Iac0cc9b37726528e4ef2d9dbd8bb26a0af05919e
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -10,6 +10,6 @@ node="${1:-$OCI}" | ... | @@ -10,6 +10,6 @@ node="${1:-$OCI}" |
10 | file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}" | 10 | file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}" |
11 | url="${3}" | 11 | url="${3}" |
12 | 12 | ||
13 | -curl --fail -L --user $ONOS_WEB_USER:$ONOS_WEB_PASS \ | 13 | +curl --fail -sSL --user $ONOS_WEB_USER:$ONOS_WEB_PASS \ |
14 | -X POST -H 'Content-Type:application/json' \ | 14 | -X POST -H 'Content-Type:application/json' \ |
15 | http://$node:8181/onos/v1/network/configuration/${url} -d@$file | 15 | http://$node:8181/onos/v1/network/configuration/${url} -d@$file | ... | ... |
-
Please register or login to post a comment