summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Send 'changes-since' instead of 'changes_since' query parameter"3.13.0Zuul2017-12-132-8/+9
|\
| * Send 'changes-since' instead of 'changes_since' query parameterDaniel Speichert2017-12-112-8/+9
| | | | | | | | | | | | | | | | | | | | Per API reference, only 'changes-since' is accepted and the variant with underscore is ignored, making the CLI functionality broken. [dtroyer] added release note and fixed unit tests. Change-Id: I0c596531a8af03da17d5ce39d75b12e941403aa5 Closes-Bug: 1732216
* | Merge "Add support for endpoing filter commands"Zuul2017-12-135-17/+339
|\ \
| * | Add support for endpoing filter commandsJose Castro Leon2017-11-215-17/+339
| |/ | | | | | | | | | | | | | | | | Implements the commands that allow to link and endpoint to a project for endpoint filter management. Implements: blueprint keystone-endpoint-filter Change-Id: Iecf61495664fb8413d35ef69f07ea929d190d002
* | Merge "Fix credentials in create, update and list."Zuul2017-12-112-20/+3
|\ \
| * | Fix credentials in create, update and list.yangweiwei2017-11-172-20/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Now, keystone has supported serverl auth method, like 'totp'. Before we use this method, we should create the credential first. And we need create it with type 'totp'. But now we cannot create credential with this method. Also, I think the type should not have constrains. We can create any type in keystone project. So, we should do these actions too. The type would be more which We cannot control. Change-Id: Ie0482da3133fb515e4bb8e45f8c54f509589cc5e Closes-bug: #1731848
* | Fix SDK Connection creation alternative to ProfileDean Troyer2017-12-072-7/+24
| | | | | | | | | | | | | | | | | | Do a dummy import to determine which SDK is installed (Pre/post merge). This solves the DevStack error "Cloud defaults was not found" in -tips jobs. Depends-On: Ia111f127fbdceac2afe20fd9d1fe032145cdd72c Change-Id: I60c2d418dd5a393eee2cc2a5c2fdebfffdabf2d3
* | Merge "Remove a bunch of things we promised to remove in 2H 2017"Zuul2017-12-049-249/+1
|\ \
| * | Remove a bunch of things we promised to remove in 2H 2017Dean Troyer2017-11-309-249/+1
| | | | | | | | | | | | Change-Id: I060559fe13e354fe87551cd9dd82774bddb54640
* | | openstack subnet create fails when tags is NoneCarlos Konstanski2017-12-011-2/+2
|/ / | | | | | | | | | | | | | | In network/v2/_tag.py lines 105 and 110: obj.tags can be None, in which case set(obj.tags) throws a NoneType exception. Change-Id: I1e965ec947844cbf84676fab27a2261fc0c0ea49 Closes-Bug: #1735836
* | Merge "Replace %r with %s on printing string variable"Zuul2017-11-281-2/+2
|\ \
| * | Replace %r with %s on printing string variableHongbin Lu2017-11-131-2/+2
| |/ | | | | | | Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58
* | Remove hard-coded policy choices for creating a server groupMatt Riedemann2017-11-192-4/+5
| | | | | | | | | | | | | | | | | | | | | | The hard-coded choices for the server group policy make it impossible to create a server group with the soft-affinity or soft-anti-affinity policy rules which were added in compute API microversion 2.15. This removes the hard-coded choices so that the policy is restricted on the server side rather than the client side. Change-Id: Ib3dc39422ac1015872d56ae2fdeddf0f29613494 Closes-Bug: #1732938
* | Merge "Prepare for os-clinet-config to go away"Zuul2017-11-171-1/+0
|\ \
| * | Prepare for os-clinet-config to go awayDean Troyer2017-11-161-1/+0
| | | | | | | | | | | | | | | | | | | | | We used that module in a test functional for module list, it is being absorbed into python-openstacksdk and having it listed in this test breaks -tips jobs. Change-Id: I98fdf5a5d1b3c6e30cb4c5f5fec3dd8e43e53145
* | | Add logic to handle old and new sdk constructorMonty Taylor2017-11-161-9/+18
|/ / | | | | | | | | | | | | | | | | | | | | SDK is removing Profile, but currently has compat code to support this invocation in OSC. While the intent is to protect people from upgrade breakage, it's python, and packaging things have a tendency to get strange. By putting in a little belt and suspenders if block here, we can hopefully protect folks who upgrade sdk for some reason without upgrading python-openstackclient. Change-Id: Id678e97a2b99dbbfc772acc8c6ba283db551723d
* | Merge "Network: Add interfaces info in router show"Zuul2017-11-162-6/+38
|\ \
| * | Network: Add interfaces info in router showycx2017-11-152-6/+38
| |/ | | | | | | | | | | | | | | | | | | | | | | Add a list of interfaces info in the output of 'openstack router show'. The information of router interface are: IP address, subnet ID and port ID. Co-Authored-By: Dongcan Ye <hellochosen@gmail.com> Change-Id: I1252986122122defffe795292b83dc4e84481c7e Closes-Bug: #1675489
* | Merge "Show detailed message of neutron exception"Zuul2017-11-161-0/+2
|\ \
| * | Show detailed message of neutron exceptionHongbin Lu2017-11-141-0/+2
| |/ | | | | | | | | | | | | | | This patch improves the error message by retrieving the more details from the exception instance. Otherwise, the real error message won't be displayed (unless using --debug in the command). Change-Id: I8ba694bda86f7cc8362e301b2044d9b610dde49c
* | Add RemoveNetwork command to serverHongbin Lu2017-11-142-0/+86
|/ | | | | | | This command will detach a server from a network. All server's neutron ports that belongs to the specified networks will be removed. Change-Id: I83a064ed62ab00c6f1016900b9cf30f1c15b8382
* Merge "Be robust on import plugin module"Zuul2017-11-081-1/+7
|\
| * Be robust on import plugin moduleHongbin Lu2017-10-071-1/+7
| | | | | | | | | | | | | | | | | | On loading external plugin, OSC should be robust on importing the plugin module so that commands from other modules can continue to execute. Closes-Bug: #1722008 Change-Id: Ibe716681c7f78fabee31b7ef281af2588d68ab30
* | Merge "Neutron agent delete: remove the wrong argument"Zuul2017-11-072-18/+8
|\ \
| * | Neutron agent delete: remove the wrong argumentnpraveen352017-11-062-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The take_action() function was calling get_agent() with the wrong attribute, causing agent deletion to fail. It turns out calling get_agent() isn't necessary; this removes the call entirely and moves the 'ignore_missing' argument to the delete_agent() function. Change-Id: Iaa3754a3be0765112f396495fa5fb2e32e6eae4e Closes-Bug: #1711301
* | | Merge "Network: Add supports rbac target-all-projects"Zuul2017-11-072-7/+40
|\ \ \ | |/ / |/| |
| * | Network: Add supports rbac target-all-projectsDongcan Ye2017-11-052-7/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a boolean option "target-all-projects", which allows creating rbac policy for all projects. Change-Id: Ie3af83a1bba7dd66e83b0595bb276bf8fd105831 Closes-Bug: #1728525 Closes-Bug: #1704834
* | | Merge "Display Network QoS rule type details"Zuul2017-11-063-0/+93
|\ \ \
| * | | Display Network QoS rule type detailsSławek Kapłoński2017-11-053-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neutron API now supports getting details of supported QoS rule type. This patch adds support for this feature to OpenStack client. Change-Id: I74d16563ce2236a7c899f5994f1dab43ace02138 Depends-On: I448b5d4f8e4ef42eafe50d9d6c63d0be666f98fc Related-Bug: #1686035
* | | | Rehome test units libPierre Hanselmann2017-11-023-3/+5
| |/ / |/| | | | | | | | | | | | | | Rehoming deprecated libs for the ones provided in osc-lib. Change-Id: Idb4a27f2c8edf48909ef010e3c7a1a5c0c16efc5
* | | Merge "Added AddNetwork command to server"Zuul2017-10-302-0/+80
|\ \ \
| * | | Added AddNetwork command to serverHongbin Lu2017-10-262-0/+80
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if users want to add another NIC to a running instance, they need to (i) create a neutron port and (ii) add the port to the server via teh AddPort command. It would be more convenient to have a single command to achieve the equivalent. Novaclient already support adding network to an instance via the interface-attach command. This patch introduces a similar capability in OSC. Change-Id: Ia3e39c57ae7ecb96aae1b66adc52c289daccb6ec
* | | Add server rescue unit testsDean Troyer2017-10-271-0/+85
| | | | | | | | | | | | | | | | | | Added to support the new options to server rescue command. Change-Id: Ia9dca85e05488fa8d5f57cd5e8920e94b8f65c22
* | | Merge "Add missing parameters on openstack server rescue"Zuul2017-10-272-6/+36
|\ \ \ | |/ / |/| |
| * | Add missing parameters on openstack server rescueJose Castro Leon2017-10-272-6/+36
| | | | | | | | | | | | | | | Change-Id: I27afca9e826378dbcb7feb7528e0c65c528b04b0 Closes-Bug: #1703278
* | | Merge "Native DevStack jobs"Zuul2017-10-252-106/+0
|\ \ \
| * | | Native DevStack jobsDean Troyer2017-10-242-106/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert legacy DevStack jobs to native Zuul v3 form, plus some test-job-related docs updates. Change-Id: Ia8c08be81605da885b9eee799fc58129305dfc41
* | | | Merge "Add wrapper around ostestr"Zuul2017-10-231-0/+16
|\ \ \ \ | |/ / /
| * | | Add wrapper around ostestrMonty Taylor2017-10-231-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The functional tests assume that an openrc file has been sourced. Make a simple wrapper that will do that. Change-Id: I42584aaebcbca99a8c922f6ff90c8bbce57bbfbb
* | | | Merge "Allow creating security rules without protocol"Zuul2017-10-212-3/+35
|\ \ \ \
| * | | | Allow creating security rules without protocolDaniel Speichert2017-10-172-3/+35
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to create a rule for any protocol, the client must not specify the protocol in the API call. This is currently impossible because protocol defaults to TCP. In order not to change the default behavior, a "new" protocol name is added: "any", which makes this CLI skip sending the protocol field altogether. Change-Id: I58853d3745f3631007e5e9780c0c5c2526b730a3 Closes-Bug: 1712242
* | | | Merge "Accept 0 for --min-disk and --min-ram"Zuul2017-10-214-4/+58
|\ \ \ \ | |_|/ / |/| | |
| * | | Accept 0 for --min-disk and --min-ramShogoAdachi2017-10-204-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current openstackclient implementation cannot accept 0 for --min-disk and --min-ram with the "openstack image set" command. If theses options get set to 0, the option parser in openstackclient wrongly interprets 0 as no option value. The 0 is valid for these options if administrators want to make it the default(no minimum requirements). This patch fix the parser so that it avoids only 'None'. Change-Id: Ie8ee37484c02c26f54adc56263fcd167c0ce7eb3 Closes-bug: #1719499
* | | | Attempt to de-race qos policyDean Troyer2017-10-181-3/+7
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | We're getting about 1-in-6 failures on qos policy delete now, with the message that the policy is in use by a network. It shouldn't be, this is possibly due to the small window where the policy is set as the default. Let's remove that and shore up the test using --share instead. Change-Id: I8d669bd3c5c88dadd2927aee89e5ef72cf4001c4
* | | Switch to $USER in post_test_hooksIan Wienand2017-10-162-8/+8
| | | | | | | | | | | | | | | | | | | | | As a first step to zuul migration, switch to $USER from a static "jenkins" username. Change-Id: I26ed12133c75a69182c56b6ecf483fcdc37d98f3
* | | Merge "Optimize getting endpoint list"Jenkins2017-10-133-1/+14
|\ \ \
| * | | Optimize getting endpoint listAnton Frolov2017-09-263-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently ListEndpoint.take_action method unconditionally iterates over all endpoints and issue GET /v3/services/<ep.service_id> request for each endpoint. In case of HTTPS keystone endpoint this can take significant amout of time, and it only getting worse in case of multiple regions. This commit change this logic to making just two GET requests: first it gets endpoint list, then it gets service list, searching service in the list instead of issuing GET /v3/services/<id> request. Change-Id: I22b61c0b45b0205a2f5a4608c2473cb7814fe3cf Closes-Bug: 1719413
* | | | Avoid default mutable values in argumentsRodolfo Alonso Hernandez2017-10-101-1/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Mutable values shouldn't be used as default values in function arguments [1]. [1] http://docs.python-guide.org/en/latest/writing/gotchas/ Change-Id: I3c7f915f0409c77f4c430467365eb1bcfd7757b3
* | | Support creating unaddress neutron portHongbin Lu2017-09-292-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce an option '--no-fixed-ip' on port create command. If this option is specified and '--fixed-ip' is unspecified, OSC will send a request to neutron with 'fixed_ips' as an empty list, which will create an unaddress neutron port. Note: The use cases of unaddress port was outlined in: https://specs.openstack.org/openstack/neutron-specs/specs/liberty/unaddressed-port.html (dtroyer: add Depends-On for Zuul v3 test) Depends-On: I39e8e49243ab0bda631600715c971c55a34e2fd9 Change-Id: Ibe38598acbbcd0d353c952fc2a6fa67780762151 Closes-Bug: #1717829
* | | Merge "Support icmp-type and icmp-code to be set as zero"Jenkins2017-09-272-2/+172
|\ \ \