openstack-python-openstackc.../openstackclient/compute/v2
Matt Riedemann 1008544882 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
2018-03-21 01:44:29 +00:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
agent.py translate all command help strings 2016-11-17 02:33:42 +00:00
aggregate.py Handle log message interpolation by the logger in compute/ 2017-02-13 18:43:12 +01:00
console.py Use public and unified method get_console_url() 2017-02-14 03:22:03 +00:00
fixedip.py translate all command help strings 2016-11-17 02:33:42 +00:00
flavor.py flavor: clarify --swap description 2017-12-28 14:56:13 +08:00
floatingip.py translate all command help strings 2016-11-17 02:33:42 +00:00
host.py Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
hypervisor.py translate all command help strings 2016-11-17 02:33:42 +00:00
hypervisor_stats.py translate all command help strings 2016-11-17 02:33:42 +00:00
keypair.py Add "--private-key" option for "keypair create" 2017-03-06 08:34:28 +00:00
server.py Default --nic to 'auto' if creating a server with >= 2.37 2018-03-21 01:44:29 +00:00
server_backup.py translate all command help strings 2016-11-17 02:33:42 +00:00
server_event.py Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
server_group.py Remove hard-coded policy choices for creating a server group 2017-11-19 18:45:28 -05:00
server_image.py translate all command help strings 2016-11-17 02:33:42 +00:00
service.py Corrected spelling mistake 2018-01-19 11:18:41 +01:00
usage.py Modified API calls in os usage 2016-12-08 03:00:45 +08:00