Change-Id: Ic781ac72c492a8c88d4dbda6d3721ebea833ca65
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
raise NSLCMException('VNF terminate failed on VNFM side.')
def delete_subscription(self):
- SubscriptionDeletion(self.vnfm_inst_id, self.vnf_inst_id).do_biz()
+ try:
+ SubscriptionDeletion(self.vnfm_inst_id, self.vnf_inst_id).do_biz()
+ except Exception as e:
+ logger.error("delete_subscription failed: %s", e.message)
def delete_data_from_db(self):
NfInstModel.objects.filter(nfinstid=self.vnf_inst_id).delete()