-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnmpTemp5.yang
More file actions
44 lines (37 loc) · 803 Bytes
/
snmpTemp5.yang
File metadata and controls
44 lines (37 loc) · 803 Bytes
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
module snmpTemp5 {
namespace "http://com/example/snmpTemp5";
prefix snmpTemp5;
import ietf-inet-types {
prefix inet;
}
import tailf-ncs {
prefix ncs;
}
import tailf-common {
prefix tailf;
}
list snmpTemp5 {
key comm-str;
uses ncs:service-data;
ncs:servicepoint "snmpTemp5";
leaf comm-str {
tailf:info "snmp-server community-strig";
type string;
}
// may replace this with other ways of refering to the devices.
leaf-list device {
tailf:info "Pick any Device";
type leafref {
path "/ncs:devices/ncs:device/ncs:name";
}
}
// replace with your own stuff here
leaf access {
tailf:info "Specify ro or rw";
type enumeration {
enum ro;
enum rw;
}
}
}
}