os-interface create API docs are wrong
Bug #1352950 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Diane Fleming |
Bug Description
Was looking at bug 1338551 and the API docs for the attach_interface create method:
The API docs say that port_id is required in the request but it's actually optional:
You can send in port_id/
If the port_id isn't provided, the network API will allocate one on the given network. If net_id isn't provided, the network associated with the instance in the network info cache will be used.
The API docs also don't list any error codes, of which there are 400, 404, 409, 500, and 501 (because nova-network doesn't implement this API).
no longer affects: | nova |
Changed in openstack-api-site: | |
assignee: | nobody → Diane Fleming (diane-fleming) |
milestone: | none → kilo |
To post a comment you must log in.
Agreed, you can move out of nova if needed, we'll fix in the api-site.