Commit graph

3269 commits

Author SHA1 Message Date
judy-yu
151c161a5e Avoid duplicated project_id when show network
Project_id appear twice when show network. This
patch check and not append if it already has one.

Change-Id: I4400239f454522101b639a0412050dd60eb6a612
Closes-Bug: #1636123
Partially-Implements: blueprint duplicated-project-id
2016-10-24 17:16:48 +08:00
OpenStack Proposal Bot
be9306f1d4 Updated from global requirements
Change-Id: I76fa121b61b50403af404c8d6e5d9a390231230c
2016-10-22 01:27:27 +00:00
Yan Xing'an
65a08d6af6 Improve a network testcase
Fix a typo networ to network, and add assertEqual lines.

Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
2016-10-20 21:56:00 -07:00
OpenStack Proposal Bot
e0aa1acbae Updated from global requirements
Change-Id: Iaa10a45834aef38a432c6cf84a7766252116773a
2016-10-21 00:50:36 +00:00
Yan Xing'an
e6fb658606 Correct help string of the subnet pool list options
Correct help string of subnet pool list options, from
"subnets" to "subnet pools".

Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f
Partially-Implements: blueprint network-commands-options
2016-10-20 06:25:58 -07:00
OpenStack Proposal Bot
fee1a31296 Updated from global requirements
Change-Id: I54c524ba67b4f481fe3e262dcc4bc6c5601608a8
2016-10-19 17:46:01 +00:00
Jenkins
cf88d03957 Merge "Reset allocation pools to [] instead of ''" 2016-10-19 14:24:15 +00:00
OpenStack Proposal Bot
6eff90c3d6 Updated from global requirements
Change-Id: I8345847ce7c5987de4446d5a4c2c275fc376a3bb
2016-10-19 03:58:36 +00:00
Carl Baldwin
d373d76d1d Reset allocation pools to [] instead of ''
the sdk expects subnet allocation pools to be reset to an empty array,
not an empty string.

Currently this results in an error message:

  "Invalid input for allocation_pools. Reason: Invalid data format
   for IP pool"

Change-Id: I7cc84b9c8e4abdbd2c91e5d591ad31f0849c1a83
Closes-Bug: #1634672
2016-10-19 00:27:49 +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
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
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