3731 Commits

Author SHA1 Message Date
Jenkins
e5ee4b8ca3 Merge "Support list commands by group name keyword" 2017-02-27 03:47:11 +00:00
Jens Rosenboom
f63a9f402d Fix output of ListSecurityGroupRule
The Ethertype column was always left empty because a wrong column name
was being used.

Change-Id: I7fc0f8d5eb7bac1efb234faba454dad0a45a7e6a
Closes-Bug: 1667699
2017-02-24 21:21:43 +01:00
Jenkins
1450e8ff4f Merge "Fix can not set is_default in network" 2017-02-24 04:13:38 +00:00
Jenkins
9ccf8fd067 Merge "Revert unit tests for quota commands" 2017-02-23 18:30:21 +00:00
Jenkins
12ab5f08ca Merge "minor tweaks to mapping table" 2017-02-23 18:30:01 +00:00
Jenkins
923e62196c Merge "add keystone and glance -> osc mapping" 2017-02-23 18:29:17 +00:00
jiahui.qiang
7d93db21e5 Fix can not set is_default in network
The value of is_default always be None, can not be set by
"network set" command. Allow "--default" and "--no-default"
options to be recognized when ``--external`` is not present.

Closes-bug:#1665231

Change-Id: I7a05fc7734a15994f72ca4e47997b4952f1f72f8
2017-02-23 15:51:48 +00:00
Huanxuan Ao
ef2a8f4d11 Revert unit tests for quota commands
quota set and quota show command have been fixed
by [1] [2], now can revert the unit test as well

[1] https://review.openstack.org/435574
[2] https://review.openstack.org/435735

Change-Id: I3d592df6ea4e96770dac4dba91819b5c4bcb0561
2017-02-23 20:44:28 +08:00
Rui Chen
0898ebacb8 Support list commands by group name keyword
The output of current "command list" is so long, it's
very difficult for users to find out the commands
they care about.

Add "--group <group-keyword>" option to filter the commands by group
name keyword, like: --group volume, list all openstack.volume.v2
(cinder) commands

That support the scenario that users need to know the current support
commands of some OpenStack services(nova, neutron, cinder and so on) in
OSC.

Change-Id: Id673042729ad36a0cac0b81fb31a3537c24f03fc
Closes-Bug: #1666780
2017-02-23 12:13:06 +08:00
Jenkins
c8435f2d5a Merge "Show openstacksdk version info in "module list"" 2017-02-22 22:51:28 +00:00
Steve Martinelli
aef9dacc7f minor tweaks to mapping table
- no need to prefix it with OSC
- since it's a page with a lot of content, make
  it show sub headings

Change-Id: I1aab4f71def53f1a11a8a0e0f6b7748233ff02c7
2017-02-22 14:19:38 -06:00
Steve Martinelli
4b293c57c8 add keystone and glance -> osc mapping
Change-Id: I99cd8b11a5d5fc6dc5d2f4584b837ea0f44d665a
2017-02-22 14:09:25 -06:00
Jenkins
3746fd2caf Merge "OSC Network Flavor" 2017-02-22 18:40:37 +00:00
Rui Chen
c828216e2b Fix "endpoint list" help message
OSC support to filter OpenStack endpoints by service type, name and ID,
but help message and document don't contain "type" for "--service"
option of "endpoint list" command.

Change-Id: I5c8bc28e037b4c6f96ec83525a319353f01f256a
Closes-Bug: #1666841
2017-02-22 17:56:03 +08:00
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
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