3468 Commits

Author SHA1 Message Date
Kyrylo Romanenko
acc39673ab Rename variable to avoid shadowing of built-in name
Change-Id: I06e2617db1d5508723bc343072a15586af89b390
2016-10-18 19:12:23 +03:00
Huanxuan Ao
daffce3a6a Add "--read-only" and "--read-write" options in "volume set"
Add "--read-only" and "--read-write" options in "volume set"
command to set volume access mode.

Implements: bp cinder-command-support
Change-Id: I76ba85c7d3ff0eb026a9cbd794368d8b2b0d17fe
2016-10-18 14:34:05 +08:00
Huanxuan Ao
d7c8bb88e4 Add "volume migrate" command
Add "volume migrate" command in volume v1 and v2
to support migrating volume to a new host

Change-Id: Ie4e6037171a31a872006a13f9fd1e15eaa627c26
Implements: bp cinder-command-support
2016-10-18 11:48:30 +08:00
Aradhana Singh
c99ec284db Add description field port create & port set
This patchset
1. adds description field to openstack port create and
 openstack port set.
2. updates method _add_updatable_args with 4 spaces instead
 of existing 8 spaces

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

Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572
2016-10-17 22:21:34 +00:00
Jenkins
5e3ec1b42f Merge "Fix --shared/block-migration options in server migrate command" 2016-10-17 21:43:15 +00:00
Jenkins
ed8e918519 Merge "properly format error messages for volume resizing" 2016-10-17 20:41:32 +00:00
Jenkins
528f7a76d0 Merge "Add necessary info to Floating IP list" 2016-10-17 20:30:30 +00:00
Jenkins
f03cd87aba Merge "Update the doc for Zaqar v2" 2016-10-17 12:15:14 +00:00
Jenkins
ab9cfc4dc4 Merge "Add security groups options to "port create/set/unset"" 2016-10-17 08:27:58 +00:00
Reedip
bae09c3c3f Add support make a router HA
Currently router set CLI does not provide the
support make a router highly available. The following
patch enables the same.
Checking for setting a router as HA is left on the
neutron server itself.
Partially-Implements: blueprint network-commands-options
Change-Id: I0d0548cf037a14e5ccb2f732918ee9d1f63f43b4
Closes-Bug:#1631492
2016-10-16 05:05:23 +00:00
Reedip
8f8a8448a4 Add necessary info to Floating IP list
This patch adds the Network ID and Project ID
for the listed floating IPs when Neutron is enabled
for OpenstackClient.

Change-Id: I823090f2e6d30acd72247d30956f48f4d7672a50
Closes-Bug:#1566090
2016-10-16 05:04:38 +00:00
Steve Martinelli
82af038bb0 properly format error messages for volume resizing
The error messages are tuples and not substituting variables.

Before:
$ openstack volume set vol1 --size 1
Failed to set volume size: (u'New size must be greater than %s GB', 2)

$ openstack volume set vol1 --size 1
Failed to set volume size: (u'Volume is in %s state, it must be available
before size can be extended', u'error')

After:
$ openstack volume set vol2 --size 3
Failed to set volume size: New size must be greater than 4 GB

$ openstack volume set vol2 --size 3
Failed to set volume size: Volume is in error state, it must be available
before size can be extended

Change-Id: Ide6e644b1c6d1c11a9dc2f3f53c1a1837380b8d5
2016-10-15 20:29:54 -07:00
OpenStack Proposal Bot
a58bacc619 Updated from global requirements
Change-Id: Iff006bdedb4d7eefef9fc55e7bb3c0f37abbf784
2016-10-15 00:12:29 +00:00
wangxiyuan
928fecd134 Update the doc for Zaqar v2
Zaqar v1 and v1.1 is deprecated now, and the V2 is the default API
version. Update the plugin doc for it.

Change-Id: I26db823852ba543607b250a09aae63bb439a8959
2016-10-14 15:38:17 +08:00
OpenStack Proposal Bot
3a27163628 Updated from global requirements
Change-Id: Ia68a75e6cfbcfc267d68822a04e528605701672f
2016-10-14 05:44:06 +00:00
Nam Nguyen Hoai
291b66e983 Add direction and protocol options to os security group rule list cmd
This patch added direction options (--ingress, --egress) and protocol
option (--protocol) to filter rules by os security group rule list command.

Change-Id: I56ace3f97eb927fd2a868f728c7347a29d028b67
Closes-Bug: #1613533
Partially-Implements: blueprint network-commands-options
2016-10-14 02:59:07 +00:00
OpenStack Proposal Bot
43d1646058 Updated from global requirements
Change-Id: I24283bbbc5e1717b9824ad8f62859a3053910950
2016-10-13 05:28:24 +00:00
Jenkins
fd60e579c8 Merge "Add a new column and a new option the 'os port list' cmd" 2016-10-12 22:10:40 +00:00
Jenkins
a2e520c29c Merge "Add translation markers for object commands" 2016-10-12 21:26:47 +00:00
Jenkins
93157d52c7 Merge "Redefine set/unset command devref" 2016-10-12 21:20:45 +00:00
Nam Nguyen Hoai
2c1282cecf Add a new column and a new option the 'os port list' cmd
This patch will add a new column called status to the
result of the 'os port list' command and --long option
to 'os port list' command.

Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Change-Id: I4f942414e969687304b578ed7f003dd219c0f2f8
Closes-Bug: #1613995
Closes-Bug: #1614321
Partially-Implements: blueprint network-commands-options
2016-10-12 20:40:46 +00:00
Nguyen Phuong An
66a04abd58 Add security groups options to "port create/set/unset"
This patch adds '--security-group' and '--no-security-group'
options to "port create", "port set" and "port unset" commands.

Change-Id: Iff60d8f29227017b0a3966efca6cdecba69abcea
Partial-Bug: #1612136
Partially-Implements: blueprint network-commands-options
2016-10-12 09:03:07 +07:00
Jenkins
1ee9333d3a Merge "fix doc information in the limit.rst" 2016-10-12 01:57:38 +00:00
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