summaryrefslogtreecommitdiff
path: root/openstackclient/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Glance `image set` Resolve Fracturing"Jenkins2015-09-231-2/+1
|\
| * Glance `image set` Resolve FracturingNiallBunting2015-09-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently `image set` uses the new api, where other parts of osc the old api is used. This deprecates the v2 api in favour of the v1 to maintain the same commands across osc. However the functionality now remains there as people could now be using this functionality. This also adds the --unprotected argument, as in the previous version if --protected was not supplied it would just make the argument --unprotected without the users explicit consent. The patch also fixes the documentation for image set as it was outdated. Change-Id: I990d20332c80165102badef7ac94ddbeb7824950 Closes-Bug: 1498092
* | Add image create support for image v2Monty Taylor2015-09-211-0/+186
|/ | | | | | | | | | | We have it for v1, but v2 is the future. There are two differences, things in v2 do not go into a properties dict, and the actual image data needs to get uploaded as a second step. Closes-Bug: 1405562 Co-Authored-By: Niall Bunting <niall.bunting@hp.com> Co-Authored-By: Sean Perry <sean.perry@hp.com> Change-Id: If7b81c4a6746c8a1eb0302c96e045fb0f457d67b
* Merge "Add tests for volume quota set"Jenkins2015-09-191-0/+45
|\
| * Add tests for volume quota setTerryHowe2015-08-111-0/+45
| | | | | | | | | | | | | | Add some tests for volume quota set and get rid of TODO about using the value instead of the key to get the attribute. Change-Id: I57aa57951aeea65965966e63af922cda532d759d
* | Merge "Create log configuration class"Jenkins2015-09-092-132/+114
|\ \
| * | Create log configuration classTerryHowe2015-08-262-132/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration of logging gets triggered twice. The first time it uses the CLI options when the application is started and second it uses the configuration file after that is read. The state of the logging needs to be saved from the first to the second time, so I created a class. Implements: blueprint logging-migration Change-Id: I7b8d1a3b6fd128e98cafd7c16009c7b694a52146
* | | Merge "Optimize log formatting"Jenkins2015-09-091-37/+25
|\ \ \ | |/ /
| * | Optimize log formattingTerryHowe2015-08-131-37/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no way to change the configuration variables we want printed in log messages, so format them in the constructor. This will save us from overridding the format method and a couple cpu cycles every log message. This change also moves the _LOG* variables into the formatter since they aren't really globally needed. Change-Id: I706e9db7da3daec20332f9d1533fe665f2739dea Implements: blueprint logging-migration
* | | Merge "Extract log level from configuration file"Jenkins2015-09-091-0/+24
|\ \ \ | |/ /
| * | Extract log level from configuration fileTerryHowe2015-08-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract log_level from configuration file if the level was not overridden by the command line option. The default command line option is 1 and there is no command line option to set the verbose_level to 1, so if it is 1, it has not be set. Change-Id: I1be04367c72f83c1181f92ca4c2c83165b66995c Implements: blueprint logging-migration
* | | Merge "Move options to log level out of shell.py"Jenkins2015-09-091-0/+11
|\ \ \ | |/ /
| * | Move options to log level out of shell.pyTerryHowe2015-08-131-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Move the conversion of command line options to log level out of shell.py. Change-Id: I86cb45a85cd63927aa1c87c1eed27542981df659 Implements: blueprint logging-migration
* | | Merge "Move set warnings filters to logging module"Jenkins2015-09-081-0/+9
|\ \ \ | |/ /
| * | Move set warnings filters to logging moduleTerryHowe2015-08-131-0/+9
| | | | | | | | | | | | | | | | | | | | | This is the first step in moving logging out of shell.py Change-Id: I3dcb4e17bb4687988ddf9b793ad1a308ef89b242 Implements: blueprint logging-migration
* | | Merge "Properly handle port arguments for ICMP"Jenkins2015-09-081-0/+338
|\ \ \
| * | | Properly handle port arguments for ICMPDean Troyer2015-09-031-0/+338
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The Compute API requires 'from_port' and 'to_port' to be -1 for ICMP security group rules. It happily accepts them empty or None but the resulting rules do not work. So we force the values for ICMP rules. Closes-bug: #1477629 Change-Id: Iba57211014caca16be7c9a28d15d4db2a6c51b8d
* | | Merge "Set up every time record log in file"Jenkins2015-09-082-4/+194
|\ \ \ | | |/ | |/|
| * | Set up every time record log in fileDaisuke Fujita2015-08-082-4/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow users to record logs of all their commands into a predefined log file, in clouds.yaml. The log should have a format similar to that of oslo.log. Change-Id: I1b334bf429d575fc25809c9706fc0b11116be3f1 Implements: blueprint every-time-record-log-in-file
* | | Volume v2 list does not show server nameTerryHowe2015-08-282-8/+9
| |/ |/| | | | | | | | | | | | | The volume v2 list was using the volume id rather than the server id. Change-Id: Ibe03d34b5b503af2d00202dabd640f796449cf9a Closes-Bug: #1489954
* | 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
|\ \