summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/biz/terminate_vnf.py
diff options
context:
space:
mode:
authorhongyuzhao <zhao.hongyu@zte.com.cn>2019-12-19 15:16:02 +0800
committerhongyuzhao <zhao.hongyu@zte.com.cn>2020-01-04 11:31:14 +0800
commit5464ccb452d84a89ed70e056439c73cd7da0e31d (patch)
tree2213b7a8e1db539c65584854fc286734706a0209 /lcm/lcm/nf/biz/terminate_vnf.py
parent3ee9298ba721307c226d0f9af8d36a1dc982d226 (diff)
Fix bug for deleting subscription in ns termination
Change-Id: I47bb40a5275c36c189cf6f8bf57a1bf6ec1f84b5 Issue-ID: VFC-1594 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/biz/terminate_vnf.py')
-rw-r--r--lcm/lcm/nf/biz/terminate_vnf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/nf/biz/terminate_vnf.py b/lcm/lcm/nf/biz/terminate_vnf.py
index 2b04dc96..e18fad90 100644
--- a/lcm/lcm/nf/biz/terminate_vnf.py
+++ b/lcm/lcm/nf/biz/terminate_vnf.py
@@ -66,8 +66,8 @@ class TerminateVnf(Thread):
self.lcm_op_occ = VnfLcmOpOcc(
vnf_inst_id=nf_inst_id,
lcm_op_id=job_id,
- operation=OPERATION_TYPE.SCALE,
- task=OPERATION_TASK.SCALE
+ operation=OPERATION_TYPE.TERMINATE,
+ task=OPERATION_TASK.TERMINATE
)
def run(self):