3445 Commits

Author SHA1 Message Date
Cedric Brandily
694a24c309 Fix --shared/block-migration options in server migrate command
Currently, --shared-migration and --block-migration options effects are
reversed: --block-migration requests a migration with share,
--shared-migration a block-migration.

This change corrects OSC implementation and clarifies arguments passed
to novaclient (the root cause of the bug).

Change-Id: Ib682cff0c44d3b1304670f8606907b1762d8b1e7
Closes-Bug: #1518059
2016-10-11 22:01:16 +02:00
Jenkins
0f02f7ea1e Merge "Add network support for Network QoS policies" 2016-10-11 18:14:00 +00:00
Rodolfo Alonso Hernandez
3205dad161 Add network support for Network QoS policies
Added following commands:
  - network qos policy create
  - network qos policy delete
  - network qos policy set
  - network qos policy show
  - network qos policy list

Closes-Bug: 1609037
Depends-On: I33bafeca979410d329ae10a82772ccdb48c10daa

Change-Id: I63a8f63702514ff5814481bb021e2aa9d5f3d4b1
2016-10-11 15:08:36 +00:00
Jenkins
6f60817cd4 Merge "Refactor image v1 unit tests with FakeImage class" 2016-10-11 12:42:47 +00:00
Choe, Cheng-Dae
2bbb482106 Fix router unset --route option
Fix the "--route" option one the "os route unset" command. The option
did not convert gateway to nexthop which results "Router does not contain
route" error.

Change-Id: Ia57bc7ea77ad7c6030535180a6ce42b4928c9e56
Closes-Bug: 1631471
2016-10-10 23:57:22 +09:00
Rui Chen
29f78500db Redefine set/unset command devref
Now we have some use cases about set/unset properties,
try to redefine devref to find out a best and easiest
solution to keep commands simple and clearly.

Five use cases exist in property action, "append",
"update", "remove", "clean", "override", the following
rules can cover all these use cases:

1. append   ==> "set --property new-key=value"
2. update   ==> "set --property existed-key=new-value"
3. remove   ==> "unset --property existed-key"
4. clean    ==> "set --no-property"
5. clean    ==> "unset --all-property"
6. override ==> "set --no-property --property new-key=value"

Related blueprint support-no-property-in-aggregate and
blueprint allow-overwrite-set-options.
Change-Id: If86daf6989d8e0ad0dc6e590d7636be7d5203a18
2016-10-10 09:36:47 +08:00
Huanxuan Ao
407e164c95 Refactor image v1 unit tests with FakeImage class
Add FakeImage class, and refactor the unit tests
with it in image v1.

Change-Id: I9024ca5eca5c604e7588c1d905562bf6838309f1
Implements: bp improve-image-unittest-framework
2016-10-09 16:41:00 +08:00
Dean Troyer
762f2f2c34 More 3.3.0 release notes
Plus minor doc formatting updates

Change-Id: I849794e954cdeb582f7a0b104c62ec6688ead628
2016-10-07 21:39:53 +00:00
Jenkins
12ed93e3d1 Merge "Improve output of supported API versions" 2016-10-07 17:54:07 +00:00
Kyrylo Romanenko
42f9317360 Improve output of supported API versions
Sort supported versions properly for better look.

Change-Id: I6c2f5ecc04cf14ea5bf1b214cb303fcc9783af3f
Closes-Bug: #1630962
2016-10-07 11:02:53 +00:00
Jenkins
7e7f755754 Merge "Mask passwords in debug logs for auth_config_hook" 2016-10-07 01:34:03 +00:00
Jenkins
5ba5e1e321 Merge "Enable release notes translation" 2016-10-07 00:15:22 +00:00
Jenkins
4aaa9da8c9 Merge "Document openstack complete help and usage" 2016-10-06 23:41:38 +00:00
Andreas Jaeger
d695e3b157 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: Ib265f919e176f048f6e56bde47db3d99b3dd993e
2016-10-06 20:51:51 +02:00
OpenStack Proposal Bot
55c4290403 Updated from global requirements
Change-Id: Iacadedbfcf1500ae67f7c401bf5a3e22aa07c366
2016-10-06 17:02:13 +00:00
Matt Riedemann
cd1a412408 Mask passwords in debug logs for auth_config_hook
The auth config hook can have credentials in it so
we have to mask the config before logging it. To
avoid doing the work of masking the password if we
aren't going to log it, there is a conditional put
around the actual debug statement.

Change-Id: I8e626672ec94fc837610216bccb4354dbdedca17
Closes-Bug: #1630822
2016-10-05 21:11:16 -04:00
Richard Theis
d6cc50f0da SDK Refactor: Prepare subnet pool commands
Prepare the OSC "subnet pool" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I6d8cb7a079cf115ee25d48d9175e31f0f995c502
Partially-Implements: blueprint network-command-sdk-support
2016-10-05 08:50:58 -05:00
Richard Theis
368a250321 SDK Refactor: Prepare network segment commands
Prepare the OSC "network segment" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I426ecdad0f9d95b89e80fb1c5ba81ffe5fe274c9
Partially-Implements: blueprint network-command-sdk-support
2016-10-05 07:34:20 -05:00
Richard Theis
70cb628278 SDK Refactor: Prepare address scope commands
Prepare the OSC "address scope" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I4e253e01f9b0b10452354f4e4152468090c76958
Partially-Implements: blueprint network-command-sdk-support
2016-10-05 06:36:18 -05:00
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