By using YangPush and a well defined filter you could get a notification about if-status. (leaf oper-status if I am correct).

IMHO creating notifications that report on the change of a YANG defined value should generally be avoided; use YangPush!

(Just as we avoid dedicated get and edit rpcs)

regards Balazs


On 2017-12-01 04:47, Alex Campbell wrote:

That is a good question.

In retrospect that seems like an obvious omission from the standard YANG.

I'm not aware of any other YANG that adds such a notification.

 


From: netmod <netmod-boun...@ietf.org> on behalf of Bogaert, Bart (Nokia - BE/Antwerp) <bart.boga...@nokia.com>
Sent: Wednesday, 29 November 2017 12:29 a.m.
To: netmod@ietf.org
Subject: [netmod] Notications in interface model
 

Hello,

 

In the interfaces module we notice support of if-mib feature indicating whether the IF-MIB is supported or not.  Part of this feature is a flag to indicate whether an SNMP link-up/down trap has to be generated or not.  Looking at the YANG model itself we notice that it does not foresee any similar capability.  We were wondering whether it has been discussed as part of the YANG model definition for interfaces to define a general status change notification in case an interface goes down or comes up and whether the generation of such a notification can be enabled or disabled?

 

Regards, Bart Bogaert

 

 



_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: balazs.leng...@ericsson.com 


_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to