Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
8382
Description
email thread here:
https://lists.opendaylight.org/pipermail/aaa-dev/2017-May/001352.html
the create is allowing us to pass domainid when creating a domain, but
that id would not be used anyway as it appears to be the same as the
name.
example:
curl -u "admin:admin" -X POST -d '
{"description":"karaf4 was not easy","name":"carbon_is_late","domainid":"ThisWillNotBeUsed","enabled":"true"}' -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains
{"domainid":"carbon_is_late","name":"carbon_is_late","description":"karaf4 was not easy","enabled":true}curl -u "admin:admin" http://$ODL:8181/auth/v1/domains | python -m json.tool
{
"domains": [
,
{ "description": "karaf4 was not easy", "domainid": "carbon_is_late", "enabled": true, "name": "carbon_is_late" } ]
}