forked from roll-wg/mpl-yang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ietf-yang-mpl-seeds@2018-07-06.yang
186 lines (152 loc) · 5.06 KB
/
ietf-yang-mpl-seeds@2018-07-06.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
module ietf-yang-mpl-seeds {
yang-version 1.1;
namespace
"urn:ietf:params:xml:ns:yang:ietf-yang-mpl-seeds";
prefix "mplse";
import ietf-yang-mpl-domain{
prefix "mpl";
}
organization
"IETF ROLL (Routing over Low power and lossy networks)
Working Group";
contact
"WG Web: http://tools.ietf.org/wg/roll/
WG List: mailto:roll@ietf.org
WG Chair: Peter van der Stok
mailto:consultancy@vanderstok.org
WG Chair: Ines Robles
mailto:maria.ines.robles@ericsson.com
Editor: Peter van der Stok
mailto:consultancy@vanderstok.org";
description
"This module contains information about the operation
of the MPL protocol.
Copyright (c) 2018 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.";
revision "2018-07-06" {
description "revision 3";
reference
"I-D:draft-ietf-roll-mpl-yang: A YANG model for Multicast
Protocol for Low power and lossy Networks (MPL)";
}
augment "/mpl:domain" {
description "additional message buffer status to MPL
domains";
leaf SE_LIFETIME {
type uint16;
units "milliseconds/timer units";
description
"Conversion from clock ticks to milliseconds,
equivalent to SEED_SET_ENTRY_LIFETIME/TUNIT as
specified in [RFC7774].";
}
list mpl-seeds{
key "seedID domainID";
config false;
description
"List describes all seeds that are active in the
server. Seed information contains the message buffer
contents and the operational values of I, c, sequence
number and the life-times per message.";
leaf seedID{
type uint64;
description
"value uniquely identifies the MPL Seed within a MPL
domain.";
}
leaf domainID{
type uint16;
description
"together with seedID uniquely identifies buffer
set.";
}
leaf local {
type boolean;
description
"When local == true, seed originated in this
forwarder.
When local == false, seed originated in different
forwarder.";
}
leaf generate-seqno {
type uint8;
description
"Sequence number of next message to be generated by
this local seed.";
}
leaf life-time {
type uint64;
units "milliseconds";
description
"Minimum remaining lifetime of the seed entry in
milliseconds.";
}
leaf min-seqno{
type uint8;
description
"Lower bound sequence number in the buffer of the
seed.";
}
leaf data-number{
type uint8;
description
"Number of currently buffered data messages.";
}
leaf control-number{
type uint8;
description
"Number of currently buffered control messages.";
}
list buffered-messages{
key seqno;
description
"status of trickle intervals of the buffered message
identified by seqno. and seed/domain";
leaf seqno{
type uint8;
description
"Sequence number of message.";
}
leaf I{
type uint8;
units "milliseconds";
description
"Current Trickle timer interval size in
milliseconds.
mpl-ops/mpl-parameter/DATA_MESSAGE_IMIN <=
mpl-seeds/buffered-messages/I <=
mpl-ops/mpl-parameter/DATA_MESSAGE_IMAX";
}
leaf c{
type uint8;
description
"number of times that a copy of this message has
been received in this interval.";
}
leaf e{
type uint8;
description
"number of Trickle time expirations since last
Trickle timer reset.";
}
leaf t{
type uint8;
units "milliseconds";
description
"Time expressed in milliseconds
that message will be (is) forwarded.
mpl-seeds/buffered-messages/t <
mpl-seeds/buffered-messages/I";
}
} // list seed-timers
} // list MPL-seeds
} // augment
} // module ietf-yang-mpl-seeds