summaryrefslogtreecommitdiffstats
path: root/fcaps
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-05-17 03:46:45 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-17 03:46:45 +0000
commit383ebeaa7238bdda0450d199a4083e26ffd20dd6 (patch)
tree1a37380a534fc8d8140a4a9e28db7157587b2709 /fcaps
parenteb21b18b964558a5096e7e3168a142912ba373c5 (diff)
parent44e6dc6b8157fe6695807d157500b0c05abcd3fd (diff)
Merge "Fix FCAPS integraton bugs"
Diffstat (limited to 'fcaps')
-rw-r--r--fcaps/fcaps/vesagent/vesagent_ctrl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fcaps/fcaps/vesagent/vesagent_ctrl.py b/fcaps/fcaps/vesagent/vesagent_ctrl.py
index c332d485..97d7863a 100644
--- a/fcaps/fcaps/vesagent/vesagent_ctrl.py
+++ b/fcaps/fcaps/vesagent/vesagent_ctrl.py
@@ -24,6 +24,7 @@ from django.conf import settings
from common.msapi import extsys
from fcaps.vesagent.tasks import scheduleBacklogs
from fcaps.vesagent.event_domain import fault_vm
+from fcaps.vesagent.event_domain import pm_vm
from django.core.cache import cache
@@ -392,6 +393,8 @@ class VesAgentCtrl(APIView):
try:
if backlog_input["domain"] == "fault" and backlog_input["type"] == "vm":
return fault_vm.buildBacklog_fault_vm(vimid, backlog_input)
+ elif backlog_input["domain"] == "pm" and backlog_input["type"] == "vm":
+ return pm_vm.buildBacklog_pm_vm(vimid, backlog_input)
else:
self._logger.warn("return with failure: unsupported backlog domain:%s, type:%s"
% (backlog_input["domain"], backlog_input["type"] == "vm"))