blob: ecc4f1844d05dfa31cf44fd9ff68e5599b621514 [file] [log] [blame]
#!/bin/bash
if [ "$#" -eq 1 ]; then
echo ""
curl -i --header "Content-type: application/json" --request POST -u onos:rocks --data '{
"tenants": [
{
"fpc-mobility": {},
"fpc-policy": {},
"fpc-topology": {},
"tenant-id": "'$1'"
}
]
}' 'http://localhost:8181/onos/restconf/data/ietf-dmm-fpcagent'
echo ""
else
echo "usage: "$0" tenantId"
fi