3183 Commits

Author SHA1 Message Date
KATO Tomoyuki
50ad04df97 Remove reference to CLI Ref in osc doc
Since we decide to unify the osc doc into the osc repo,
CLI Reference does not provide osc content.

Change-Id: I0d530143105b5411a7a38e9e9d2297a1e8c69071
2016-09-25 14:20:20 +09:00
Jenkins
559215d59d Merge "Fix typo in osc doc" 2016-09-25 04:31:14 +00:00
LiuNanke
02b6d32bfb Fix typo in osc doc
Change-Id: I8df73b36378e3de88ebe6d1ec125546c83f707c7
2016-09-25 10:43:58 +08:00
Huanxuan Ao
52eaec1189 Add functional test for snapshot in volume v1
Add functional test for snapshot commands in volume v1.
Tests can always help to find or avoid bugs.

Change-Id: Ieb0ab9c763d381a6343b4c4a8a5874f3e682f24f
2016-09-25 09:30:45 +08:00
OpenStack Proposal Bot
2731fc3912 Updated from global requirements
Change-Id: Ic4aed24a86fbce3c20ab96bd98edf9e249f8d247
2016-09-23 23:53:20 +00:00
Jenkins
e90ba0dfb4 Merge "Add unit tests for backup commands in volume v1" 2016-09-23 21:36:37 +00:00
Jenkins
ab6b9dc389 Merge "Fix unset commands to pass normally when nothing specified" 2016-09-23 21:36:14 +00: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
b0750c76ec Merge "Use assertGreater replace assertTrue" 2016-09-23 12:33:12 +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
Huanxuan Ao
df8ef60603 Add unit tests for backup commands in volume v1
There was not any unit tests for backup commands
in volume v1 so that sometimes some small bugs
maybe ignored, this patch add unit tests for them.

Change-Id: Ic67c1b80243f7b3d15dabd25e4e4a1b1517a8b59
2016-09-23 17:22:44 +08:00
zheng yin
2e5d6a67f6 Use assertGreater replace assertTrue
we can use assertGreater(a,b) to replace assertTrue(a>b)

Change-Id: Idd92a99bf5fd25785a47645d46bcfcad23ed870a
2016-09-23 13:49:04 +08:00
Huanxuan Ao
fd876e4cc6 Fix unset commands to pass normally when nothing specified
After I found this problem appear in "volume unset",
I checked all the volume command and also found some
same problems. This patch fix them all.
The main reason of we ignored this problem before is
there was not any tests for it. So I add tests for
"nothing unset" for them all to test and aviod this
problem.
Also, I add unit tests for all snapshot commands
in volume v1 by the way in this patch. We will
need more tests to avoid some ignored problem.

Change-Id: I46775f24643d715e168b30785b8b531c0431a55b
Partial-bug: #1588588
2016-09-23 13:20:51 +08: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
OpenStack Proposal Bot
41f7de22d6 Updated from global requirements
Change-Id: I9f23736d106b4b6fcc37b98f03387ea041c5828d
2016-09-22 13:15: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
Jenkins
69c4f605ec Merge "Fix "volume unset" command pass normally when nothing specified" 2016-09-22 02:35:13 +00:00
Jenkins
0c6a46ab5c Merge "Refactor volume unit test with FakeVolume class in volume v1" 2016-09-22 02:33:59 +00: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
Jenkins
80d9c2a9b0 Merge "Use correct router add/remove interface methods" 2016-09-21 15:49:22 +00:00
OpenStack Proposal Bot
274e400f5a Updated from global requirements
Change-Id: I6f4e6002d66342afda1821902625b90476d193b4
2016-09-21 11:56:44 +00:00
Jenkins
813eba519a Merge "replace metavar "volume-id" with "volume" to avoid ambiguity" 2016-09-21 07:48:45 +00:00
Huanxuan Ao
bba5c9047f Fix "volume unset" command pass normally when nothing specified
When nothing specified in "volume unset" command, there
will be an error message says that the "--properties"
option is required, it is unusual behaviour, this patch
fix it and also add unit test for it.
Also, this patch add unit test for "volume show" command
by the way.

Change-Id: I5b5d587670acf0af4262b8521292455bf9f60fe5
Partial-bug: #1588588
2016-09-21 15:47:55 +08:00
rabi
47b782687f Use correct router add/remove interface methods
Use the correct openstacksdk method names.

Change-Id: I07b463753eedf41f79c6e00e9224d0f7697a1bd3
Closes-Bug: #1625954
2016-09-21 13:09:39 +05:30
Huanxuan Ao
4a8b802d6b Refactor volume unit test with FakeVolume class in volume v1
FakeVolume class has been added in the fake.py in
volume v1, this patch refactors the volume command
unit tests with the FakeVolume class.

Change-Id: Ic3c1a46d5bff9048d0095f5739ae9e5a34ca6b5b
2016-09-21 15:33:37 +08:00
Shu Yingya
b30a7b795f replace metavar "volume-id" with "volume" to avoid ambiguity
The help message of command "openstack volume show" accepts either
volume-name or volume-ID. But the metavar is "volume-id" as below.
It can easily lead to misunderstanding.

usage: openstack volume show [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>]
                             [--noindent][--prefix PREFIX]
                             <volume-id>

Change-Id: I57576ea23868b1026cf268be69b39e98a53aafd4
2016-09-21 12:33:01 +08:00
Jenkins
682c2bfb8b Merge "Remove unnecessary setUp" 2016-09-21 04:30:29 +00: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
zhufl
6f0462732a Remove unnecessary setUp
setUp will be automatically called around each
testcase, so this is to remove setUp that doing
nothing additional than super to keep code clean.

Change-Id: I47be2be6f0e9785eb166f89d411582d6292babc1
2016-09-21 10:46:46 +08:00
Jenkins
ccd2d658d1 Merge "Fix openstack quota set/show --class not work" 2016-09-20 09:01:16 +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
ad56086663 Merge "router list if availability_zone ext not enabled" 2016-09-19 19:35:26 +00:00
Jenkins
44cf358a14 Merge "Add filtering options to os subnet pool list command" 2016-09-19 15:15:26 +00:00
Jenkins
6d2412b190 Merge "Add filtering options to os subnet list command" 2016-09-19 14:14:31 +00:00