summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/server_image.py
Commit message (Collapse)AuthorAgeFilesLines
* translate all command help strings3.4.0Steve Martinelli2016-11-171-1/+1
| | | | | | | | | | | | | | Leverage the new cliff command class attribute (_description) to get the help of a command, this allows us to mark strings for translation. We could not do this before since the help was grabbed from the docstring. This also depends on a new release of cliff and a bump to the minimum level in osc's requirements. Closes-Bug: 1636209 Depends-On: Id915f6aa7d95a0ff3dc6e2ceaac5decb3f3bf0da Change-Id: I8673080bb5625e8e3c499feaefd42dfc7121e96f
* Merge "Standardize logger usage"Jenkins2016-06-201-4/+6
|\
| * Standardize logger usageTang Chen2016-06-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use file logger for all command specific logs. This patch also fixes some usage that doesn't follow rules in: http://docs.openstack.org/developer/oslo.i18n/guidelines.html After this patch, all self.log and self.app.log will be standardized to LOG(). NOTE: In shell.py, we got the log in class OpenStackShell, which is also known as self.app.log in other classes. This logger is used to record non-command-specific logs. So we leave it as-is. Change-Id: I114f73ee6c7e84593d71e724bc1ad00d343c1896 Implements: blueprint log-usage
* | Use osc_lib in server_image.pyTang Chen2016-06-201-3/+3
|/ | | | | | | server_image.py is a newly created file. So I think we forgot to use osc_lib in it. Change-Id: Ieda13438662ea55b03f549108aac63c18b9af913
* Move server image create command to its own resource file.Dean Troyer2016-06-031-0/+111
Change-Id: If37e82072bd7a32b81bfb1a8bb048f018dd5b04f