3426 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
bfeecd50fd Updated from global requirements
Change-Id: Ib5e40955446ef8edfb2e461b6284a7fdf655ea76
2016-10-05 01:36:09 +00:00
Huanxuan Ao
ea7f28fb4a Refactor qos spec unit test in volume v1
Refactor qos spec unit test with FakeQos class
in volume v1.

Change-Id: Ia76bf41a911457282b293dfaf0af311b1a9194ce
2016-10-04 23:07:51 +08:00
Jenkins
62bf9e2609 Merge "Add example in the doc when using Identity v3" 2016-09-30 15:15:58 +00:00
Jenkins
0f5fde430c Merge "Add --ha option to os router create command" 2016-09-30 14:14:23 +00:00
Nam Nguyen Hoai
e2fc436d53 Add --ha option to os router create command
This patch added --ha option which the 'os router create'
command was missed.

Change-Id: I77635fb17af32beb0d8ed9aa080ef79285719fdc
Closes-Bug: #1610161
2016-10-01 14:55:23 +07:00
Jenkins
4f81103ac1 Merge "Updated from global requirements" 2016-09-30 13:58:15 +00:00
Jenkins
8031cd25d4 Merge "Replace 'MagicMock' with 'Mock'" 2016-09-30 11:13:09 +00:00
OpenStack Proposal Bot
eadbeb3979 Updated from global requirements
Change-Id: I065a55b5fb0fdf01d47434012a4ea4ea3d67c2ba
2016-09-30 10:24:22 +00:00
Steve Martinelli
d0a0ff77a8 Document openstack complete help and usage
Currently we have no documentation for the `complete` command.

Change-Id: I9faf38341bb57a61869ddbef406a022219a7c62c
Closes-Bug: 1623860
2016-09-30 01:16:22 -04:00
Jenkins
15069ef50e Merge "Support "--no" option in aggregate set" 2016-09-29 19:22:31 +00:00
Léo GEORGEL
0ae68f55fc Add example in the doc when using Identity v3
Add example doc with user_domain_name and project_domain_name

Change-Id: I5f454fcf705c8af1f0a1b85385bd7d8587234a14
2016-09-29 10:36:26 +02:00
Jenkins
2026dee17e Merge "Remove beta label for network segment resource" 2016-09-29 04:50:25 +00:00
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
OpenStack Proposal Bot
f41e27ec3a Updated from global requirements
Change-Id: I0895da779013a3fc586a36d4bbd6d1daf55bde20
2016-09-28 17:33:31 +00:00
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
Richard Theis
256ec66f79 Remove beta label for network segment resource
With Ocata development opened, neutron network segments are no
longer beta resources.

Change-Id: I25be51c30df17c746136471b88840f64a03187b9
Partially-Implements: blueprint routed-networks
2016-09-28 08:44:34 -05: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
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
zheng yin
c4ab086195 fix doc information in the limit.rst
I check files in compute/v2, and I find there is a mistake, then
I fix it.

Change-Id: Ic17b9d5e64e4ed8b1d8e1476c73dd6d9365167fc
2016-09-27 13:52:56 +08:00
Nguyen Phuong An
3e9749149b Replace 'MagicMock' with 'Mock'
Change-Id: I35ebb2f0c83ec4300e26a72d9217ed0208f526eb
Closes-Bug: #1475722
2016-09-27 09:52:41 +07:00
Rajasi Kulkarni
28b66459db Add translation markers for object commands
None of the help messages for the object commands
are marked for translation. This patch adds the
necessary support.

Co-Authored-By: Steve Martinelli <s.martinelli@gmail.com>
Change-Id: Ibf472d8f7d5ab6c876f60cddcab8833b28f042e0
2016-09-26 22:52:14 -04: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
Rui Chen
6371556916 Support "--no" option in aggregate set
Supporting "--no-property" option will apply user a convenience
way to clean all properties of aggregate in a short command,
and this kind of behavior is the recommended way to devref.
The patch add "--no-property" option in "aggregate set" command,
and update related test cases and devref document.

Change-Id: I7614a23c0db05144562330dc600dbab7d003d5d8
Implements: blueprint support-no-property-in-aggregate
2016-09-24 15:59:13 +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