Create template for notifyHeartbeat 50/9350/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 12:37:12 +0000 (14:37 +0200)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 12:37:43 +0000 (14:37 +0200)
- 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 <martin.skorupski@highstreet-technologies.com>
code/client-scripts-ves-v7/sendVesStndDefined.py

index d93d40f..7ba0d0e 100644 (file)
@@ -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 <physical-network-function-nwuid> --body <3gpp-Fault | 3GPP-Heartbeat | 3GPP-PerformanceAssurance | 3GPP-Provisioning>'
+    usage = 'python sendVesStndDefined.py --pnfId <physical-network-function-nwuid> --body <3gpp-Fault | 3GPP-Heartbeat | 3GPP-PerformanceAssurance | 3GPP-Provisioning>'
     pnfId = ''
     stdnBody = ''
     try: