Gitiles
Code Review
Sign In
gerrit.opencord.org
/
fpcagent
/
15405afd72ea027487aada8eb5862bcff2c12a0d
/
.
/
scripts
/
deleteDPN.sh
blob: 6633e47a7368ffd35bb4f089821f6f7a141f6775 [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
"$#"
-
eq
1
];
then
echo
""
curl
-
X DELETE
-
u onos
:
rocks
'http://localhost:8181/onos/restconf/data/ietf-dmm-fpcagent:tenants/tenant=default/fpc-topology/dpns='
$1
./
getTenants
.
sh
else
echo
"usage: "
$0
" dpnId"
fi