# NS/NSI: "services" VIM/WIM/SDN: "accounts"
topic_service_list = ['ns', 'nsi']
# NS/NSI: "services" VIM/WIM/SDN: "accounts"
topic_service_list = ['ns', 'nsi']
- topic_account_list = ['vim', 'wim', 'sdn']
+ topic_account_list = ['vim', 'wim', 'sdn', 'k8scluster', 'k8srepo']
def __init__(self, worker_id=None, db=None, logger=None):
self.task_registry = {
def __init__(self, worker_id=None, db=None, logger=None):
self.task_registry = {
elif self._is_account_type_HA(topic):
_id, _ = self._get_account_and_op_HA(op_id)
return _id
elif self._is_account_type_HA(topic):
_id, _ = self._get_account_and_op_HA(op_id)
return _id
'startTime.lt': starttime_this_op,
"_admin.modified.gt": now - 2*3600, # ignore if tow hours of inactivity
}
'startTime.lt': starttime_this_op,
"_admin.modified.gt": now - 2*3600, # ignore if tow hours of inactivity
}
elif self._is_account_type_HA(topic):
_, op_index = self._get_account_and_op_HA(op_id)
_ops = db_lcmop['_admin']['operations']
elif self._is_account_type_HA(topic):
_, op_index = self._get_account_and_op_HA(op_id)
_ops = db_lcmop['_admin']['operations']