Compute API in Compute API Reference
Bug #1648047 reported by
mylq
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
List Virtual Interfaces
The postfix link isn't os-virtual-
-------
Release: 15.0.0.0b2.dev306 on 'Wed Dec 7 02:22:20 2016, commit 8f24088'
SHA:
Source: Can't derive source file URL
URL: http://
To post a comment you must log in.
os-virtual- interfaces is the correct route, we have a functional test for it:
https:/ /github. com/openstack/ nova/blob/ 82dd754726b6021 95ba86b3e78b167 84c2a0761f/ nova/tests/ functional/ api_sample_ tests/test_ virtual_ interfaces. py#L31
The image you attached is likely pointing to the fact that os-virtual- interfaces only works with nova-network as the networking service:
https:/ /github. com/openstack/ nova/blob/ 82dd754726b6021 95ba86b3e78b167 84c2a0761f/ nova/api/ openstack/ compute/ virtual_ interfaces. py#L63
https:/ /github. com/openstack/ nova/blob/ 82dd754726b6021 95ba86b3e78b167 84c2a0761f/ nova/network/ neutronv2/ api.py# L1889
So the docs aren't wrong, but they should probably have a note that says the API is only implemented for nova-network, which has been deprecated since Newton.