shade/releasenotes/notes/create_server_network_fix-c4a56b31d2850a4b.yaml
David Shrewsbury f236869b77 Fix create_server() with a named network
If 'network' was supplied to create_server() along with an empty
'nics' list, we would never attempt to find the network. The os_server
Ansible module uses the API this way. This treats an empty list the
same as if the 'nics' parameter were never supplied.

Change-Id: Idc844fab2c4c08f158c892104d065e5554ed90f3
2016-03-01 14:22:48 -05:00

7 lines
260 B
YAML

---
fixes:
- The create_server() API call would not use the supplied 'network'
parameter if the 'nics' parameter was also supplied, even though it would
be an empty list. It now uses 'network' if 'nics' is not supplied or if
it is an empty list.