summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/server.rst
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2015-04-19 01:43:40 -0400
committerSteve Martinelli <stevemar@ca.ibm.com>2015-04-19 01:43:40 -0400
commite85971b1a6bb533c6169161ead7b34c910f98e5f (patch)
tree2ce5b4ad1bec1dff0d04c8f331e631f659fa9538 /doc/source/command-objects/server.rst
parenta5e79d58ae508e218a113bfa3976fae369980688 (diff)
downloadpython-openstackclient-e85971b1a6bb533c6169161ead7b34c910f98e5f.tar.gz
Update the docs for new nic options
Change-Id: I4c8b93ede80f993eab8badfbba6bf1c530844d54
Diffstat (limited to 'doc/source/command-objects/server.rst')
-rw-r--r--doc/source/command-objects/server.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index 34555580..f9ea5908 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -67,7 +67,7 @@ Create a new server
[--user-data <user-data>]
[--availability-zone <zone-name>]
[--block-device-mapping <dev-name=mapping> [...] ]
- [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr> [...] ]
+ [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid> [...] ]
[--hint <key=value> [...] ]
[--config-drive <value>|True ]
[--min <count>]
@@ -115,9 +115,14 @@ Create a new server
Map block devices; map is <id>:<type>:<size(GB)>:<delete_on_terminate> (optional extension)
-.. option:: --nic <nic-config-string>
+.. option:: --nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>
- Specify NIC configuration (optional extension)
+ 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.
+ net-id: attach NIC to network with this UUID,
+ 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).
.. option:: --hint <key=value>