620 Commits

Author SHA1 Message Date
Jenkins
fe879b5bd1 Merge "Add and modify options for "volume create" command" 2016-09-29 02:38:37 +00:00
Jenkins
08df1d0afc Merge "Implement "consistency group list" command" 2016-09-29 02:38:12 +00:00
Jenkins
01caa6913c Merge "remove square backet to required parameter" 2016-09-28 17:06:49 +00:00
Huanxuan Ao
c9e0c01f67 Add and modify options for "volume create" command
1.Add mutually exclusive options into a mutually
exclusive group.
2.Add "--source-replicated", "--consistency-group",
"--hint" and "multi-attach" options
3.Make --size option to be optional under some cases

Closes-Bug: #1568005
Closes-Bug: #1627913
Implements: bp implement-cinder-features
Co-Authored-By: Roman Vasilets <rvasilets@mirantis.com>
Change-Id: I2c4c3073195d33774e477f4d7f22e383b14b41dd
2016-09-28 10:13:56 +08:00
Huanxuan Ao
8d63b8b263 Implement "consistency group list" command
Add "consistency group" object in volume v2 (v2 only)
and implement "consistency group list" command

Change-Id: Ifa90d97f4b223f9a5b00708cff07fa2c5e2635f0
Implements: bp cinder-command-support
Partial-Bug: #1613964
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
2016-09-28 09:31:04 +08:00
Rajasi Kulkarni
78312ca9af Add option "--name" to command "openstack object create"
Option "--name" can be used to set as the object name of
the file to be uploaded in the container. Similar to option
"--object-name" in command "swift upload". Added unit test case
to ensure an exception is raised when using option "--name" for
uploading multiple objects.

Change-Id: Ied7827841f6ca1cf9d4b48e304cbe5d62eda38ab
Closes-Bug: #1607972
2016-09-26 22:42:10 -04:00
Jenkins
10d1c2fd4e Merge "Add warning message for --state option of set command in volume" 2016-09-26 13:19:12 +00:00
Jenkins
5ce90a8298 Merge "Add command option parameter in console-url.rst" 2016-09-26 12:44:58 +00:00
zheng yin
34eba23c7a Add command option parameter in console-url.rst
There are  options (--rdp,--serial,--mks) in console-url.rst,
but it has no these options after "os console url show", therefore,
I add them.

Change-Id: I4fd6b14f37cb5751021b8d33d4a65dae17e4e4e5
2016-09-26 15:43:25 +08:00
Huanxuan Ao
3ebc7520a6 Add warning message for --state option of set command in volume
There are some set commands can set object state, it maybe
a danger behavor for users, so add explanation and warning
in the help message of the "--state" option to talk users
be caution when using (cinderclient have done this too)

Change-Id: I6a902887ea98879999c9972f36b1b7ef332173c3
2016-09-26 02:42:47 +00:00
zheng yin
f2f12d91f7 remove square backet to required parameter
Required parameter don't need to square backet, therefore, I remove them.

Change-Id: I36517fb782da53b3b973f70f292f25a4f6784077
2016-09-25 15:49:40 +08:00
LiuNanke
02b6d32bfb Fix typo in osc doc
Change-Id: I8df73b36378e3de88ebe6d1ec125546c83f707c7
2016-09-25 10:43:58 +08:00
Jenkins
578cd12dfb Merge "Add --description to Neutron commands" 2016-09-23 18:26:55 +00:00
Ankur Gupta
0981931628 Add --description to Neutron commands
Added simple option for floating ip description when creating
a floating ip.

Added option for create and set router as well.

Partially Implements: blueprint neutron-client-descriptions
Partially Implements: blueprint network-commands-options

Change-Id: Ib8cd8af449e9ff33b980017b2527a6b196894a00
2016-09-23 16:09:17 +00:00
Jenkins
1fc41f3837 Merge "Introduce overwrite functionality in `osc port set`" 2016-09-23 12:33:06 +00:00
Jenkins
40cc493b78 Merge "Overwrite/Clear support for subnets" 2016-09-23 12:24:16 +00:00
Jenkins
6a733bf312 Merge "Add square bracket to option parameter" 2016-09-23 11:37:29 +00:00
zheng yin
07dfd05dda Add square bracket to option parameter
Because option parameter is not required. I add [] to option parameter.

Change-Id: I27c14c42bf576decff90a4a290dcaad7fab00524
2016-09-23 11:14:15 +08:00
Jenkins
465a5d08e0 Merge "Align '=' for image.rst" 2016-09-22 17:58:23 +00:00
Jenkins
9440509fa0 Merge "Add "volume backup set" command in volume v2" 2016-09-22 17:57:54 +00:00
Jenkins
bce740d5ff Merge "Add filtering options to os network list command" 2016-09-22 12:47:38 +00:00
Jenkins
80ce3bee6f Merge "Implement "volume transfer request show/accept" command" 2016-09-22 11:19:28 +00:00
Huanxuan Ao
3ef7e29dd0 Implement "volume transfer request show/accept" command
Add "volume transfer request show" and
"volume transfer accept" commands in
volume v1 and v2. Also add the unit tests,
docs, release note and functional tests

Implements: bp cinder-command-support
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>

Change-Id: I5787fc486b3401307125caa316f517b9c96a95a5
2016-09-22 17:11:53 +08:00
qtang
1d5297ca07 Align '=' for image.rst
Change-Id: Iae074a9b6f5ef91738d35e41602c234aab5bed56
2016-09-22 16:13:25 +08:00
Jenkins
5dc8151b58 Merge "Add network segment create, delete and set support" 2016-09-22 07:27:06 +00:00
Huanxuan Ao
ddf84429f2 Add "volume backup set" command in volume v2
Add "volume backup set" command in volume v2 (v2 only)
to set backup name, description and state

Change-Id: If17e8457db9a4704fb5bb9c75921ed82fd0069cf
Closes-Bug: #1613261
2016-09-22 13:55:12 +08:00
Ha Van Tu
9c473f475d Add filtering options to os network list command
This patch adds the following filtering options: '--name', '--internal',
'--share' and '--no-share', '--enable' and '--disable', '--project'
and '--project-domain', '--status'.

Change-Id: I7e9dd372ee572c6ee8cdba7fac3182f9dc0a137b
Partially-Implements: blueprint network-commands-options
Closes-Bug: #1578819
2016-09-22 09:33:48 +07:00
Reedip
7f12b745ce Overwrite/Clear support for subnets
This patch adds the overwrite/clear functionality
for allocation-pool and host-routes in subnets.

Change-Id: Idfa41173d0c054c5bfb4eda8c5f614928012555a
implements: blueprint allow-overwrite-set-options
2016-09-21 04:24:47 +00:00
reedip
b38be94a5d Introduce overwrite functionality in `osc port set`
The overwrite functionality allows user to overwrite
either the binding-profile or the fixed-ips of a
specific port.

Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915
partially-implements: blueprint allow-overwrite-set-options
2016-09-21 04:19:28 +00:00
Jenkins
43f6b95229 Merge "Add --description to Create/Set Network" 2016-09-20 06:55:29 +00:00
Jenkins
a83f3c8a71 Merge "Add 'description' option to os subnet (pool) create/set cmd" 2016-09-20 06:40:48 +00:00
Jenkins
a51406da5a Merge "Provide support to list ports by network" 2016-09-20 06:32:46 +00:00
Cao Xuan Hoang
4265002e59 Add 'description' option to os subnet (pool) create/set cmd
This patch adds '--description' option to the commands.

Change-Id: Ifc2828670c3c48a87a0493d98686a5babf9b2ae7
Closes-Bug: #1614458
Closes-Bug: #1614823
Partially-Implements: blueprint network-commands-options
2016-09-20 10:12:42 +07:00
Ankur Gupta
88be7ddd38 Add --description to Create/Set Network
Added simple option for network description to create and
set network.

Change-Id: I90ce4db4e365a56ecddb00d59f4c5aa2ebbd49a3
Partially-Implements: blueprint network-command-options
2016-09-19 19:18:17 -05:00
Dean Troyer
5ec435e706 Clean up docs and notes for 3.3.0 release
Change-Id: I432dcb5e85819d22e6b30758da80d31c9a0db654
2016-09-19 14:59:38 -05:00
Jenkins
44cf358a14 Merge "Add filtering options to os subnet pool list command" 2016-09-19 15:15:26 +00:00
Reedip
554607eb3d Provide support to list ports by network
The new --network option provides a list of ports
connected with the current network.

Change-Id: I6a45184887b3e65f792391cb7e91f4ad85f29e03
Partial-Bug:#1562067
Partially-Implements: blueprint network-commands-options
2016-09-19 09:25:10 +00:00
Cao Xuan Hoang
1a6ae06ad5 Add filtering options to os subnet pool list command
This patch adds the following filtering options:
'--share' and '--no-share', '--default' and '--no-default',
'--project' and '--project-domain', '--name',
'--address-scope' options to the command.

Change-Id: I7ad9ed6842c6b3475ebf316fb5b954c7f5a7d7e3
Closes-Bug: #1613926
Partially-Implements: blueprint network-commands-options
2016-09-19 16:16:06 +07:00
Cao Xuan Hoang
d44782bc08 Add filtering options to os subnet list command
This patch adds the following filtering options:
'--project' and '--project-domain', '--network', '--gateway',
'--name', '--subnet-range' to the command.

Change-Id: I575739486b9548492bd00f50130181b825534226
Partially-Implements: blueprint network-commands-options
Closes-Bug: #1610883
2016-09-19 14:00:49 +07:00
Jenkins
7e990ba1e2 Merge "Doc, help and message updates for port unset" 2016-09-17 02:04:50 +00:00
Jenkins
276675f352 Merge "Support mark volume as bootable in volume set" 2016-09-14 18:48:28 +00:00
qtang
6a914d0056 Support mark volume as bootable in volume set
Add --bootable | --non-bootable option in volume set
to mark or unmark volume as bootable.

Change-Id: Ifa6c2dd1642202f55b6d50e3b8614d3513d488f6
Closes-Bug:#1535704
2016-09-14 16:35:49 +00:00
Richard Theis
7cba0ed671 Doc, help and message updates for port unset
Update port unset based on review comments in [1].

[1] https://review.openstack.org/#/c/306236/

Change-Id: Icae6e3869516f2d53f90ad46efc03f897c00b0e5
Implements: blueprint network-property-unset
2016-09-14 08:01:56 -05:00
Rui Chen
96a8ed435c Support listing specified server's ports
Add new option "--server" for "port list" command to
list all of the ports that are attached on the specified
server.

Change-Id: I8b5550ea5068405b163711303465b704b5207410
Closes-Bug: #1614385
2016-09-14 15:11:56 +08:00
Rui Chen
6fba7163e8 Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"
"per_volume_gigabytes", "backup_gigabytes" and "backups" items
can be shown in "openstack quota show" command, but can't be
updated by "openstack quota set". This patch fix the issue.

Change-Id: I47db5a69d4e4ef6e140f2735257c83e1fb052760
Closes-Bug: #1609767
2016-09-12 11:00:55 +08:00
Huanxuan Ao
d2273ecea5 Implement "volume transfer request delete" command
Add "volume transfer request delete" command in
volume v1 and v2. Also add the unit tests, docs,
release note and functional tests

Change-Id: Ic3d375bc8df3312fac53c1800d75f48376b8c91c
Implements: bp cinder-command-support
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
2016-09-11 14:08:27 +08:00
Huanxuan Ao
6f4acc45c6 Implement "volume transfer request create" command
Add "volume transfer request create" command in
volume v1 and v2. Also add the unit tests, docs,
release note and functional tests

Change-Id: If362df1acf214efdf6ba129cd917d33eb54e1030
Implements: bp cinder-command-support
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
2016-09-11 14:08:19 +08:00
Huanxuan Ao
6986a32e1c Add "--limit" and "--marker" options to "volume list" command
Add ``--limit`` option to ``volume list`` command in volume v1,
add ``--limit`` and ``--marker`` options to ``volume list``
command in volume v2.

Change-Id: I327a252aa83ed84166da99cf6aa80334e0e6dd44
Partial-Bug: #1612484
2016-09-11 11:23:25 +08:00
Richard Theis
4f23a77de0 Add network segment create, delete and set support
Add network segment create, delete and set in support of routed
networks. This patch set includes documentation, unit tests and
functional tests for the following new commands:
  - "os network segment create"
  - "os network segment delete"
  - "os network segment set"
This patch set also includes support for the name and description
properties.

These new commands are currently marked as beta commands.

Change-Id: I86bc223c4adc5b5fe1b1ee5c9253e43ba52fb5ed
Depends-On: Ib194125162057fccb4e951587c2fa4ec2e2f098c
Partially-Implements: blueprint routed-networks
2016-09-09 15:19:55 -05:00
Jenkins
b4307b1ef6 Merge "Add Subnet service-types to subnets" 2016-09-08 20:54:36 +00:00