def create_domain(self, context, values): domain = self.storage_conn.create_domain(context, values) agent_api.create_domain(context, domain) utils.notify(context, 'api', 'domain.create', domain) return domain
def create_domain(self, *args, **kw): return agent_api.create_domain(*args, **kw)