forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Schema update (sonic-net#22)" (sonic-net#23)
This reverts commit b74b2a1.
- Loading branch information
Showing
2 changed files
with
82 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
module sonic-events-pmon { | ||
namespace "http://github.com/sonic-net/sonic-events-pmon"; | ||
yang-version 1.1; | ||
prefix events-pmon; | ||
|
||
import openconfig-alarm-types { | ||
prefix oc-alarm-types; | ||
} | ||
import sonic-events-common { | ||
prefix evtcmn; | ||
revision-date 2022-12-01; | ||
} | ||
revision 2022-12-01 { | ||
description "pmon alert events."; | ||
} | ||
|
||
organization | ||
"SONiC"; | ||
contact | ||
"SONiC"; | ||
description | ||
"SONIC pmon events"; | ||
|
||
container sonic-events-pmon { | ||
container pmon-exited { | ||
oc-alarm-types:MAJOR | ||
|
||
description " | ||
Declares an event reportes by pmon for an unexpected exit. | ||
The exited entity is the only param"; | ||
|
||
leaf entity { | ||
type string; | ||
description "entity that had unexpected exit"; | ||
} | ||
|
||
uses evtcmn:sonic-events-cmn; | ||
} | ||
} | ||
} |