diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-06-06 13:49:45 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-06-06 13:49:45 +1200 |
commit | 20926f1e4b34a6f06f3c21a20d94698e399b2f78 (patch) | |
tree | ad7bcc104c5b2981ba475a1381f47ec171a5f247 /troveclient/v1 | |
parent | be04075d2efac7403afe8d131f520e44c094461c (diff) | |
download | python-troveclient-20926f1e4b34a6f06f3c21a20d94698e399b2f78.tar.gz |
Restore the index method for Management class
Change-Id: Id9c9e6352742c672ae3f2764c42dd984c8202544
Diffstat (limited to 'troveclient/v1')
-rw-r--r-- | troveclient/v1/management.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/troveclient/v1/management.py b/troveclient/v1/management.py index da7ca9d..61a181a 100644 --- a/troveclient/v1/management.py +++ b/troveclient/v1/management.py @@ -44,6 +44,10 @@ class Management(base.ManagerWithFind): return self._get("/mgmt/instances/%s" % base.getid(instance), 'instance') + def index(self, **kwargs): + """A wrapper for list method.""" + return self.list(kwargs) + def list(self, limit=None, marker=None, deleted=False, **kwargs): """Get all the database instances.""" url = "/mgmt/instances" |