summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Add 'description' option to os subnet (pool) create/set cmdCao Xuan Hoang2016-09-205-0/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--description' option to the commands. Change-Id: Ifc2828670c3c48a87a0493d98686a5babf9b2ae7 Closes-Bug: #1614458 Closes-Bug: #1614823 Partially-Implements: blueprint network-commands-options
* | | | | | | | Merge "Provide support to list ports by network"Jenkins2016-09-202-2/+17
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | Provide support to list ports by networkReedip2016-09-192-2/+17
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new --network option provides a list of ports connected with the current network. Change-Id: I6a45184887b3e65f792391cb7e91f4ad85f29e03 Partial-Bug:#1562067 Partially-Implements: blueprint network-commands-options
* | | | | | | Merge "router list if availability_zone ext not enabled"Jenkins2016-09-192-2/+45
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | router list if availability_zone ext not enabledUkesh Kumar Vasudevan2016-09-152-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when calling router list with --long OSC expects the availability_zone field in the response, even if this extension is not loaded: As per the document, http://developer.openstack.org/api-ref/networking/ v2/?expanded=list-routers-detail, The availability zone(s) for the router is available when router_availability_zone extension is enabled. Added testcase to test router list without availability zone Change-Id: Ic9abb06140eb310b797ade8b0463a876d8bea1b8 Closes-bug: #1622565
* | | | | | | Merge "Add filtering options to os subnet pool list command"Jenkins2016-09-192-31/+210
|\ \ \ \ \ \ \
| * | | | | | | Add filtering options to os subnet pool list commandCao Xuan Hoang2016-09-192-31/+210
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--share' and '--no-share', '--default' and '--no-default', '--project' and '--project-domain', '--name', '--address-scope' options to the command. Change-Id: I7ad9ed6842c6b3475ebf316fb5b954c7f5a7d7e3 Closes-Bug: #1613926 Partially-Implements: blueprint network-commands-options
* | | | | | | Merge "Add filtering options to os subnet list command"Jenkins2016-09-192-2/+159
|\ \ \ \ \ \ \
| * | | | | | | Add filtering options to os subnet list commandCao Xuan Hoang2016-09-192-2/+159
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--project' and '--project-domain', '--network', '--gateway', '--name', '--subnet-range' to the command. Change-Id: I575739486b9548492bd00f50130181b825534226 Partially-Implements: blueprint network-commands-options Closes-Bug: #1610883
* | | | | | | Merge "Fix quota-update issue in LBaaS"Jenkins2016-09-193-4/+5
|\ \ \ \ \ \ \
| * | | | | | | Fix quota-update issue in LBaaSReedip2016-09-163-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently L7Policies cannot be updated( it was missing in implementation in neutronclient). The same has been taken care in the current patch. Also, currently quota doesnt support updating the members in an LBaaS pool. This patch temporarily removes it, till it is not confirmed that LBaaS v2 needs to support quotas for members or not. Change-Id: I25a54a57debb762a32a280ece8c081fc52365f0f Closes-Bug: #1624097
* | | | | | | | Merge "Fix Quota Support for HMs"Jenkins2016-09-193-5/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | Fix Quota Support for HMsReedip2016-09-163-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Health Monitors could not be updated using the `openstack quota update` CLI. This patch fixes the same. Change-Id: Ic5a4fa5dce5767e40139137131114834d564f89a Closes-Bug: #1624225
* | | | | | | Merge "Doc, help and message updates for port unset"Jenkins2016-09-171-33/+24
|\ \ \ \ \ \ \
| * | | | | | | Doc, help and message updates for port unsetRichard Theis2016-09-141-33/+24
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update port unset based on review comments in [1]. [1] https://review.openstack.org/#/c/306236/ Change-Id: Icae6e3869516f2d53f90ad46efc03f897c00b0e5 Implements: blueprint network-property-unset
* | | | | | | Correct login name deduction in SshServerCedric Brandily2016-09-151-1/+1
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently SshServer ("server ssh" command) raises an AttributeError if no explicit login is provided because it uses an attribute which no more exists. Change-Id: I86f68230037d51efb41aca62e07e058733ecd67a Closes-Bug: #1624085
* | | | | | Merge "Support mark volume as bootable in volume set"Jenkins2016-09-146-1/+111
|\ \ \ \ \ \
| * | | | | | Support mark volume as bootable in volume setqtang2016-09-146-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --bootable | --non-bootable option in volume set to mark or unmark volume as bootable. Change-Id: Ifa6c2dd1642202f55b6d50e3b8614d3513d488f6 Closes-Bug:#1535704
* | | | | | | Merge "Support listing specified server's ports"Jenkins2016-09-142-5/+38
|\ \ \ \ \ \ \
| * | | | | | | Support listing specified server's portsRui Chen2016-09-142-5/+38
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new option "--server" for "port list" command to list all of the ports that are attached on the specified server. Change-Id: I8b5550ea5068405b163711303465b704b5207410 Closes-Bug: #1614385
* | | | | | | Merge "Multi REST API calls error handling of "volume unset" command"Jenkins2016-09-142-4/+45
|\ \ \ \ \ \ \
| * | | | | | | Multi REST API calls error handling of "volume unset" commandHuanxuan Ao2016-09-112-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support multi REST API calls error handling for "volume unset" command follow the rule in doc/source/command-errors.rst. Also add a unit test for testing the error handling Change-Id: I2de7a7bd5a7a5e39817ed5cf6952abf4afba75e4
* | | | | | | | Merge "Do not show "os-volume-type-access:is_public" property of volume type"Jenkins2016-09-142-3/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Do not show "os-volume-type-access:is_public" property of volume typeHuanxuan Ao2016-09-072-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "os-volume-type-access:is_public" property is the same as "is_public" property in volume type object. So stop showing "os-volume-type-access:is_public" property and leave "is_public" property only. Change-Id: Ic78a9ee69b0ab356edff18cdb4c46fc24b495d2b Closes-Bug: #1620922
* | | | | | | | | Replace 'MagicMock' with 'Mock'qtang2016-09-1429-63/+63
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7aeceede6bd3cb88cf04f398454f9758dbee20f1 Closes-Bug: #1475722
* | | | | | | | Support fetching network project default quotaRui Chen2016-09-133-2/+27
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neutron server and openstacksdk had supported to fetch network project default quota, this patch add the CLI support in openstackclient. Change-Id: If0ef74c268c41a866c62156da0603a40ae4e6e31 Closes-Bug: #1204956 Depends-On: I6a4e2a146351dd1e7d652442511f1ef2c279da42
* | | | | | | Merge "Display hypervisor information without uptime"Jenkins2016-09-122-12/+87
|\ \ \ \ \ \ \
| * | | | | | | Display hypervisor information without uptimeHironori Shiina2016-09-112-12/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some virt drivers such as ironic virt driver doesn't implement a method to get host uptime. For such drivers, hypervisor show command displays no information although these drivers provides other host information. This patch fixes the command to display hypervisor information in case where a virt driver doesn't provide host uptime by ignoring a HTTPNotImplemented exception. Change-Id: I7bcca5862cd9c05aadaf6192cb80aa651cd77cad Closes-Bug: 1612065
* | | | | | | | Merge "Fix regular expression for uptime in hypervisor show"Jenkins2016-09-122-2/+11
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Fix regular expression for uptime in hypervisor showHironori Shiina2016-09-112-2/+11
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hypervisor show command has a few bugs as follows. - It doesn't trim an extra whitespace in the head of uptime information. - It doesn't display uptime information when the number of user is 1. This patch fixes the regular expression to match uptime information. Change-Id: Ic2f7fd9a9274466717084a0886f95f78e98a9007 Closes-Bug: 1611809
* | | | | | Merge "Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups""Jenkins2016-09-122-1/+33
|\ \ \ \ \ \
| * | | | | | Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"Rui Chen2016-09-122-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "per_volume_gigabytes", "backup_gigabytes" and "backups" items can be shown in "openstack quota show" command, but can't be updated by "openstack quota set". This patch fix the issue. Change-Id: I47db5a69d4e4ef6e140f2735257c83e1fb052760 Closes-Bug: #1609767
* | | | | | | Merge "Add functional tests for unset multiple volume type props"Jenkins2016-09-122-0/+30
|\ \ \ \ \ \ \
| * | | | | | | Add functional tests for unset multiple volume type propsRui Chen2016-09-122-0/+30
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CinderClient bug/1596511 cause that OSC can't unset multiple properties of volume type, obviously no functional test case cover the part of logic in OSC, that make the issue raising, the patch add functional test cases for this scenario. Change-Id: I42cf9ac8cc72ccc2f1208926d8faf7b80ee2d288 Partial-Bug: #1596511 Depends-On: I60378a32cdc52aacdf869d69b246dec7eb6cdb77
* | | | | | | Merge "Trivial: Rename ListTransferRequests to ListTransferRequest"Jenkins2016-09-124-6/+6
|\ \ \ \ \ \ \
| * | | | | | | Trivial: Rename ListTransferRequests to ListTransferRequestTang Chen2016-09-124-6/+6
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class name should use plural. Change-Id: I2de2489ff9aa60c2d1bf12743cbd41f2091739ca
* | | | | | | Merge "Unit tests of quota command refactor"Jenkins2016-09-122-44/+112
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Unit tests of quota command refactorRui Chen2016-09-122-44/+112
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do refactor for quota command related unit tests, remove useless code, add new tests to cover '--volume-type' and '--class' option in "quota set" command and add the volume quota fake object. Change-Id: Iaf214740e98db1bfb4c739e810bac1c5ba6e9625
* | | | | | Merge "remove duplicate unit test"Jenkins2016-09-121-286/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | remove duplicate unit testSteve Martinelli2016-09-101-286/+0
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looks like this test snuck in during the refactor: $ diff openstackclient/tests/volume/v1/test_service.py \ openstackclient/tests/unit/volume/v1/test_service.py 17c17 < from openstackclient.tests.volume.v1 import fakes as service_fakes --- > from openstackclient.tests.unit.volume.v1 import fakes as service_fakes Change-Id: I769b2d39f28cfaf65e4027c785b0ddbbefa26aea
* | | | | Merge "Add unit test for volume type in volume v1"Jenkins2016-09-122-0/+421
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add unit test for volume type in volume v1Huanxuan Ao2016-09-112-0/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add unit test for volume type commands (create/delete/show/list/set/unset) in volume v1 Change-Id: I6ff1f1c7482bd0b4bfec5b4a1496807b722fa047
* | | | | Implement "volume transfer request delete" commandHuanxuan Ao2016-09-118-0/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume transfer request delete" command in volume v1 and v2. Also add the unit tests, docs, release note and functional tests Change-Id: Ic3d375bc8df3312fac53c1800d75f48376b8c91c Implements: bp cinder-command-support Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
* | | | | Implement "volume transfer request create" commandHuanxuan Ao2016-09-116-7/+213
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume transfer request create" command in volume v1 and v2. Also add the unit tests, docs, release note and functional tests Change-Id: If362df1acf214efdf6ba129cd917d33eb54e1030 Implements: bp cinder-command-support Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
* | | | Merge "Error handling of multi REST API calls for "snapshot set" command"Jenkins2016-09-113-10/+94
|\ \ \ \
| * | | | Error handling of multi REST API calls for "snapshot set" commandHuanxuan Ao2016-09-113-11/+100
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support multi REST API calls error handling for "snapshot set" command follow the rule in doc/source/command-errors.rst. Also add a unit test for testing the error handling Change-Id: I0c6214271bc54a25b051c0a62438c3344c8b51d7
* | | | Merge "Add "--limit" and "--marker" options to "volume list" command"Jenkins2016-09-114-2/+140
|\ \ \ \
| * | | | Add "--limit" and "--marker" options to "volume list" commandHuanxuan Ao2016-09-114-2/+140
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ``--limit`` option to ``volume list`` command in volume v1, add ``--limit`` and ``--marker`` options to ``volume list`` command in volume v2. Change-Id: I327a252aa83ed84166da99cf6aa80334e0e6dd44 Partial-Bug: #1612484
* | | | Merge "Support error handling for delete commands in volume v1"Jenkins2016-09-117-33/+411
|\ \ \ \
| * | | | Support error handling for delete commands in volume v1Huanxuan Ao2016-09-117-33/+411
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some delete commands in volume v1 support multi delete but do not support error handling, this patch fixes them, and this patch also refactor (or add new) unit tests for some delete commands in volume v1. Change-Id: Ia8177698f8733cfe75ea0ff00eee8fdc0820f62e