- vdus = VmInstModel.objects.filter(instid=self.nf_inst_id, is_predefined=1)
- apply_result = grant_resource(data=self.data, nf_inst_id=self.nf_inst_id, job_id=self.job_id,
- grant_type=self.grant_type, vdus=vdus)
+ vdus = VmInstModel.objects.filter(
+ instid=self.nf_inst_id,
+ is_predefined=1
+ )
+ self.lcm_op_occ.notify_lcm(OPERATION_STATE_TYPE.STARTING)
+ apply_result = grant_resource(
+ data=self.data,
+ nf_inst_id=self.nf_inst_id,
+ job_id=self.job_id,
+ grant_type=self.grant_type,
+ vdus=vdus
+ )
+ self.lcm_op_occ.notify_lcm(OPERATION_STATE_TYPE.PROCESSING)