3820 Commits

Author SHA1 Message Date
Rui Chen
10f0300f70 Show openstacksdk version info in "module list"
openstacksdk bug/1588823 exist, no good way to add __version__ for
openstack module properly, fix the issue in osc side, make openstacksdk
module information be available.

Change-Id: I27ff61792443d1aa07f31598bed3aa32f924ff40
Partial-Bug: #1662058
2017-02-22 16:40:22 +08:00
Anindita Das
edaeece7f1 OSC Network Flavor
Implements Neutron feature of Network Flavor into OpenstackClient
This patch implements the following commands:
network flavor create
network flavor delete
network flavor list
network flavor show
network flavor set

Works with openstacksdk version 0.9.8

Change-Id: I29d7a62341010a1d067a8ca93bccb7d9b8d4c425
Partially-Implements: blueprint neutron-client-flavors
Partially-Implements: blueprint network-commands-options
2017-02-22 02:45:51 +00:00
Jenkins
62938c02e0 Merge "Fix properties format for volume qos in volume v1" 2017-02-21 19:49:16 +00:00
Jenkins
7bf68577e6 Merge "Rework port functional tests on json output format" 2017-02-21 16:44:00 +00:00
Jenkins
ea08e16b08 Merge "add volume->osc mapping" 2017-02-21 16:16:33 +00:00
Jenkins
a3e1b9c31a Merge "add swift and nova to osc mapping" 2017-02-21 16:12:31 +00:00
Jenkins
35c308ebad Merge "Remove remaining uses of SDK Proxy.session" 2017-02-21 14:00:03 +00:00
Huanxuan Ao
1be6c2d92f Fix properties format for volume qos in volume v1
Notice that patch [1] fixed the error of properties
format for volume qos in volume v2, but there is the
same bug in volume v1, and the patch missed that, so
fix the problem in v1 as well

[1] https://review.openstack.org/#/c/421065/

Partial-Bug: #1656767
Change-Id: I156bf13d164dbd0d0a7ce394964176718c4ff0e5
2017-02-21 19:34:15 +08:00
Rui Chen
c7e0948a2d Rework port functional tests on json output format
Some functional tests try to parse the CLI table output
format, that cause much work on parse string by using
regular expression. Using json format in functional tests
is better and easier way, the patch rework for port related
tests.

Change-Id: I0ec997bf63da4925742848c593db09d89655ca34
2017-02-21 07:35:02 +00:00
Steve Martinelli
c9419f00f0 add volume->osc mapping
Change-Id: Ia773cf66c9949433eb5e5ab5c58b7c871c17fc22
2017-02-21 06:16:53 +00:00
Steve Martinelli
3a48183c01 add swift and nova to osc mapping
Change-Id: If3ab811868aaf8c9391a2190ff0af63b0e0ea559
2017-02-21 06:16:37 +00:00
Jenkins
bc4a3f467f Merge "TODO cleanup: osc-lib" 2017-02-21 05:40:26 +00:00
Justin A Wilson
4d5f2c3925 Add Cinder v3 client support for volumes
Initial Cinder v3 support

Change-Id: Idd5074832e80697ed0671f06d3291dfd92dbfb08
2017-02-20 20:37:36 +00:00
Jenkins
477694db49 Merge "Use public and unified method get_console_url()" 2017-02-20 19:46:15 +00:00
Jenkins
91f7451180 Merge "Remove text about OSC as a plugin requirement" 2017-02-20 18:54:55 +00:00
Dean Troyer
0719348ba1 TODO cleanup: osc-lib
osc-lib 1.3.0 is released, which contains these functions that still
need to be migrated all the way down to os-client-config.

Currently osc-lib 1.2.0 is in global-requirements so this can not be
merged yet, but is included here for testing and to be ready for when
g-r is unfrozen.

Change-Id: I7bc8ed6cf78f38bab4a718ed3e2a88641fa23f27
2017-02-20 17:35:42 +00:00
Dean Troyer
76c7ab5c85 Remove text about OSC as a plugin requirement
python-openstackclient should not be in a plugin's requirements.txt
as it will pull in the OSC dependencies that may not be desirable.

Change-Id: Id72745704ec70cab438e766dbac21a838fccb523
2017-02-20 09:37:54 -06:00
Anh Tran
1e3faf9f64 Remove unused logging import
Change-Id: I9edf4075ffea2e8d42283bd654b74cd4ab4a3638
2017-02-20 10:20:42 +07:00
Dean Troyer
73809a98ed Remove remaining uses of SDK Proxy.session
SDK commit Ie67c240e3caa5e100ce07db3862718195c894748 exposed lingering uses
of Proxy.session in OSC.  Get rid of them.

Change-Id: Icab230f1897a446cf3deb0e3d0550d24e11a0ef3
2017-02-19 15:47:20 -06:00
Jenkins
98d5641ac5 Merge "Remove quota set workaround for SDK <0.9.13" 2017-02-19 16:58:01 +00:00
Dean Troyer
74a35fb005 Finish converting server functional tests to JSON format
Change-Id: Ic9563bd86feb1f7afd403e49499205a499f0c142
2017-02-18 11:50:39 -06:00
Jenkins
83a0db0a54 Merge "Fix "server create" command failed when --nic auto or none" 2017-02-18 06:41:14 +00:00
Jenkins
bf10900c13 Merge "Functional test for router" 2017-02-18 06:25:16 +00:00
Jenkins
1b4605e4ad Merge "Add "volume host failover" command" 2017-02-18 06:25:10 +00:00
Jenkins
c88975136d Merge "Add "encryption-*" options in volume type commands" 2017-02-18 03:36:06 +00:00
Dean Troyer
b399b0406c Remove quota set workaround for SDK <0.9.13
Change-Id: I89732c49e73ac5a789fdbe19536389f7e93ac0e6
2017-02-17 13:28:48 -06:00
Dean Troyer
ef1a86a802 Fix image selection in server function tests
The image selection has been affected by Cirros image changes in DevStack,
make the logic moe robust and convert it to JSON.  The conversion for the
remainder of the file will follow.

Change-Id: I8f3318f55ed79d617c3594142f0c086e2bd1a7b1
2017-02-17 12:14:41 -06:00
Rui Chen
c051c5f090 Fix "server create" command failed when --nic auto or none
"auto" and "none" options was added into --nic argument of server create
command in patch https://review.openstack.org/#/c/412698/ , but that
don't work and raise internal error when execute command. The patch
fix that issue and add unit and functional tests.

Change-Id: Ia718c3bac0a5172a0cdbe9f0d97972a9346c1172
Co-Authored-By: Kevin_Zheng <zhengzhenyu@huawei.com>
Closes-Bug: #1663520
2017-02-15 14:25:37 +08:00
Jenkins
3b562ffa90 Merge "Handle log message interpolation by the logger in identity/" 2017-02-14 08:23:21 +00:00
Jenkins
f106b4f022 Merge "Refactor volume functional test in volume v1" 2017-02-14 08:01:03 +00:00
Jenkins
4b4194755a Merge "Handle log message interpolation by the logger in network/" 2017-02-14 03:52:43 +00:00
huangtianhua
f891b6862f Use public and unified method get_console_url()
Novaclient has provided a public and unified method
get_console_url() to get console urls of server.
This change switches to use it.

Change-Id: Ie6b9d8cfc57a6943b5d64a4064e4bdd372cd8cd3
Depends-on: I36c6209b17ef453e1c2e47841daf41f81af471dc
Closes-Bug: #1654913
2017-02-14 03:22:03 +00:00
Jenkins
f945cf7b5c Merge "Handle log message interpolation by the logger in compute/" 2017-02-14 01:28:54 +00:00
Jenkins
7aa7b3a76b Merge "Updated from global requirements" 2017-02-13 18:31:48 +00:00
Jenkins
655e73683a Merge "Overwrite/Clear Flavor property" 2017-02-13 18:19:26 +00:00
Gábor Antal
1c91e9828d Handle log message interpolation by the logger in compute/
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: Ib7b5fb5f794026fc8a84260c4803afea321a9cf5
Closes-Bug: #1596829
2017-02-13 18:43:12 +01:00
Jenkins
10bd6a6267 Merge "Refactor availability zone functional test" 2017-02-13 17:41:20 +00:00
Jenkins
0c42c88d88 Merge "Refactor module functional test" 2017-02-13 17:27:39 +00:00
Jenkins
2cb1cee361 Merge "Modify error handling for role and group commands" 2017-02-13 17:27:33 +00:00
Jenkins
7f29e52106 Merge "Add choices for option '--policy'" 2017-02-13 17:27:30 +00:00
Jenkins
803d5b4c83 Merge "Add --fixed-ip option to the port list command" 2017-02-13 17:19:10 +00:00
Gábor Antal
c9b1c2ad96 Handle log message interpolation by the logger in network/
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages
Related-Bug: #1596829

Change-Id: I17467d01420750c004fbbf2a07730fc2badd62b8
2017-02-13 18:14:34 +01:00
Jenkins
8c9fff3a82 Merge "DevRef fix for network qos policy" 2017-02-13 16:51:12 +00:00
Gábor Antal
335c8d3ef3 Handle log message interpolation by the logger in identity/
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: I1d6588093616099a9eef0947c09e038b9e53493a
Related-Bug: #1596829
2017-02-13 17:38:30 +01:00
OpenStack Proposal Bot
ee50ca30c1 Updated from global requirements
Change-Id: Ie5af4a8ea6b499db46ad6f1d3075d867faf3a3a2
2017-02-13 15:21:11 +00:00
Reedip
6a3c7c2a68 Overwrite/Clear Flavor property
This patch adds support to overwrite/clear the flavor's
property using the new ``--no-property`` option in the
``flavor set`` command.

Change-Id: I873c96fcf223bbd638a19b908766d904a84e8431
Implements: blueprint allow-overwrite-set-options
Co-Authored By: zhiyong.dai@easystack.cn
2017-02-13 15:16:09 +00:00
Jenkins
30fdb488a8 Merge "Functional test for volume qos" 2017-02-13 14:25:55 +00:00
Jenkins
5a9b5f7cb9 Merge "Functional test for configuration" 2017-02-13 12:14:07 +00:00
Jenkins
5de97e385f Merge "Functional test for aggregate" 2017-02-13 08:51:14 +00:00
Huanxuan Ao
35b2724293 Refactor volume functional test in volume v1
There is a patch for refactor of volume funtional
test in volume v2 [1], but v1 is missing, this
change add the v1 refactor with json format.

[1]: https://review.openstack.org/#/c/417349

Change-Id: I969df3c8dbca21a62f6245e3e95680cf3cd47dc1
2017-02-13 15:59:27 +08:00