summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | 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
|\ \ \
| * | | Support icmp-type and icmp-code to be set as zerogvrangan2017-09-262-2/+172
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | When icmp-type or icmp-code are set to 0, the current implementation ignores the value, this fix will allow the value to be copied and displayed Change-Id: I96133a57883d22e98fcbb9fe0328d9e050472469 Signed-off-by: gvrangan <venkatrangang@hcl.com>
* | | Merge "Fix 'project purge' deletes ALL images problem"Jenkins2017-09-274-13/+22
|\ \ \
| * | | Fix 'project purge' deletes ALL images problemlihaijing2017-09-264-13/+22
| |/ / | | | | | | | | | | | | Closes-Bug: #1717130 Change-Id: I33c6fc7897dfee85d1c197a1267bde4abfa5bbd9
* | | Merge "Add "volume service list --host" functional test case"Jenkins2017-09-261-2/+12
|\ \ \
| * | | Add "volume service list --host" functional test caselihaijing2017-09-191-2/+12
| | | | | | | | | | | | | | | | Change-Id: I467252d9fc6083fb891a8701d7992f16ce42556f
* | | | Merge "Update the documentation link for doc migration"Jenkins2017-09-262-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Update the documentation link for doc migrationlingyongxu2017-09-212-2/+2
| |/ / | | | | | | | | | | | | | | | | | | This patch is proposed according to the Direction 10 of doc migration(https://etherpad.openstack.org/p/doc-migration-tracking). Change-Id: Ieca93d77bfc5e54486312f16122cc12c5bda0934
* | | Merge "Add functional test cases for "volume qos associate/disassociate""Jenkins2017-09-191-1/+93
|\ \ \
| * | | Add functional test cases for "volume qos associate/disassociate"lihaijing2017-09-181-1/+93
| | | | | | | | | | | | | | | | | | | | Change-Id: I07b25bebb8a0ea18cdf042357be65c4ec6e1cfed Closes-Bug: #1717874
* | | | Merge "Unroll the network qos policy functional tests"Jenkins2017-09-191-33/+42
|\ \ \ \ | |_|/ / |/| | |
| * | | Unroll the network qos policy functional testsDean Troyer2017-09-171-33/+42
| |/ / | | | | | | | | | | | | | | | | | | These seem to have gotten a bit racy in the last revision, just do it the long way now. Change-Id: I3748b8b4f264dbfa8c991b32653682e5c86eeb4c
* | | Merge "Useless line of code in shell.py"Jenkins2017-09-181-3/+0
|\ \ \ | |/ / |/| |
| * | Useless line of code in shell.pyHuan Xiong2017-09-081-3/+0
| |/ | | | | | | | | | | | | | | | | | | Shell.py contains lines to import osprofiler. This is useless because osprofiler options support code was moved to osc-lib. Removed it. Change-Id: Ibec17700c87df908640848c3787d190ca66a7bcf Closes-Bug: #1707103
* | Merge "Attempt to work around chronically failing server issues with ↵Jenkins2017-09-162-4/+15
|\ \ | | | | | | | | | aggregates and qos"
| * | Attempt to work around chronically failing server issues with aggregates and qosDean Troyer2017-09-152-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | So yeah, this is not kosher for functional tests, but we're testing the client interaction, not the raciness of Nova or Neutron. Failure to delete is not our problem. Change-Id: I21043f1de0fbacee1aec63110fb12a7cff42e0a0
* | | Fix subunit collection in functional tests with ostestr>=1.0.0Matthew Treinish2017-09-152-0/+16
|/ / | | | | | | | | | | | | | | | | With the release of os-testr 1.0.0 stestr is used internally and because of that the repository dir and commands to get subunit are different. This commit updates the post-test hook to get the subunit stream if ostestr>=1.0.0 is used. Change-Id: I2cce7f4780ce418398b17a5848def9072372841e
* | Merge "Fix output for subnet show"Jenkins2017-09-131-1/+1
|\ \
| * | Fix output for subnet showJens Harbott2017-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The use_default_subnet_pool column is never returned by the API, it is only being used in the request to create a subnet. So make sure that we do not show it when displaying a subnet. Change-Id: Ie021149cceb8f89b779ad0f3c13ac60420509671 Related-Bug: 1668223
* | | Merge "Correct import of keystoneauth1 session"Jenkins2017-09-131-1/+1
|\ \ \
| * | | Correct import of keystoneauth1 sessionGage Hugo2017-09-121-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | keystoneclient.session has been long deprecated in favor of keystoneauth1.session. This change corrects the import in the tests to use the correct library's session. Change-Id: Ic24ebde59e4b9eb70d6f14c1e0536f8d24f0de73
* | | Skip Volume v1 functional tests if v1 not presentDean Troyer2017-09-121-3/+24
|/ / | | | | | | | | | | | | | | Volume v1 is gone in Queens Just skip it for now until DevStack does not create a v1 endpoint Change-Id: I2aa2f78b0d5c8ac2048c922c7835e5c4574028cc
* | Merge "Update image cli doc and fix some typos"Jenkins2017-08-251-1/+1
|\ \
| * | Update image cli doc and fix some typoslihaijing2017-08-251-1/+1
| |/ | | | | | | | | Change-Id: I0a8d095e51a96804c97612e28fac2d00aa94c638 Closes-Bug: #1711284
* | Merge "Convert remaining network functional tests to JSON"Jenkins2017-08-252-55/+39
|\ \ | |/ |/|
| * Convert remaining network functional tests to JSONAkihiro Motoki2017-08-232-55/+39
| | | | | | | | Change-Id: Ib7dff5506cc69549b5b1fbb8bf6e649468563dd6
* | Merge "Convert network qos functional tests to JSON"Jenkins2017-08-243-233/+193
|\ \ | |/
| * Convert network qos functional tests to JSONAkihiro Motoki2017-08-233-233/+193
| | | | | | | | Change-Id: Ie5cde2f927ec6abb6334ea01adfb06749384ed01
* | Merge "Convert network security group functional tests to JSON"Jenkins2017-08-242-106/+52
|\ \ | |/
| * Convert network security group functional tests to JSONAkihiro Motoki2017-08-232-106/+52
| | | | | | | | Change-Id: Icb63aa0dfbce9016fb824f97915a660cf130d120
* | Merge "flake8-import-order: Ensure to place project imports last"Jenkins2017-08-244-6/+7
|\ \
| * | flake8-import-order: Ensure to place project imports lastAkihiro Motoki2017-08-224-6/+7
| |/ | | | | | | | | | | | | | | To ensure project imports are placed after third party import, we need to specify application-import-names. Previously flake8-import-check checked only standard imports or not. Change-Id: Iad7afa456cec7cf5b44955f1ea03c593a4c0e426
* | Merge "Implied Roles"Jenkins2017-08-233-0/+334
|\ \
| * | Implied RolesHarry Rybacki2017-08-223-0/+334
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the user to create an inference rule between two roles. The first, called the prior role is the role explicitly assigned to an individual. The second, called the implied role, is one that the user gets implicitly. For example: Role B implies Role A. User X is assigned Role B. Therefore User X also assigned Role A. The management and maintenance of the rules is performed in the Keystone server. Change-Id: If547c2f16e812bc7fffd742ec37e6a26011f3185
* | Fix "openstack image unset" command's help message typolihaijing2017-08-231-2/+2
|/ | | | | Change-Id: Ie286d9ee6054cc2126473d7e6e77bafbfd80023b Closes-Bug: #1712473
* Merge "Use flake8-import-order plugin"Jenkins2017-08-1740-35/+47
|\
| * Use flake8-import-order pluginAkihiro Motoki2017-08-1740-35/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In reviews we usually check import grouping but it is boring. By using flake8-import-order plugin, we can avoid this. It enforces loose checking so it sounds good to use it. This flake8 plugin is already used in tempest. Note that flake8-import-order version is pinned to avoid unexpected breakage of pep8 job. Setup for unit tests of hacking rules is tweaked to disable flake8-import-order checks. This extension assumes an actual file exists and causes hacking rule unit tests. Change-Id: I12b596820727aeeb379bee16c2bc993dee9eb637
* | Merge "Allow PD as Subnetpool during Subnet creations"Jenkins2017-08-171-0/+7
|\ \ | |/ |/|
| * Allow PD as Subnetpool during Subnet creationsReedip2017-08-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | This commit now allows user to specify 'prefix_delegation' as a Subnetpool during Subnet creation by using the new --use-prefix-delegation option so that the IPv6 prefixes can be delegated to routers set up by the cloud admins. Change-Id: I67e5d81c4155db2e3c5c41ee1df77f2d77a17689 Closes-Bug: #1513894
* | Imported Translations from ZanataOpenStack Proposal Bot2017-08-163-964/+6805
| | | | | | | | | | | | | | For more information about this automatic import see: http://docs.openstack.org/developer/i18n/reviewing-translation-import.html Change-Id: I33c68188f316b533cc702e0b3ef97c854681bca1
* | Convert network segment functional tests to JSONDean Troyer2017-08-131-45/+99
|/ | | | Change-Id: I8dc1e992d54c63c93bbe2bdd7acba61a7a6773d0