summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-02-19 13:14:58 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2018-10-25 16:53:42 -0400
commit46074312583febe948c8ec8780aacd6850617cf5 (patch)
tree144e2253c355968a447d805e33459b281ff5f251 /doc/source/command-objects
parent1a7aee61d98b766de64c2f31124e1e8a07193988 (diff)
downloadpython-openstackclient-46074312583febe948c8ec8780aacd6850617cf5.tar.gz
Default --nic to 'auto' if creating a server with >= 2.37
Compute API version >= 2.37 requires a 'networks' value in the server create request. The novaclient CLI defaults this to 'auto' if not specified, but the novaclient ServerManager.create python API binding code does not, as it wants clients to be explicit. For the purposes of the OSC CLI, we should follow suit and if the user is requesting OS_COMPUTE_API_VERSION>=2.37 without specific nics, we should just default to 'auto'. Change-Id: Ib760c55e31209223338a4086ff1f4fee88dc6959 Closes-Bug: #1750395 (cherry picked from commit 1008544882fbdae16b045abca05cf3e2e8a14787) (cherry picked from commit 4944d4eaa9aaeffdee358680550ac7d7f0c6e8d8)
Diffstat (limited to 'doc/source/command-objects')
0 files changed, 0 insertions, 0 deletions