summaryrefslogtreecommitdiff
path: root/moniker
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@hp.com>2013-02-03 23:10:59 +0000
committerKiall Mac Innes <kiall@hp.com>2013-02-03 23:12:17 +0000
commit620e61f248a3905144ac0e6f233299fbba6b34f7 (patch)
tree784b0dd58dd98b1825e3ba6329cd88666000656f /moniker
parent6d27a19aaf4d2d5a787a93c183e7f6ff6a338d5a (diff)
downloaddesignate-620e61f248a3905144ac0e6f233299fbba6b34f7.tar.gz
Remove some magic from the RPC Backend API
Change-Id: Iccf83e2231c18036263e4a0b6183f75405ef247b
Diffstat (limited to 'moniker')
-rw-r--r--moniker/backend/impl_rpc.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/moniker/backend/impl_rpc.py b/moniker/backend/impl_rpc.py
index eab4c894..a4ae46b2 100644
--- a/moniker/backend/impl_rpc.py
+++ b/moniker/backend/impl_rpc.py
@@ -18,26 +18,26 @@ from moniker.agent import api as agent_api
class RPCBackend(base.Backend):
- def create_domain(self, *args, **kw):
- return agent_api.create_domain(*args, **kw)
+ def create_domain(self, context, domain, servers):
+ return agent_api.create_domain(context, domain, servers)
- def update_domain(self, *args, **kw):
- return agent_api.update_domain(*args, **kw)
+ def update_domain(self, context, domain, servers):
+ return agent_api.update_domain(context, domain, servers)
- def delete_domain(self, *args, **kw):
- return agent_api.delete_domain(*args, **kw)
+ def delete_domain(self, context, domain, servers):
+ return agent_api.delete_domain(context, domain, servers)
- def create_record(self, *args, **kw):
- return agent_api.create_record(*args, **kw)
+ def create_record(self, context, domain, record):
+ return agent_api.create_record(context, domain, record)
- def update_record(self, *args, **kw):
- return agent_api.update_record(*args, **kw)
+ def update_record(self, context, domain, record):
+ return agent_api.update_record(context, domain, record)
- def delete_record(self, *args, **kw):
- return agent_api.delete_record(*args, **kw)
+ def delete_record(self, context, domain, record):
+ return agent_api.delete_record(context, domain, record)
- def sync_domain(self, *args, **kw):
- return agent_api.delete_record(*args, **kw)
+ def sync_domain(self, context, domain, records, servers):
+ return agent_api.sync_domain(context, domain, records, servers)
- def sync_record(self, *args, **kw):
- return agent_api.delete_record(*args, **kw)
+ def sync_record(self, context, domain, record):
+ return agent_api.sync_record(context, domain, record)