summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/service.py
Commit message (Collapse)AuthorAgeFilesLines
* log take_action parameters in a single placeAkihiro Motoki2016-02-021-15/+2
| | | | | | | | | | | | Previously each command logs take_action parameters explicitly by using @utils.log_method decorator or log.debug(). Some commands have no logging. This commit calls a logger in the base class and drops all logging definition from individual commands. Closes-Bug: #1532294 Change-Id: I43cd0290a4353c68c075bade9571c940733da1be
* Docstring should say 'default' if option is defaultRushi Agrawal2015-12-311-1/+1
| | | | Change-Id: I59d83e7a0a590fa537f509f7f19940640f555679
* Merge "Remove list output from "compute service set""Jenkins2015-12-181-11/+2
|\
| * Remove list output from "compute service set"xiexs2015-12-011-11/+2
| | | | | | | | | | | | | | | | Replace the super class from lister.Lister to command.Command, as no need to display the status for the "set" command. Change-Id: Ibaf3c1e349633223fca19937bbd9060d4f9ecbda Closes-Bug: #1517804
* | Trivial: Remove useless return from files in compute.Tang Chen2015-12-171-1/+0
|/ | | | Change-Id: I9dc6749256fcd53d292d7f658912c032e9ce9df5
* Add compute service deleteAlex Schultz2015-10-161-0/+22
| | | | | | | | This change adds 'compute service delete <service>' to the openstack client. This is the equivalent of 'nova service-delete <id>' Change-Id: I69ef1cac72cbe125c2114f8e958e22350a70f367 Closes-Bug: #1503510
* Add ID column to compute service listAlex Schultz2015-10-061-0/+1
| | | | | | | | | This change adds the ID to the compute service list command so that the ID can be leveraged by scripts trying to remove or update a specific service. Change-Id: I446b4c0071988133195eb2382313b3918b7ffa72 Closes-Bug: #1503430
* replace string format arguments with function parametersChristian Berendt2014-05-201-2/+2
| | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* Remove api = apiName calls from each methodSteve Martinelli2013-07-121-2/+0
| | | | | | | | | | | As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
* Removed unused imports.Josh Kearney2013-03-151-1/+0
| | | | Change-Id: Ib1bae16f996559c008fb1fe0b74f26b152854ea8
* Added compute service support.Josh Kearney2013-03-051-0/+111
Change-Id: I548e35396534b5498f31a45c752984f6d33357c3