Re: vFWCL - Beijing - CL - Policy #appc #dcaegen2 #oom #policy #usecaseui


Pamela Dragosh
 

 

The value ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a identifies the control loop uniquely, not the model-invariant-id for the target VNF. These are two completely different ids.

 

The value you are supposed to substitute is the resource ID from the heat for the Operational Policy, not the control loop id. Should look something like this: Eace933104d443b496b8.nodes.heat.vpg

 

Not sure where you are even getting the 0f2526bd-8d2b-46f8-a9d2-96b926174fe0 value from.

 

Pam

 

From: <onap-discuss@...> on behalf of jkzcristiano <jkzcristiano@...>
Reply-To: "onap-discuss@..." <onap-discuss@...>, "jkzcristiano@..." <jkzcristiano@...>
Date: Thursday, August 30, 2018 at 8:21 AM
To: "onap-discuss@..." <onap-discuss@...>
Subject: [onap-discuss] vFWCL - Beijing - CL - Policy #oom #appc #policy #usecaseui #dcaegen2

 

Dear community,

I am trying the closed loop part of the vFW use case in ONAP Beijing. I haven't succeed yet. I suspect the push-policies.sh didn't work as expected.

In the original push-policies.sh file I substituted the original string "d0a1dfc6-94f5-4fd4-a5b5-4630b438850a" by "0f2526bd-8d2b-46f8-a9d2-96b926174fe0" that is my vPacketGen model-invariant-id.

However, later when I check the events sent by TCA it seems it is still using the original uuid "d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", i.e.;

...
...

"{\"closedLoopEventClient\":\"DCAE_INSTANCE_ID.dcae-tca\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VNF\",\"AAI\":{\"generic-vnf.resource-version\":\"1535132668740\",\"generic-vnf.nf-role\":\"\",\"generic-vnf.prov-status\":\"PROV\",\"generic-vnf.orchestration-status\":\"Active\",\"generic-vnf.is-closed-loop-disabled\":false,\"generic-vnf.service-id\":\"23ad1eb0-7c0f-4888-8d7d-0876b2efc7ef\",\"generic-vnf.in-maint\":false,\"generic-vnf.nf-type\":\"\",\"generic-vnf.nf-naming-code\":\"\",\"generic-vnf.vnf-name\":\"VNF-VSP-vFWSNK-Instance-II\",\"generic-vnf.model-version-id\":\"b3c0649a-f10c-4f7d-af7d-3f9145120245\",\"generic-vnf.model-customization-id\":\"2192608b-85b9-403d-99af-bb37a2ee6209\",\"generic-vnf.nf-function\":\"\",\"generic-vnf.vnf-type\":\"Virtual-Firewall-Service/VSP-vFWSNK 0\",\"generic-vnf.model-invariant-id\":\"85a290f8-a9fc-4f4d-b3a0-95d5c21b2020\",\"generic-vnf.vnf-id\":\"f6e15d84-2ac6-4b4f-8f47-badf96488244\"},\"closedLoopAlarmStart\":1535588596912789,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"generic-vnf.vnf-name\",\"requestID\":\"1d2c85c0-37de-4730-aabd-b43ce78653eb\",\"from\":\"DCAE\"}"

]

All uuid values seem ok with the exception of the on in red. I understand it should be the blue one instead. In addition, all uuids seem to be related to the vFWSNK VNF and not from the vPKG VNF. Is that ok?



I would appreciate your help!

Xoan

Join onap-discuss@lists.onap.org to automatically receive all group messages.