henkbirkholz / draft-wwx-netmod-event-yang

Other
0 stars 1 forks source link

How to use alarm event notification to represent Event #10

Open billwuqin opened 4 years ago

billwuqin commented 4 years ago

It was discussed that alarm event notification is sent from the server to the client, the event extracted from alarm event notification will be used to define event in the ECA policy, however the key use case is to install the ECA policy in the device and generate ECA script to enable device self management. So alarm event notification will only be used to generate event in the ECA policy configuration. We need to come up with a right use case about alarm event notification.

billwuqin commented 4 years ago

chosen ECA type as alarm-event-stream and provide an ECA usage example in the appendix to address this issue.

billwuqin commented 4 years ago

Andy reviewed the ECA usage example and said: " One major issue -- how to make the YANG code reusable. E.g., the "fan1" example in the draft is not realistic. This would be a parameter to the code block, not hardwired to "fan1".

A "complex example" would get "fan1" from the event somehow and it would be a parameter to the condition and action components. "