summaryrefslogtreecommitdiff
path: root/troveclient/client.py
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar2@globallogic.com>2013-09-02 20:50:36 +0000
committerSushil Kumar <sushil.kumar2@globallogic.com>2013-09-10 20:04:23 +0000
commitc47d8c36a761be5d2a98b2fda230e311e81b238b (patch)
tree8d85f1f02c25b36c475fe6dc47f99ea5e78d3d1e /troveclient/client.py
parent04362650e026399893acc54f1091327a1e071105 (diff)
downloadpython-troveclient-c47d8c36a761be5d2a98b2fda230e311e81b238b.tar.gz
Adds support for admin to create flavors through mgmt API
Extending the management API to allow for an admin to create flavors categorized on service type in trove. Change-Id: I8d5910e6dd9e497d1a8be4ffd58aa339d12db74f Implements: blueprint service-type-filter-on-flavors
Diffstat (limited to 'troveclient/client.py')
-rw-r--r--troveclient/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/troveclient/client.py b/troveclient/client.py
index 335daa4..bca246d 100644
--- a/troveclient/client.py
+++ b/troveclient/client.py
@@ -313,6 +313,7 @@ class Dbaas(object):
from troveclient.security_groups import SecurityGroupRules
from troveclient.storage import StorageInfo
from troveclient.management import Management
+ from troveclient.management import MgmtFlavors
from troveclient.accounts import Accounts
from troveclient.diagnostics import DiagnosticsInterrogator
from troveclient.diagnostics import HwInfoInterrogator
@@ -338,6 +339,7 @@ class Dbaas(object):
self.security_group_rules = SecurityGroupRules(self)
self.storage = StorageInfo(self)
self.management = Management(self)
+ self.mgmt_flavor = MgmtFlavors(self)
self.accounts = Accounts(self)
self.diagnostics = DiagnosticsInterrogator(self)
self.hwinfo = HwInfoInterrogator(self)