summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Wrong param type in compute-service.rstSheel Rana2016-03-301-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compute-service.rst file uses 'describe' for below optional parameters 1. --long 2. --service <service> 3. --host <host> This patchset changes type of these argument to option. Change-Id: Ifd57bdf058efaeaa6cb43a7d4a60ee61ddb8de14 Closes-bug:#1563700
* | | | | Merge "Remove unused method 'from_response'"Jenkins2016-03-291-25/+0
|\ \ \ \ \
| * | | | | Remove unused method 'from_response'Wenzhi Yu2016-03-291-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'openstackclient.common.exceptions.from_response' method is never called in openstackclient code base, so we should remove it. Change-Id: I04254a4e66863942e6c273d77bbd66ce2ce7804c Related-Bug: #1559072
* | | | | | Merge "Docs cleanup: volume type"Jenkins2016-03-292-30/+30
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Docs cleanup: volume typeDean Troyer2016-03-282-30/+30
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up volume type command help, add volume type show to doc, sort command classes in v1/volume_type.py. Change-Id: I1f8e5c047d9c08f5704fc23cfb694f23d32e3caf
* | | | | Docs cleanup: volume command helpDean Troyer2016-03-282-56/+56
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This formats the volume command help text consistent with the rest of OSC, adds some reference targets and some explanation text to some commands. No functional changes have been made, only cosmetic/help output. Change-Id: Ib86ec3ca58bdea5f33078ced3ec3583b2be0e89a
* | | | Merge "Support security group name for --src-group"Jenkins2016-03-282-7/+15
|\ \ \ \
| * | | | Support security group name for --src-groupRichard Theis2016-03-232-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support security group name for the "--src-group" option on the "os security group rule create" command. Change-Id: Ic23d0671dad77566269c9a588644c8d774368733 Closes-Bug: #1540656
* | | | | Merge "Refactor security group rule create to use SDK"Jenkins2016-03-286-343/+423
|\ \ \ \ \ | |/ / / /
| * | | | Refactor security group rule create to use SDKRichard Theis2016-03-236-343/+423
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group rule create' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. Change-Id: I8c6c99d5272ff5d410a449f73d198d834c5cd96e Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | Merge "Subnet: Add "subnet set" command using SDK"Jenkins2016-03-252-80/+209
|\ \ \ \
| * | | | Subnet: Add "subnet set" command using SDKreedip2016-03-242-80/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds "subnet set" command to osc using sdk. Implements: blueprint neutron-client Closes-bug: #1542363 Change-Id: Id3b7f4b9190b4d73ca3ae423321a65f94a6da62e
* | | | | [Floating IP] Neutron support for "ip floating create" commandTang Chen2016-03-243-23/+249
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds --subnet, --port, --floating-ip-address and --fixed-ip-address options only. Project related options will be added in another patch because it relates to identity v2 and v3, which will make the unit tests too complicated in one single patch. Change-Id: I3cce4404a114ff128b74e4596f0e847be2846b17 Partial-Bug: 1519502 Related-to: blueprint neutron-client
* | | | Merge "Fix "server unset" document issue"Jenkins2016-03-231-1/+1
|\ \ \ \
| * | | | Fix "server unset" document issueRui Chen2016-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix "--property" option describe issue in "server unset" document, and update the help message to keep consistent. Change-Id: I68022a187e83fad6320365400ad2a1b0c8cf9a61
* | | | | Trivial: Fix typo in common/limits.pyTang Chen2016-03-231-2/+2
|/ / / / | | | | | | | | | | | | Change-Id: I3040cc69512df50459960f96b862de55804068ac
* | | | Use assert_called_once_with() instead of assert_called_with()Tang Chen2016-03-226-58/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If one API is only called once, we'd better use assert_called_once_with() to check the call. Change-Id: Id05055bb90592d218826732259ed84fc366734ce
* | | | Merge "Improve error for token issue command without auth"Jenkins2016-03-211-0/+4
|\ \ \ \
| * | | | Improve error for token issue command without authtimothy-symanczyk2016-03-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when you perform the 'token issue' command with the admin_token, the error is a nonsense python error. This commit changes it to be user-friendly. Change-Id: I5cc92c342e3f83e099354cd04301c7b8d8d2dabc Closes-Bug: #1547721
* | | | | Image API v2: make volume_type optionalNicolas Simonds2016-03-181-1/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is perfectly valid for a Cinder volume to have a volume_type of "none", so don't make the Image API v2 require that one be set. Change-Id: I1a6da8d791fa0ae67cac46eec81bcbcb420729c3 Closes-Bug: #1559344
* | | | Fix keypair create --public-keyDean Troyer2016-03-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit Id702ccaad239b916340bb17014d1ede0a28aaec9 changed the keypair create --public-key to use io.open but incorrectly reads the file in binary mode, which causes JSON serialization to fail. The unit tests mock out io.ioen (the reason for adding it in the first place actually) so any testing for this specific problem would have to be done in functional tests...yet to come. Closes-bug: 1559125 Change-Id: I7a299a542d9df543bff43d3ea1e7907fc8c5f640
* | | | Merge "Fix options in port create/set"Jenkins2016-03-172-12/+52
|\ \ \ \ | |/ / / |/| | |
| * | | Fix options in port create/setDean Troyer2016-03-172-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * --device-id should have been --device * --host-id should have been --host Old options are deprecated and retained for compatibility since they appear in a release. Closes-Bug: 1558677 Change-Id: Ic733523c8d57060f2cb5d420fdb1f7598e7d5e71
* | | | Merge "Add option to allow filtering by router on port list"Jenkins2016-03-172-2/+41
|\ \ \ \
| * | | | Add option to allow filtering by router on port listJas2016-03-162-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support to allow filtering ports via --router option to list ports that are applicable to specific router. Partial-bug: #1519909 Partially-implements: blueprint neutron-client Change-Id: I6dd958603909f641735c821a62fc0d45afd5c7ec
* | | | | Merge "[compute] Add set host command"Jenkins2016-03-173-0/+188
|\ \ \ \ \
| * | | | | [compute] Add set host commandjichenjc2016-02-263-0/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set host command is missing, add it as SetHost class. Change-Id: I7acb94150718b7150598632cbebc3d85018a0d59
* | | | | | Add support for deleting Image-propertyroot2016-03-162-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to delete volume's image property. This patch will provide support for deleting image property to existing volume. Closes-Bug:#1554879 Change-Id: I9256913948fae9e9a03fed173b826dfa918f78e9 Implements: bp cinder-command-support
* | | | | | Add support for setting Image-propertyroot2016-03-162-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to set volume's image property. This patch will provide support for adding image property to existing volume. Closes-Bug:#1554877 Implements: bp cinder-command-support Change-Id: I4ff5532c228f010789b81c7587dd4a2838a90f20
* | | | | | Merge "Add project options to security group create"Jenkins2016-03-162-0/+62
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Add project options to security group createRichard Theis2016-03-112-0/+62
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --project and --project-domain options to the 'os security group create' command. These options are for Network v2 only. Change-Id: I9e1667080a1a49389d51ade2e76a08b08a09870b Closes-Bug: #1519511 Implements: blueprint neutron-client
* | | | | Merge "Support "--long" option in ListService"Jenkins2016-03-143-10/+54
|\ \ \ \ \
| * | | | | Support "--long" option in ListServiceRui Chen2016-03-143-10/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--long" option in ListService so that compute service disabled reason can be showed. Change-Id: I1ace8f1c4e4efe0a1a8f6710425d73eb5db9e5e1 Closes-Bug: #1556815
* | | | | | Merge "Add "os subnet create" command using SDK"Jenkins2016-03-143-7/+557
|\ \ \ \ \ \
| * | | | | | Add "os subnet create" command using SDKBrad Behle2016-03-103-7/+557
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the openstack client subnet create command using SDK calls. Co-Authored-By: Terry Howe <terrylhowe@gmail.com> Partially implements: blueprint neutron-client Closes-Bug: #1542364 Change-Id: Ia6120b8dccf2ee83dc89b3f496f7180d4dc5199a
* | | | | | | Merge "Use assertItemsEqual() instead of assertListEqual()"Jenkins2016-03-141-10/+2
|\ \ \ \ \ \ \
| * | | | | | | Use assertItemsEqual() instead of assertListEqual()Tang Chen2016-03-141-10/+2
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertListEqual() is order sensitive. So we need to sort the lists before we compare them. Use assertItemsEqual() instead is better. Change-Id: I9eaa98716c7401f5b099b007438acc916dae619b
* | | | | | | Fix dict.keys() compatibility for python 3Tang Chen2016-03-1211-11/+11
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 2, dict.keys() will return a list. But in Python 3, it will return an iterator. So we need to fix all the places that assuming dict.keys() is a list. Change-Id: I8d1cc536377b3e5c644cfaa0892e40d0bd7c11b1 Closes-Bug: #1556350
* | | | | | Merge "Fixed command list"Jenkins2016-03-112-8/+28
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fixed command listBrandon Palm2016-03-092-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cliff module expects an array of tuples however the array that this function was returning was an array of tuples that was also containing an array of values for the commands attached to each group and the cliff module wasn't liking it. The output now comes out looking like: | openstack.common | limits show | | | extension list | | openstack.baremetal.v1 | baremetal set | Change-Id: Ifa1c149cb5c66ba27dc72bf72d7c8f2f50e42f73 Closes-Bug: 1545609
* | | | | | Merge "Trivial: Reorder classes in identity v3 in alphabetical order"Jenkins2016-03-116-217/+217
|\ \ \ \ \ \
| * | | | | | Trivial: Reorder classes in identity v3 in alphabetical orderTang Chen2016-03-116-217/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaf2e336c2415416ec69f6b974743c26509bba561
* | | | | | | Merge "Enhance list extension unit test"Jenkins2016-03-112-40/+137
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Enhance list extension unit testFang Zhen2016-03-112-40/+137
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extension list involves identity, compute, volume and network. Current test covers only identity and network. This patch added test against compute and volum. Also refactored current implentation. Change-Id: If9b36cba24c50a817a17f685801e418fb898596a
* | | | | | Merge "Refactor security group create to use SDK"Jenkins2016-03-114-165/+203
|\ \ \ \ \ \
| * | | | | | Refactor security group create to use SDKRichard Theis2016-03-104-165/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group create' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. The tenant_id column name was fixed to align with the 'os security group show' command. Change-Id: Ib29df42edcddcc73a123fff6a64743a6bfcb7fbf Partial-Bug: #1519511 Implements: blueprint neutron-client
* | | | | | | Merge "Refactor security group show to use SDK"Jenkins2016-03-117-92/+303
|\ \ \ \ \ \ \ | |/ / / / / / | | / / / / / | |/ / / / / |/| | | | |
| * | | | | Refactor security group show to use SDKRichard Theis2016-03-107-92/+303
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group show' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. The column names remain unchanged to maintain backwards compatibility. Change-Id: I25233ddb8115d18b8b88affb3de13346084a339d Partial-Bug: #1519511 Implements: blueprint neutron-client
* | | | | Merge "[Subnet pool] Add 'subnet pool create' command support"Jenkins2016-03-103-4/+138
|\ \ \ \ \
| * | | | | [Subnet pool] Add 'subnet pool create' command supportTang Chen2016-03-083-4/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports creating a new subnet pool, with pool prefixes, default prefix length, minimum prefix length, and maximum prefix length specified. Change-Id: I9150797c8cfa794d5264ad07965aa967d9a8f5bc Partial-Bug: #1544586 Related-to: blueprint neutron-client