summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r--windriver/titanium_cloud/vesagent/event_domain/fault_vm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/vesagent/event_domain/fault_vm.py b/windriver/titanium_cloud/vesagent/event_domain/fault_vm.py
index 5de843ce..b7a0646d 100644
--- a/windriver/titanium_cloud/vesagent/event_domain/fault_vm.py
+++ b/windriver/titanium_cloud/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