summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/vesagent/event_domain/fault_vm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocata/ocata/vesagent/event_domain/fault_vm.py b/ocata/ocata/vesagent/event_domain/fault_vm.py
index e2ad5e97..df1ca60d 100644
--- a/ocata/ocata/vesagent/event_domain/fault_vm.py
+++ b/ocata/ocata/vesagent/event_domain/fault_vm.py
@@ -248,11 +248,11 @@ def data2event_fault_vm(vimid, oneBacklog, last_event, vm_data):
eventType = ''
reportingEntityId = vimid
reportingEntityName = vimid
- sequence = 0
+ sequence = 1 #last_event['event']['commonEventHeader']['sequence'] + 1
startEpochMicrosec = last_event['event']['commonEventHeader']['startEpochMicrosec']
lastEpochMicrosec = get_epoch_now_usecond()
- eventId = str(uuid.uuid4()) #last_event['event']['commonEventHeader']['eventId']
+ eventId = last_event['event']['commonEventHeader']['eventId']
pass