Gitiles
Code Review
Sign In
gerrit.opencord.org
/
fpcagent
/
e1f23ac7d454a0ead44fe563e7546fa4baf34f35
/
.
/
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