summaryrefslogtreecommitdiff
path: root/moniker/storage/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'moniker/storage/base.py')
-rw-r--r--moniker/storage/base.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/moniker/storage/base.py b/moniker/storage/base.py
index ab896c2e..ff323954 100644
--- a/moniker/storage/base.py
+++ b/moniker/storage/base.py
@@ -115,6 +115,23 @@ class Storage(Plugin):
"""
@abc.abstractmethod
+ def get_tenants(self, context):
+ """
+ Get all Tenants.
+
+ :param context: RPC Context.
+ """
+
+ @abc.abstractmethod
+ def get_tenant(self, context, tenant_id):
+ """
+ Get all Tenants.
+
+ :param context: RPC Context.
+ :param tenant_id: ID of the Tenant.
+ """
+
+ @abc.abstractmethod
def count_tenants(self, context, values):
"""
Count tenants