-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (43 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module sysrepo-ietf-alarms {
yang-version 1.1;
namespace "urn:sysrepo:ietf-alarms";
prefix sr-al;
import ietf-alarms {
prefix al;
revision-date 2019-09-11;
}
revision 2022-02-17 {
description
"Initial revision.";
}
rpc create-or-update-alarm {
input {
leaf resource {
type al:resource;
mandatory true;
}
leaf alarm-type-id {
type al:alarm-type-id;
mandatory true;
}
leaf alarm-type-qualifier {
type al:alarm-type-qualifier;
default "";
}
leaf severity {
type al:severity-with-clear;
mandatory true;
description
"Current severity or clearance state of the alarm.";
}
leaf alarm-text {
type al:alarm-text;
mandatory true;
description
"The last reported alarm text. This text should contain
information for an operator to be able to understand the
problem and how to resolve it.";
}
}
}
}