Example #1
0
    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
Example #2
0
    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
Example #3
0
 def create_domain(self, *args, **kw):
     return agent_api.create_domain(*args, **kw)