示例#1
0
    def create(self):
        xos_args = self.get_xos_args()

        slice = Deployment(**xos_args)
        slice.caller = self.user
        slice.save()

        self.info("Created Deployment '%s'" % (str(slice), ))
示例#2
0
    def create(self):
        xos_args = self.get_xos_args()

        slice = Deployment(**xos_args)
        slice.caller = self.user
        slice.save()

        self.info("Created Deployment '%s'" % (str(slice), ))