forked from roll-wg/mpl-yang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathietf-yang-mpl-statistics@2018-07-06.yang
197 lines (155 loc) · 5.15 KB
/
ietf-yang-mpl-statistics@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
187
188
189
190
191
192
193
194
195
196
197
module ietf-yang-mpl-statistics {
yang-version 1.1;
namespace
"urn:ietf:params:xml:ns:yang:ietf-yang-mpl-statistics";
prefix "mplst";
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 MPL message statistics to MPL
domains";
list mpl-statistics{
key "seedID domainID";
config false;
description
"List describes performance statistics integrated over
the messages identified by seed and domain identifiers.
A forwarder can receive and forward multiple copies of
a message uniquely identified by seqno, domain, and
seed.";
leaf seedID{
type uint64;
description
"value uniquely identifies the MPL Seed within a MPL
domain.";
}
leaf domainID{
type uint16;
description
"together with seed-ID uniquely identifies buffer
set.";
}
leaf c-too-high {
type uint64;
description
"Number of times that a copy was not forwarded
because c > k.";
}
leaf nr-forwarded {
type uint64;
description
"number of times copies are forwarded,
while c <= k.";
}
leaf nr-of-messages-received{
type uint64;
description
"number of messages received,
must be smaller than or equal to seqno.";
}
leaf nr-of-messages-forwarded{
type uint64;
description
"number of forwarded messages, must be smaller
than or equal to nr-of-messages-received.";
}
leaf nr-of-copies-received{
type uint64;
description
"total number of message copies received.";
}
leaf nr-of-copies-forwarded{
type uint64;
description
"number of forwarded copies, can be larger than
number-of-copies-received.";
}
leaf nr-of-refused-copies{
type uint64;
description
"number of refused copies because seqno too small.";
}
leaf nr-of-missed-messages{
type uint64;
description
"number of messages that were not received
because seqno < min-seqno.";
}
leaf nr-of-notreceived-messages{
type uint64;
description
"number of messages that were not received
according to control message.";
}
leaf nr-of-inconsistent-data{
type uint64;
description
"number of inconsistent data messages.";
}
leaf nr-of-consistent-data{
type uint64;
description
"number of consistent data messages.";
}
leaf nr-of-consistent-control{
type uint64;
description
"number of consistent control messages.";
}
leaf nr-of-inconsistent-control{
type uint64;
description
"number of inconsistent control messages.";
}
leaf statistics-interval{
type uint64;
description
"Interval, expressed in seconds, during which
the statistics are collected.";
}
action reset-buffer-statistics{
description
"set all statistics counters and
statistics-interval of buffer[seedID domainID}
to zero.";
}
} // list mpl statistics
action reset-all-statistics{
description
"set all statistics counters and
statistics-interval of all buffers to zero.";
}
} // augment
} // module ietf-yang-mpl-statistics