3204 Commits

Author SHA1 Message Date
Jenkins
01caa6913c Merge "remove square backet to required parameter" 2016-09-28 17:06:49 +00:00
Jenkins
ace3603ae9 Merge "Update default nova api version to 2.1" 2016-09-28 17:06:13 +00:00
Jenkins
d0ecb8981d Merge "Add option "--name" to command "openstack object create"" 2016-09-28 16:35:04 +00:00
qtang
c9fd35a496 Update default nova api version to 2.1
Ref:https://review.openstack.org/#/c/311653/
We should use 2.1 as the default nova version now

The API_MIN_VERSION of novaclient has already changed to 2.1

Change-Id: I9ff16cf052556e5d3756f81e02a8e76e8f315df5
Closes-bug: #1588171
2016-09-28 14:02:00 +00:00
Jenkins
81a2b9a6bc Merge "Updated from global requirements" 2016-09-27 15:53:16 +00:00
Jenkins
bc42efa8ca Merge "Add option markup in osc doc" 2016-09-27 12:20:49 +00:00
Jenkins
1fb39ab401 Merge "Remove reference to CLI Ref in osc doc" 2016-09-27 12:20:17 +00:00
OpenStack Proposal Bot
7d2d9fd84c Updated from global requirements
Change-Id: Idd9c9a1c114001a3628ec69098495f9875537ec2
2016-09-27 10:07:38 +00: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
f19240fc29 Merge "Add default limit for container/object" 2016-09-27 02:34:08 +00: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
Jenkins
eb02349ff8 Merge "Align '=' for developing.rst and newton.rst" 2016-09-26 12:42:44 +00:00
zheng yin
9912fdd7ff Add default limit for container/object
Default container name length less than or equal to 256 in link[1],
as the same time,default object name length less than or equal to 1024
in link[2]. Thereforce, I check the length of container and object in take_action.
and if it's greater than 256/1024 I warn the user.

[1] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L39
[2] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L35

Change-Id: I304b77cbc464eaba041321654cc29248cbe4b9a6
2016-09-26 20:42:26 +08: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
OpenStack Proposal Bot
5cc3efb004 Updated from global requirements
Change-Id: I9989b7e0b6aa2062283451831d74c7852701acd2
2016-09-26 04:27:11 +00: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
guangpei.liu
4fd00f04f2 Align '=' for developing.rst and newton.rst
Change-Id: I2d9b4cbaf65a0fa1c3184f52540b90d32b906fa3
2016-09-26 09:26:56 +08:00
OpenStack Proposal Bot
567ba7bb20 Updated from global requirements
Change-Id: Id079bf205bf61f3d26dfec526c98718fe05874f6
2016-09-25 10:02:35 +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
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
KATO Tomoyuki
084e4fbf1b Add option markup in osc doc
To avoid unintended hyphen concatenation: "openstack –help"

Change-Id: I6e8a1c453c5964bea4adc47d167904ab8ce8abda
2016-09-25 14:15:27 +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