X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Finstance_topics.py;h=09a8c1be6d795a29626c555e2a68194ce518d6d3;hp=139ced72da3d638b8b3f63c6b159e62fa0575321;hb=b2e48bdecec7cd57f303becf40c5d469b8fdadff;hpb=bee3bad8d15fe0893855d0dff92cef4351629edb diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index 139ced7..09a8c1b 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -232,6 +232,14 @@ class NsrTopic(BaseTopic): "name-ref": ns_request["nsName"], "short-name": ns_request["nsName"], "admin-status": "ENABLED", + "nsState": "NOT_INSTANTIATED", + "currentOperation": "IDLE", + "currentOperationID": None, + "errorDescription": None, + "errorDetail": None, + "deploymentStatus": None, + "configurationStatus": None, + "vcaStatus": None, "nsd": nsd, "datacenter": ns_request["vimAccountId"], "resource-orchestrator": "osmopenmano", @@ -921,6 +929,10 @@ class NsLcmOpTopic(BaseTopic): "id": _id, "_id": _id, "operationState": "PROCESSING", # COMPLETED,PARTIALLY_COMPLETED,FAILED_TEMP,FAILED,ROLLING_BACK,ROLLED_BACK + "queuePosition": None, + "stage": None, + "errorMessage": None, + "detailedStatus": None, "statusEnteredTime": now, "nsInstanceId": nsr_id, "lcmOperationType": operation,