From ab8f9fdbecd19a841e91699b16d239a6f9b9effd Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Fri, 21 Oct 2022 14:37:12 +0200 Subject: [PATCH] Create template for notifyHeartbeat - the python script cannot be used as it has a dependency to the published templates in ONAP which are pre-R16. IssueID: 293 Change-Id: I1bc8a6c333e3b11ddbd0c759fd4c75f97ca99647 Signed-off-by: demx8as6 --- code/client-scripts-ves-v7/sendVesStndDefined.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/client-scripts-ves-v7/sendVesStndDefined.py b/code/client-scripts-ves-v7/sendVesStndDefined.py index d93d40f..7ba0d0e 100644 --- a/code/client-scripts-ves-v7/sendVesStndDefined.py +++ b/code/client-scripts-ves-v7/sendVesStndDefined.py @@ -51,7 +51,7 @@ def performJob(domain, pnfId, stdnBody): initData['body']['event']['stndDefinedFields']['data']['eventTime'] = initData['eventTime'] initData['body']['event']['stndDefinedFields']['data']['eventTime'] = initData['interface'] - + # Save example body saveExample(initData) @@ -62,7 +62,7 @@ def performJob(domain, pnfId, stdnBody): # Analysing command line parameters def main(argv): domain = 'stndDefined' - usage = 'sendVesStndDefined.py --pnfId --body <3gpp-Fault | 3GPP-Heartbeat | 3GPP-PerformanceAssurance | 3GPP-Provisioning>' + usage = 'python sendVesStndDefined.py --pnfId --body <3gpp-Fault | 3GPP-Heartbeat | 3GPP-PerformanceAssurance | 3GPP-Provisioning>' pnfId = '' stdnBody = '' try: -- 2.16.6