added multi-tenant support
diff --git a/scripts/deleteDPN.sh b/scripts/deleteDPN.sh
index 6633e47..41b7c7f 100755
--- a/scripts/deleteDPN.sh
+++ b/scripts/deleteDPN.sh
@@ -3,6 +3,10 @@
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
+elif [ "$#" -eq 2 ]; then
+ echo ""
+ curl -X DELETE -u onos:rocks 'http://localhost:8181/onos/restconf/data/ietf-dmm-fpcagent:tenants/tenant='$2'/fpc-topology/dpns='$1
+ ./getTenants.sh
else
- echo "usage: "$0" dpnId"
+ echo "usage: "$0" dpnId (tenantId)"
fi
\ No newline at end of file