ONAP R3 - CLAMP custom eventNames in TCA box #clamp


 

Dear community,

when you design a CL from CLAMP, you typically add a CLAMP INVENTORY BLUEPRINT (such as the "tca_docker_k8s_v4.yaml" file in wiki) to the service during SDC operation.
 
In this file, "tca_policy:" field is irrelevant. I mean, if you try to add you own eventName

it won't appear in TCA box in CLAMP, i.e., you always see the 3 default eventNames to choose from:
 
My question is, how can I add my own eventName so it can be selected from TCA box in CLAMP? Is this somehow related to the VNF information itself? How this info can be modified? I know you can always do a trick and update tca_policy from Consul but that is not the idea I try to figure out.
 
I would appreciate some guide on this!
 
Kind Regards,
 
Xoan


 

Hi,


Unfortunately in Casablanca there is no way to edit events from Clamp UI.

Both events and metrics are hard-coded in globalProperties.json file.

As a workaround you can expose this file editing Clamp OOM charts.

If this file is exposed you can edit it there and redeploy Clamp.


Br,

Adam Krysiak
Software Engineer
MN MANO RD&Pz ONAP-UI-ML DEVOPS WRO 2 SG
Nokia
Contact number: +48691441316


From: onap-discuss@... <onap-discuss@...> on behalf of jkzcristiano <jkzcristiano@...>
Sent: Thursday, January 17, 2019 10:32:48 AM
To: onap-discuss@...
Subject: [onap-discuss] ONAP R3 - CLAMP custom eventNames in TCA box #clamp
 
Dear community,

when you design a CL from CLAMP, you typically add a CLAMP INVENTORY BLUEPRINT (such as the "tca_docker_k8s_v4.yaml" file in wiki) to the service during SDC operation.
 
In this file, "tca_policy:" field is irrelevant. I mean, if you try to add you own eventName

it won't appear in TCA box in CLAMP, i.e., you always see the 3 default eventNames to choose from:
 
My question is, how can I add my own eventName so it can be selected from TCA box in CLAMP? Is this somehow related to the VNF information itself? How this info can be modified? I know you can always do a trick and update tca_policy from Consul but that is not the idea I try to figure out.
 
I would appreciate some guide on this!
 
Kind Regards,
 
Xoan


 

Hi Adam,

thank you very much for your answer!

KR,
Xoan