| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I5e22e95133824967283320d5922a1e57ded7a4f3
|
| |/
|
|
|
| |
fixes bug 1243452
Change-Id: Ia51e6d48e486baa818ebe3108d37bb1de537702d
|
| |
|
|
| |
Change-Id: I47e493bae8a00b5182608e31fcea82c3cacb152e
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Use six.iteritems() in for loop.
Use next() built-in function to return next item.
Partial implements: blueprint py33-support
Change-Id: Idff28608232ad9a41dc63d397d88e363ffde8193
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
transform print statement to print function
import urlutils from openstack common
Partial implements: blueprint py33-support
Change-Id: I2491fb6719b21195abb6ea5602ddb8c86487d100
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Align with the change:
2070d4267c2a88b3493400b358003c8fa13778a6
Close-Bug #1241256
Change-Id: Idc16d75258baa1f5ee05ff48bfadc358c7655e55
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Partial implements: blueprint py33-support
Change-Id: I029cb33b17a98da2ce225abc180f923f94ca0bf6
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Partial implements: blueprint py33-support
Change-Id: Ie24466e8ab5f1c4474e758458ff3c892f1b0dd0d
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
quote is defined in urlutils for Python2&3 compatability.
Partial implements: blueprint py33-support
Change-Id: I81e667c76544b6bafd81d51d788158f6a062a90c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
urlutils defines a series of urllib/urlparse modules for Python 2&3
compatability.
Partial implements: blueprint py33-support
Change-Id: I55c2c5d479d2f7a86d3a0c207dc40794006d951c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Partial implements: blueprint py33-support
Change-Id: I5ee3e85e1adf76779831beeb0a91591d342c798d
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
| |
* Added HP copyrights as appropriate
Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
|
| |
|
|
|
|
|
|
|
|
|
| |
oslo change:
I169b13546bcd0d87353dbca5a9b64229b704fe66
Define _code_map in an expression.
Partial implements: blueprint py33-support
Change-Id: I4b9f5bc083ebe62739a33674d26728d4a8f1a2d6
|
| |
|
|
|
|
| |
Partial implements: blueprint py33-support
Change-Id: I7a4307dfd526821e96b5c04ff636e650f20b753a
|
| |
|
|
| |
Change-Id: Iff664cef5ec580de6a33db1503a6e567701418a3
|
| |
|
|
|
|
|
|
| |
Fixed typos and cleaned up unnecessary imports.
Fixes bug 1238325
Change-Id: I7b2379cecb89e9f58cde9b2b68bddee41aefcfa3
|
| |
|
|
|
| |
Change-Id: I2beec621fce4c8c8eb90631b2e543962f31687de
Closes-Bug: #1238183
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
These depends are compat only. They dont need to be listed as deps.
Change-Id: Ia5718865100148d149e9c7657ace78cb08cacbac
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Pass on cs to _find_backup and use correct return variable.
Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
We have to use args.backup, not self.backup.
Change-Id: I1f3c892cd4e9c1a42586bdd34d5239cb90c9af74
|
| |/ /
| |
| |
| |
| |
| | |
By prepending "do_" to corresponding functions.
Change-Id: I1a22527ab36b636eb3e6364e669a3d64154beca5
|
| | |
| |
| |
| |
| |
| |
| | |
Rackspace is currently setting their service types to weird things.
Support them, because we love special snowflakes.
Change-Id: I1519be00a3086945338a953bc2a1e7a4e0e65400
|
| |/
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* This causes service catalog lookup issues when the Catalog
contains service_type = database, but service_name = somethine_else
fixes bug 1228372
Change-Id: I1f7eebb06d7f57c0ecc95d8c05104f43e803c406
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.
Change-Id: Ib30cd06cdd13b9f949e028753716aa55736f4a40
Fixes-Bug: #1214176
|
| |/
|
|
| |
Change-Id: I5272b50e8899cf23f5d76f5d753f0e893c04666d
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: I8ab62831481ceb27e672a265b0deaa6e3d39260a
Implements: blueprint availability-zone-instance-create
|