[openstack-dev] [Nova] Question about server update API

Yanyan Hu huyanyan84 at gmail.com
Tue Nov 10 06:45:37 UTC 2015


Hello, Nova experts,

I'm trying to update Nova server by invoking Nova API interface. However,
the API document[1] doesn't describe which properties are updatable by
invoking server update API(although I guess 'name' and 'accessIP' updating
are supported according to the given example).

So my first question is does server update API interface support updating
other properties of Nova server like network, volume as well? Or those
properties updating are supported by individual APIs like
'os-attach-interfaces' and 'os-volumes'.

Another question is I notice that 'os-attach-interfaces' resource doesn't
support update operation. Therefore, user may have to request bunch of
interface attaching and detaching operations and provide
port_id/net_id/fixed-ips for each of them to finish a server network
adjustment. So I'm wondering is that possible for Nova API to support
update operation for 'os-attach-interfaces' resource in future? I believe
that will be very helpful to reduce the burden of client side(e.g. simplify
the network update logic implemented in Heat nova server resource type[2]).

Many thanks!

Yanyan

[1] http://developer.openstack.org/api-ref-compute-v2.1.html#os-compute-v2.1
[2]
http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/nova/server_network_mixin.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151110/e7d4bfee/attachment.html>


More information about the OpenStack-dev mailing list