summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixing typos that were in the readme"1.0.2Jenkins2013-10-231-2/+2
|\
| * Fixing typos that were in the readmeMichael Basnight2013-10-231-2/+2
| | | | | | | | Change-Id: I5e22e95133824967283320d5922a1e57ded7a4f3
* | Removing unused files with new clientMichael Basnight2013-10-234-550/+4
|/ | | | | fixes bug 1243452 Change-Id: Ia51e6d48e486baa818ebe3108d37bb1de537702d
* Adding py33 gating to the clientMichael Basnight2013-10-231-1/+1
| | | | Change-Id: I47e493bae8a00b5182608e31fcea82c3cacb152e
* Merge "Use six.iteritems() in for loop"Jenkins2013-10-232-9/+10
|\
| * Use six.iteritems() in for loopKui Shi2013-10-232-9/+10
| | | | | | | | | | | | | | | | | | Use six.iteritems() in for loop. Use next() built-in function to return next item. Partial implements: blueprint py33-support Change-Id: Idff28608232ad9a41dc63d397d88e363ffde8193
* | Merge "Resolve compatability for troveclient/compat"Jenkins2013-10-234-22/+18
|\ \ | |/
| * Resolve compatability for troveclient/compatKui Shi2013-10-234-22/+18
| | | | | | | | | | | | | | | | | | transform print statement to print function import urlutils from openstack common Partial implements: blueprint py33-support Change-Id: I2491fb6719b21195abb6ea5602ddb8c86487d100
* | Merge "Include troveclient/compat/tests in testr"Jenkins2013-10-234-1/+12
|\ \ | |/
| * Include troveclient/compat/tests in testrKui Shi2013-10-234-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All tests should be included in testr. In test_common.py, the testr command line will be read for parsing, finally emit error message: run.py: error: no such option: -t we should mock the sys.argv in setUp(). The analysis is here -------------------- troveclient/compat/common.py: CommandsBase 254 def _parse_options(self, parser): 255 opts, args = parser.parse_args() <-- 1. no arg is passed /usr/lib/python2.7/optparse.py 1361 def _get_args(self, args): 1362 if args is None: 1363 return sys.argv[1:] <-- 3. cmdline(testr command) is read 1364 else: 1365 return args[:] 1367 def parse_args(self, args=None, values=None): ... 1381 rargs = self._get_args(args) <-- 2. args is None Close-Bug #1241845 Change-Id: I092db96d1b6bb31c41e6ba4c5fc9606e3f8ac087
* | Merge "Make use of strutils.to_slug in slugify()"Jenkins2013-10-231-10/+5
|\ \ | |/
| * Make use of strutils.to_slug in slugify()Kui Shi2013-10-231-10/+5
| | | | | | | | | | | | | | | | | | Align with the change: 2070d4267c2a88b3493400b358003c8fa13778a6 Close-Bug #1241256 Change-Id: Idc16d75258baa1f5ee05ff48bfadc358c7655e55
* | Merge "Replace basestring with six.string_types"Jenkins2013-10-231-1/+3
|\ \ | |/
| * Replace basestring with six.string_typesKui Shi2013-10-231-1/+3
| | | | | | | | | | | | | | | | | | | | six.string_types Possible types for text data. This is basestring() in Python 2 and str in Python 3. Partial implements: blueprint py33-support Change-Id: I25b463efdfe2e20af92dd805d4f44b40d4bd4b35
* | Merge "Transform print statement to print function"Jenkins2013-10-231-3/+4
|\ \ | |/
| * Transform print statement to print functionKui Shi2013-10-231-3/+4
| | | | | | | | | | | | Partial implements: blueprint py33-support Change-Id: I029cb33b17a98da2ce225abc180f923f94ca0bf6
* | Merge "Replace g.next() with next(g)"Jenkins2013-10-231-7/+7
|\ \ | |/
| * Replace g.next() with next(g)Kui Shi2013-10-231-7/+7
| | | | | | | | | | | | | | | | In Python 3, g.next() has been renamed to g.__next__(). The next() buildin function will work fine for Python 2&3. Partial implements: blueprint py33-support Change-Id: I992d019eb180f514388f21b2400b51c94c7bdad5
* | Merge "Import exceptions module from openstack-common"Jenkins2013-10-231-1/+1
|\ \ | |/
| * Import exceptions module from openstack-commonKui Shi2013-10-231-1/+1
| | | | | | | | | | | | Partial implements: blueprint py33-support Change-Id: Ie24466e8ab5f1c4474e758458ff3c892f1b0dd0d
* | Merge "Replace urllib.quote with urlutils.quote"Jenkins2013-10-231-3/+3
|\ \ | |/
| * Replace urllib.quote with urlutils.quoteKui Shi2013-10-231-3/+3
| | | | | | | | | | | | | | | | quote is defined in urlutils for Python2&3 compatability. Partial implements: blueprint py33-support Change-Id: I81e667c76544b6bafd81d51d788158f6a062a90c
* | Merge "Import urlutils module from openstack-common"Jenkins2013-10-238-18/+85
|\ \ | |/
| * Import urlutils module from openstack-commonKui Shi2013-10-238-18/+85
| | | | | | | | | | | | | | | | | | urlutils defines a series of urllib/urlparse modules for Python 2&3 compatability. Partial implements: blueprint py33-support Change-Id: I55c2c5d479d2f7a86d3a0c207dc40794006d951c
* | Merge "Import exceptions module from openstack-common"Jenkins2013-10-234-4/+4
|\ \ | |/
| * Import exceptions module from openstack-commonKui Shi2013-10-234-4/+4
| | | | | | | | | | | | Partial implements: blueprint py33-support Change-Id: I5ee3e85e1adf76779831beeb0a91591d342c798d
* | Merge "Fix unicode issue"Jenkins2013-10-232-11/+5
|\ \ | |/
| * Fix unicode issueKui Shi2013-10-212-11/+5
| | | | | | | | | | | | | | | | | | | | In Python 3, all string is unicode. Replace unicode() with six.u() Make use of strutils.to_slug() for slugify() definition Partial implements: blueprint py33-support Change-Id: I6a1e19c095a2fbafcbe47b34c7af17e1b0353b9e
* | Fixing copyright and license headersMichael Basnight2013-10-2237-32/+383
|/ | | | | | * Added HP copyrights as appropriate Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
* Sync up exceptions.py from osloKui Shi2013-10-211-14/+9
| | | | | | | | | | | oslo change: I169b13546bcd0d87353dbca5a9b64229b704fe66 Define _code_map in an expression. Partial implements: blueprint py33-support Change-Id: I4b9f5bc083ebe62739a33674d26728d4a8f1a2d6
* change mode to octal for os.makedirs()Kui Shi2013-10-151-1/+1
| | | | | | Partial implements: blueprint py33-support Change-Id: I7a4307dfd526821e96b5c04ff636e650f20b753a
* Removed underscores from the end of some variablesAndrey Shestakov2013-10-153-18/+18
| | | | Change-Id: Iff664cef5ec580de6a33db1503a6e567701418a3
* Fixed minor typos with trove-client help infoNikhil Manchanda2013-10-101-6/+2
| | | | | | | | Fixed typos and cleaned up unnecessary imports. Fixes bug 1238325 Change-Id: I7b2379cecb89e9f58cde9b2b68bddee41aefcfa3
* Fixes README and shell1.0.1Clare Springer2013-10-102-2/+2
| | | | | Change-Id: I2beec621fce4c8c8eb90631b2e543962f31687de Closes-Bug: #1238183
* Fixing the backwards verb/noun cli namesMichael Basnight2013-10-102-37/+171
| | | | | | | | The cli names were backwards. instead of backup-list, list-backups was the name. They have been reordered to match the other openstack clients. Also added a better readme. Change-Id: I280f637bfa7bbeaf55c70115339f430dbb279152
* Removing lxml/httplib2 dependsMichael Basnight2013-10-105-301/+377
| | | | | | These depends are compat only. They dont need to be listed as deps. Change-Id: Ia5718865100148d149e9c7657ace78cb08cacbac
* Merge "Fixed bug with showing backups"Jenkins2013-10-101-1/+1
|\
| * Fixed bug with showing backupsNikhil Manchanda2013-10-091-1/+1
| | | | | | | | | | | | Pass on cs to _find_backup and use correct return variable. Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10
* | Merge "Correct handling args.backup in do_create"Jenkins2013-10-101-1/+1
|\ \
| * | Correct handling args.backup in do_createArata Notsu2013-10-101-1/+1
| | | | | | | | | | | | | | | | | | We have to use args.backup, not self.backup. Change-Id: I1f3c892cd4e9c1a42586bdd34d5239cb90c9af74
* | | Enable shell to resize and restartArata Notsu2013-10-101-3/+6
|/ / | | | | | | | | | | By prepending "do_" to corresponding functions. Change-Id: I1a22527ab36b636eb3e6364e669a3d64154beca5
* | Add support for a service type env var1.0.0Monty Taylor2013-10-091-0/+2
| | | | | | | | | | | | | | Rackspace is currently setting their service types to weird things. Support them, because we love special snowflakes. Change-Id: I1519be00a3086945338a953bc2a1e7a4e0e65400
* | Tweak pbr confMonty Taylor2013-10-095-14/+6
|/ | | | | | | Mainly, remove the pin in setup.py and remove the hook entry in setup.cfg. Update from requirements while we're at it. Change-Id: I34a05229b9ea0bdfd99dc16d09713c9494c1cb78
* Massive refactoring to the troveclientMichael Basnight2013-10-0962-1111/+6434
| | | | | | | | | | | | | | | | The new client adheres to the standards of the other clients now. It prints out tables, uses ENVVAR's for auth, no longer stores pickled json in a login token, uses openstack common, and moves the cli operations into a v1 module for the future of trove when it has a v2 api. Please note for compatibility, the troveclient.compat module has the old cli. In order to deploy it, amend the setup.cfg to include the compat module. implements blueprint cli-compliance-upgrade Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
* Remove trove as default value for Service NameVipul Sabhaya2013-09-233-3/+2
| | | | | | | | | * This causes service catalog lookup issues when the Catalog contains service_type = database, but service_name = somethine_else fixes bug 1228372 Change-Id: I1f7eebb06d7f57c0ecc95d8c05104f43e803c406
* Merge "Replace OpenStack LLC with OpenStack Foundation"Jenkins2013-09-2322-22/+22
|\
| * Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-2022-22/+22
| | | | | | | | | | | | | | | | Some files still use trademark OpenStack LLC in header, which should be changed to OpenStack Foundation. Change-Id: Ib30cd06cdd13b9f949e028753716aa55736f4a40 Fixes-Bug: #1214176
* | Removing reddwarf doc referencesMichael Basnight2013-09-202-8/+8
|/ | | | Change-Id: I5272b50e8899cf23f5d76f5d753f0e893c04666d
* Merge "Added optional availability_zone flag for instance"Jenkins2013-09-162-3/+7
|\
| * Added optional availability_zone flag for instancedaniel-a-nguyen2013-09-042-3/+7
| | | | | | | | | | Change-Id: I8ab62831481ceb27e672a265b0deaa6e3d39260a Implements: blueprint availability-zone-instance-create