-
Notifications
You must be signed in to change notification settings - Fork 4
/
netgate-lldp.yang
71 lines (55 loc) · 1.26 KB
/
netgate-lldp.yang
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
module netgate-lldp {
yang-version 1.1;
namespace "urn:netgate:xml:yang:netgate-lldp";
prefix "nglldp";
import netgate-cli-extensions {
prefix "ngcliext";
}
organization "Netgate";
contact "Web: <http://www.netgate.com>";
description
"This YANG module provides a data model for the VPP LLDP Service.
Copyright 2019-2020 Rubicon Communications, LLC.";
revision 2021-02-15 {
description
"TNSR Release 21.02.";
}
revision 2020-06-15 {
description
"TNSR Release 20.06.";
}
revision 2020-02-15 {
description
"TNSR Release 20.02.";
}
revision 2019-02-15 {
description
"TNSR Release 19.02.";
}
container lldp-config {
description
"Link-layer Discovery Protocol (LLDP) configuration.";
leaf system-name {
type string;
description
"LLDP system name";
ngcliext:node-fmt "lldp $% @@$n";
}
leaf tx-hold {
type uint16 {
range "1..100";
}
description
"transmit hold time, range [1..100]";
ngcliext:node-fmt "lldp $% @@$n";
}
leaf tx-interval {
type uint16 {
range "1..3600";
}
description
"transmit interval range [1..3600]";
ngcliext:node-fmt "lldp $% @@$n";
}
}
}