One way of addressing this is that in case like this we may ‘provision’ 
(instead of hard coding) or modeling the policy triggering in a way that 
analytics or correlation component in general can publish multiple events 
driven by the output of the AAI loop up/query to DMAAP to trigger policy 
multiple times one time per service instance.

This could lead to CL requirement that supports any future use cases that one 
alarm from lower layer may affect multiple services at higher layer, i. e,
one CL multiple service instances cases.

Some thoughts.

Thanks,
________________________________
Xin Miao
M: +1-4692685226
E: [email protected]<mailto:[email protected]>
2012实验室-硅谷网络技术实验室
2012 Laboratories-Silicon Valley Network Technology Lab

From: DRAGOSH, PAMELA L (PAM)
To: Xin Miao<[email protected]<mailto:[email protected]>>;Guangrong 
Fu<[email protected]<mailto:[email protected]>>
Cc: 
onap-discuss<[email protected]<mailto:[email protected]>>;guobiaomo<[email protected]<mailto:[email protected]>>;fu.guangrong<[email protected]<mailto:[email protected]>>
Subject: Re: [policy][holmes]CCVPN CL Event
Time: 2018-08-21 06:15:21

I will not entertain such drastic change which will endanger the use cases that 
the Policy team did commit to.

The point of the CL event is to identify the SINGLE VM or VNF that is having 
issues. The Operational Policies express what services/vms/vnfs are going to be 
taken action upon, not the CL event.

There are many other reasons which I will not go into on this thread.

Pam

From: Xin Miao <[email protected]>
Date: Monday, August 20, 2018 at 10:54 PM
To: Guangrong Fu <[email protected]>, "DRAGOSH, PAMELA L (PAM)" 
<[email protected]>
Cc: onap-discuss <[email protected]>, guobiaomo 
<[email protected]>, "fu.guangrong" <[email protected]>
Subject: RE: [policy][holmes]CCVPN CL Event

This really changes the json data format.
If we do it this way, the CL event for previous use cases will have to update 
their documents on CL event description at least.
________________________________
Xin Miao
M: +1-4692685226
E: [email protected]<mailto:[email protected]>
2012实验室-硅谷网络技术实验室
2012 Laboratories-Silicon Valley Network Technology Lab
From: Guangrong Fu
To: DRAGOSH, PAMELA L 
(PAM)<[email protected]<mailto:[email protected]>>
Cc: 
onap-discuss<[email protected]<mailto:[email protected]>>;guobiaomo<[email protected]<mailto:[email protected]>>;Xin
 
Miao<[email protected]<mailto:[email protected]>>;fu.guangrong<[email protected]<mailto:[email protected]>>
Subject: [policy][holmes]CCVPN CL Event
Time: 2018-08-20 19:30:00

Hi Pam,

I'm working with the CCVPN team to complete the control loop for the CCVPN use 
case. It requires Policy to perform some operations on three service instances. 
In this case, how do we put three instances into the CL event in order that 
Policy could digest it?

In the VoLTE use case, the CL event is like this:
{
    "closedLoopEventClient": "DCAE.HolmesInstance",
    "policyVersion": "1.0.0.5",
    "policyName": "vVOLTE",
    "policyScope": 
"resource=volte,service=VolteSErvice,type=SampleType,closedLoopControlName=CL-VOLTE-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
    "target_type": "VM",
    "AAI": {
        "vserver.vserver-name": "dfw1lb01lb01",
        "service-instance.service-instance-id" : "TBD",
        "generic-vnf.vnf-id" : "TBD",
        "generic-vnf.vnf-name" : "TBD"
    },
    "closedLoopAlarmStart": 1484677482204798,
    "closedLoopEventStatus": "ONSET",
    "closedLoopControlName": 
"ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b",
    "version": "1.0.2",
    "target": "vserver.vserver-name",
    "requestID": "97964e10-686e-4790-8c45-bdfa61df770f",
    "from": "DCAE"
}

Can we use the similar data format, changing only the "AAI" filed from a JSON 
object to a JSON array:
{
    "closedLoopEventClient": "DCAE.HolmesInstance",
    "policyVersion": "1.0.0.5",
    "policyName": "CCVPN",
    "policyScope": 
"service=SOTNService,type=SampleType,closedLoopControlName=CL-CCVPN-d925ed73-8231-4d02-9545-db4e101f88f8",
    "target_type": "VM",
    "AAI": [
        {
                "service-instance.service-instance-id" : "service-instance-1",
                ...
        },
        {
                "service-instance.service-instance-id" : "service-instance-2",
                ...
        },
        {
                "service-instance.service-instance-id" : "service-instance-2",
                ...
        }
    ],
    "closedLoopAlarmStart": 1484677482204798,
    "closedLoopEventStatus": "ONSET",
    "closedLoopControlName": 
"ControlLoop-CCVPN-2179b738-fd36-4843-a71a-a8c24c70c55b",
    "version": "1.0.2",
    "target": "vserver.vserver-name",
    "requestID": "97964e10-686e-4790-8c45-bdfa61df770f",
    "from": "DCAE"
}

If the answer is negative, how could we achieve our goal?

Best Regards,
Guagnrong

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11973): https://lists.onap.org/g/onap-discuss/message/11973
Mute This Topic: https://lists.onap.org/mt/24830650/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to