diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-02-25 16:35:57 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-03-02 14:39:00 +0800 |
| commit | 359dfa1a06683354ace568c78706e3d0a6372c14 (patch) | |
| tree | 5c3df45b439e6eb887b44cd51bf64386b5dba643 /doc/source/command-objects | |
| parent | f9add0559c52bf3d0866cfbd320982c5143f6ef6 (diff) | |
| download | python-openstackclient-359dfa1a06683354ace568c78706e3d0a6372c14.tar.gz | |
Support "network create" command in nova network
This patch only provide network name and subnet setting for
"network create" command.
The other options, such as --project which depends on
identity v2 or v3, will make the unit tests too complicated.
So I prefer to implement them in other patches.
Change-Id: I9ec93f0af813c8fae4170c36e16bbe8f0f53cbb6
Partial-Bug: 1543672
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/network.rst | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/source/command-objects/network.rst b/doc/source/command-objects/network.rst index 0ef8f56d..9e109279 100644 --- a/doc/source/command-objects/network.rst +++ b/doc/source/command-objects/network.rst @@ -22,19 +22,23 @@ Create new network .. option:: --project <project> Owner's project (name or ID) + (Network v2 only) .. option:: --project-domain <project-domain> Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. + (Network v2 only) .. option:: --enable Enable network (default) + (Network v2 only) .. option:: --disable Disable network + (Network v2 only) .. option:: --share @@ -46,8 +50,14 @@ Create new network .. option:: --availability-zone-hint <availability-zone> - Availability Zone in which to create this network (requires the Network - Availability Zone extension, this option can be repeated). + Availability Zone in which to create this network (requires the Network + Availability Zone extension, this option can be repeated). + (Network v2 only) + +.. option:: --subnet <subnet> + + IPv4 subnet for fixed IPs (in CIDR notation) + (Compute v2 network only) .. _network_create-name: .. describe:: <name> |
