summaryrefslogtreecommitdiff
path: root/openstackclient/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Inherited info/option when listing role assignment"Jenkins2015-08-082-29/+127
|\
| * Inherited info/option when listing role assignmentSamuel de Medeiros Queiroz2015-08-062-29/+127
| | | | | | | | | | | | | | | | | | | | Adds inherited information when listing role assignments. In addition, it makes possible to list only inherited ones by adding --inherited option. Change-Id: Idf889603d584716da95e2c7b4880142fbd8291c4 Closes-Bug: 1370546
* | Merge "Fixes inherited role assignments CRUD calls"Jenkins2015-08-071-8/+8
|\ \ | |/ |/|
| * Fixes inherited role assignments CRUD callsSamuel de Medeiros Queiroz2015-08-061-8/+8
| | | | | | | | | | | | | | | | | | | | The paremeter to Keystone Client was passed as 'inherited', when it should be 'os_inherit_extension_inherited'. Closes-Bug: #1482254 Change-Id: I1cb46add532223ef0b9620763b1047cc80e19ec0
* | Merge "Add set feature to volume type v2"Jenkins2015-08-071-0/+130
|\ \
| * | Add set feature to volume type v2heha2015-08-061-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "volume type set" and "volume type unset" is not in the v2. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp: volume-v2 Change-Id: Ia804787d76d2029726c030b43c61eac3b411f66a
* | | Merge "Add list feature to volume v2"Jenkins2015-08-072-1/+219
|\ \ \ | |_|/ |/| |
| * | Add list feature to volume v2heha2015-08-062-1/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "volume list" is not in the v2. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp: volume-v2 Change-Id: I9f4585202f5f9ec5f4c091278fc6c4036efb1290
* | | Merge "Fix quota set failed problem"Jenkins2015-08-062-0/+107
|\ \ \ | |/ / |/| |
| * | Fix quota set failed problemjiaxi2015-07-282-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the command: openstack quota set, the compute quota below can't be set successfully,the value of compute quota stay unchanged, 'fixed-ips', 'floating-ips', 'injected-files', 'key-pairs'. What's more,I add a TODO comment in the code for two reason. 1. volume quota set works fine for the moment. 2. To indicate that this issue about volume needs discuss and report another bug, if it's confirmed. This bug is only about compute quota. Change-Id: Ic1028d561f5a0030cf65ac18fc117bf01e945478 Partial-Bug: #1420104
* | | Merge "Add support for volume v2 commands"Jenkins2015-07-252-2/+484
|\ \ \
| * | | Add support for volume v2 commandsAmey Bhide2015-07-242-2/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following commands: openstack volume create openstack volume set openstack volume unset Implements: blueprint volume-v2 Change-Id: Icb7404815763aa88550112fb42f5200ce05c2486
* | | | Merge "Do not set default versions in parsed args"Jenkins2015-07-241-12/+14
|\ \ \ \ | |/ / / |/| | |
| * | | Do not set default versions in parsed argsTerryHowe2015-07-181-12/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting default versions in parsed args makes it so OCC cannot tell if the argument was parsed, an environment variable was set or it is just defaulted. In order to set api versions from OCC, it will have to be defaulted after processing OCC. Closes-Bug: #1453229 Change-Id: I4d065919397b783f3bdd4022c986c0234a7a16e6
* | | Merge "Add configuration show command"Jenkins2015-07-242-0/+91
|\ \ \ | |_|/ |/| |
| * | Add configuration show commandTerryHowe2015-07-232-0/+91
| |/ | | | | | | | | | | | | | | | | | | | | | | Create a `configuration show` command that displays the current configuration of the CLI. Different configurations can be displayed using options such as --os-cloud. Passwords and tokens are redacted by default unless the --unmask option is specified. Closes-Bug: #1476729 Change-Id: I0792365d0c5fa526cd09c0ed88c6bb1e2cb813a7
* | Merge "Add create and list for volume type v2"Jenkins2015-07-201-0/+129
|\ \
| * | Add create and list for volume type v2chengkunye2015-07-201-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | Volume API v2 is missing create and list features. implements bp: volume-v2 Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
* | | Merge "Format volume type properties when showing"Jenkins2015-07-202-2/+13
|\ \ \
| * | | Format volume type properties when showingSteve Martinelli2015-07-192-2/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | Currently, the properties of a volume type are unformatted. Use the formatter to keep things consistent with the way properties are represented in OSC. Change-Id: I81c6bd3fdbc30568c269e501c740473b2a1ffb4e
* | | Merge "add image member commands for image API"Jenkins2015-07-202-0/+170
|\ \ \ | |/ / |/| |
| * | add image member commands for image APIchengkunye2015-07-202-0/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: image project add image project remove Closes-Bug: 1402420 Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b
* | | Merge "Removes trailing blank in trust show"Jenkins2015-07-191-2/+2
|\ \ \ | |_|/ |/| |
| * | Removes trailing blank in trust showGilles Dubreuil2015-07-191-2/+2
| |/ | | | | | | | | | | | | Previously a blank character at the end of the roles value would remain Change-Id: I0961a5f9fb4b270a6055ee69898eadee315e416a Closes-Bug: 1474707
* | Merge "Remove unnecessary test extension mock"Jenkins2015-07-181-7/+0
|\ \
| * | Remove unnecessary test extension mockTerryHowe2015-07-171-7/+0
| | | | | | | | | | | | | | | | | | The network extension test does not need this. Change-Id: I8dd2cad759a813d7df0476afa6c56f455ddff616
* | | Merge "enhance tests for user v3"Jenkins2015-07-181-0/+33
|\ \ \
| * | | enhance tests for user v3Guojian Shao2015-07-171-0/+33
| |/ / | | | | | | | | | | | | Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b Related-Bug: #1475357
* | | Support multiple volume qos deleteTerryHowe2015-07-172-16/+16
|/ / | | | | | | | | | | | | Also make sure that we are using the singular qos_spec when we should and the plural qos_specs otherwise. Change-Id: If4bbeb6fc245d7d80dc3d7dccfe9f949e802653c
* | Merge "Rename endpoint type to interface"Jenkins2015-07-173-10/+10
|\ \
| * | Rename endpoint type to interfaceTerryHowe2015-07-153-10/+10
| | | | | | | | | | | | | | | Change-Id: I4e21d09bc747e8210f4f79a1d6c4c7ccf2f25d1c Closes-Bug: #1454392
* | | Merge "only return endpoints that have url"Jenkins2015-07-171-0/+40
|\ \ \
| * | | only return endpoints that have urlGuojian Shao2015-07-161-0/+40
| | |/ | |/| | | | | | | | | | Change-Id: I97a502252c0c377fce573e92b83c0122812f6f80 Closes-Bug: #1474656
* | | add --project-domain option for user v3Guojian Shao2015-07-161-0/+62
|/ / | | | | | | | | | | | | | | | | user v3 create/set only support --project option, we need --project-domain to prevent collisions between project names exist. Change-Id: I2d62e5b9bb6df4c5c5a9542514faf2e4365bb18b Closes-Bug: #1475357
* | Merge "Remove the --dhcp option to network list"Jenkins2015-07-141-48/+0
|\ \
| * | Remove the --dhcp option to network listTerryHowe2015-07-081-48/+0
| |/ | | | | | | | | | | | | | | | | | | The --dhcp option lists agents, not networks. This does not make a lot of sense. Another command should be created to list agents. BackwardsIncompatibleImpact Closes-Bug: #1472613 Change-Id: I5ecfe3fc046a07eb64a4dabd41dbd99de7c2215f
* | temporarily skip help testsSteve Martinelli2015-07-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | We're trying to change cliff for the better, by improving the UX of the help command. But cliff tests against the tip of OSC. Temporarily skip the tests that are failing and then update them once the fix for cliff has been merged. The patch in question: https://review.openstack.org/#/c/201258/ Change-Id: Ie1e7ddd66477ddf4a3bafedad12934e900ace48f
* | Merge "Remove testing of cliff command line options"Jenkins2015-07-122-31/+4
|\ \
| * | Remove testing of cliff command line optionsTerryHowe2015-07-082-31/+4
| |/ | | | | | | | | | | These options are part of cliff, let cliff test them. Change-Id: I802c25ba80048607eef6909a21709dcda63231cc
* | Merge "Fix address parsing for server ssh command"Jenkins2015-07-121-0/+54
|\ \
| * | Fix address parsing for server ssh commandTerryHowe2015-07-081-0/+54
| |/ | | | | | | | | | | | | | | | | There seem to be three formats for the server address field and the old code only supported the old format. This code adds a parser for all three formats. Change-Id: I7f12d2c69ff70556907ea6f31a0e0bba91b68b49 Closes-Bug: #1469843
* | Fix wrong mock method calllin-hua-cheng2015-07-113-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no assert_called() method in mock, replace it with assert_called_with() method. The old method used to work with mock 1.0.1 because it was a noop in magicmock. Needs https://review.openstack.org/#/c/200583 to pass the requirements check. https://review.openstack.org/#/c/193935/ changed the OS_* vars we source by forcing v2password as the auth method. change our identity v3 test setup by setting v3password Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closes-Bug: 1473454 Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
* | openstack catalog list always returns publicURL for internalURL and adminURLMartin Schuppert2015-07-081-8/+10
|/ | | | | | | | With this change 'openstack catalog list' returns the correspoding URL for publicURL, internalURL and adminURL in _format_endpoints . Change-Id: I5d946c9d70a2d3c22a7cc77067fec8e2e9aa4940 Closes-Bug: 1472629
* Merge "Add --os-endpoint-type cli optional argument"Jenkins2015-07-034-0/+31
|\
| * Add --os-endpoint-type cli optional argumentRoxana Gherle2015-07-024-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | User should be able to specify the endpoint type through a CLI optional argument/ENV variable setting. We will name this new optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and based on the value given, the service API will use that specific endpoint type. Possible values: public, admin, internal. DocImpact Closes-Bug: #1454392 Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
* | Merge "Move update code from image create command"Jenkins2015-07-021-67/+65
|\ \
| * | Move update code from image create commandMarek Aufart2015-07-021-67/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Openstack image create command updates existing image (with same name) by default. That might be confusing since glance allows create multiple images with same names and may lead to unwanted image update by image create command. Image update code was moved from image create action to image set action. BackwardsIncompatibleImpact Change-Id: I1686c6544c366262efab9e33c066d5f8a667f707 Closes-Bug: #1461817
* | | Merge "Add functional tests for image set"Jenkins2015-07-011-2/+4
|\ \ \
| * | | Add functional tests for image setTerryHowe2015-06-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes functional tests for image set and it includes a change to use the OSC utils.format_dict method to format the properties. This will give a more user friendly format to the image commands and it gives a more consistent testable format to the output. Instead of: {u'a': u'b', u'c': u'd'} The user will see: a=b, c=d Change-Id: Ib396316586ffc5dbab231064d5b6dc9425507934
* | | | Merge "Add tests for 'list' and 'show' for volume qos v1"Jenkins2015-07-012-0/+111
|\ \ \ \