API accepts MAC instead of UUID for ports
Bug #1246816 reported by
aeva black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Lucas Alvares Gomes |
Bug Description
The API currently accepts a MAC address in the URI query string for ports, when it should only accept the port UUID. Example:
GET /v1/ports/
This works because of the ironic.
This is particular unsuitable because the MAC address may change.
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ironic: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
I think We should accept uuid-like as input for port GET API, and reject the mac-like input.