From 091ced5739b6bcfe51db9adda39279292911e956 Mon Sep 17 00:00:00 2001 From: Renuka Manavalan Date: Tue, 7 Jun 2022 17:42:25 +0000 Subject: [PATCH] per comments --- src/sonic-yang-models/yang-events/sonic-events-bgp.yang | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sonic-yang-models/yang-events/sonic-events-bgp.yang b/src/sonic-yang-models/yang-events/sonic-events-bgp.yang index 906ebd91f248..17fa64c82fbd 100644 --- a/src/sonic-yang-models/yang-events/sonic-events-bgp.yang +++ b/src/sonic-yang-models/yang-events/sonic-events-bgp.yang @@ -28,8 +28,7 @@ module sonic-events-bgp { oc-alarm-types:MINOR description " - Declares an event for BGP state for a neighbor IP going up. - Going down is reported via notification; + Declares an event for BGP state for a neighbor IP going up/down.; leaf ip { type inet:ip-address; @@ -39,6 +38,8 @@ module sonic-events-bgp { leaf status { type enumeration { enum "up"; + enum "down"; + } description "Provides the status as up (true) or down (false)"; }