python-novaclient/releasenotes/notes/microversion-2.37-d03da96406a45e67.yaml
Matt Riedemann 030ce53d4e Add support for v2.37 and auto-allocated networking
This adds support for the v2.37 microversion. The networks
part of the server create request is required in this
microversion so if nothing is specified for --nic arguments
on the command line we default to 'auto' for backward
compatibility in the CLI.

Part of blueprint get-me-a-network

Change-Id: I6636ddcd3be7bf393d2d69cc6c1ba5c7d65ff674
2016-08-19 21:32:52 -04:00

28 lines
1.2 KiB
YAML

---
features:
- |
The 2.37 microversion is now supported. This introduces the following
changes:
* CLI: The **--nic** value for the **nova boot** command now takes two
special values, 'auto' and 'none'. If --nic is not specified, the
CLI defaults to 'auto'.
* Python API: The **nics** kwarg is required when creating a server using
the *novaclient.v2.servers.ServerManager.create* API. The **nics**
value can be a list of dicts or a string with value 'auto' or
'none'.
upgrade:
- |
With the 2.37 microversion, the **nics** kwarg is required when creating
a server using the *novaclient.v2.servers.ServerManager.create* API. The
**nics** value can be a list of dicts or an enum string with one of the
following values:
* **auto**: This tells the Compute service to automatically allocate a
network for the project if one is not available and then associate
an IP from that network with the server. This is the same behavior as
passing nics=None before the 2.37 microversion.
* **none**: This tells the Compute service to not allocate any networking
for the server.