From ff18e3d0e9307fb505113b467e58bdb62992fb85 Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Tue, 20 Dec 2016 10:17:05 +0800 Subject: Should support 'auto' and 'none' as network parameter when boot instances Nova added support using 'auto' and 'none' as network parameters since microversion 2.37: http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/rest_api_version_history.rst#n389 we should also add support for this in OSC. Change-Id: I6e5f616dfa48895ebd13144effe9fda7cb94c649 Closes-bug: #1651288 --- doc/source/command-objects/server.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 5ad29a0f..88f22baf 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -107,7 +107,7 @@ Create a new server [--user-data ] [--availability-zone ] [--block-device-mapping [...] ] - [--nic [...] ] + [--nic [...] ] [--hint [...] ] [--config-drive |True ] [--min ] @@ -158,7 +158,7 @@ Create a new server Map block devices; map is ::: (optional extension) -.. option:: --nic +.. option:: --nic Create a NIC on the server. Specify option multiple times to create multiple NICs. Either net-id or port-id must be provided, but not both. @@ -166,6 +166,8 @@ Create a new server port-id: attach NIC to port with this UUID, v4-fixed-ip: IPv4 fixed address for NIC (optional), v6-fixed-ip: IPv6 fixed address for NIC (optional). + none: (v2.37+) no network is attached. + auto: (v2.37+) the compute service will automatically allocate a network. .. option:: --hint -- cgit v1.2.1