summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/biz/scale_vnf.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/lcm/nf/biz/scale_vnf.py')
-rw-r--r--lcm/lcm/nf/biz/scale_vnf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcm/lcm/nf/biz/scale_vnf.py b/lcm/lcm/nf/biz/scale_vnf.py
index 9f591931..60efb86c 100644
--- a/lcm/lcm/nf/biz/scale_vnf.py
+++ b/lcm/lcm/nf/biz/scale_vnf.py
@@ -53,6 +53,7 @@ class ScaleVnf(Thread):
operation=OPERATION_TYPE.SCALE,
task=OPERATION_TASK.SCALE
)
+ self.op_type = OPERATION_TYPE.SCALE
def run(self):
try:
@@ -155,7 +156,7 @@ class ScaleVnf(Thread):
def send_notification(self):
data = prepare_notification(nfinstid=self.nf_inst_id,
jobid=self.job_id,
- operation=OPERATION_TYPE.SCALE,
+ operation=self.op_type,
operation_state=OPERATION_STATE_TYPE.COMPLETED)
# TODO: need set changedExtConnectivity for data