-
Notifications
You must be signed in to change notification settings - Fork 4
/
netgate-ip.yang
176 lines (142 loc) · 3 KB
/
netgate-ip.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
module netgate-ip {
yang-version 1.1;
namespace "urn:netgate:xml:yang:netgate-ip";
prefix "ngip";
import netgate-cli-extensions {
prefix "ngcliext";
}
organization "Netgate";
contact "Web: <http://www.netgate.com>";
description
"This YANG module provides global ip configuration such
as ip-reassembly.
Copyright 2019-2020 Rubicon Communications, LLC.
";
revision 2021-06-15 {
description
"TNSR Release 21.07.";
}
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-12-15 {
description
"TNSR Release 19.12.";
}
revision 2019-08-30 {
description
"TNSR Release 19.08.";
}
grouping reassembly-grouping {
container ipv4 {
description
"Ip4-reassembly settings.";
ngcliext:parent-fmt "$< ipv4";
leaf timeout-ms {
type uint32 {
range "1..2000";
}
description
"Reassembly timeout in milliseconds.";
ngcliext:node-fmt "$< timeout @@$n";
}
leaf expire-walk-interval-ms {
type uint32 {
range "1..60000";
}
description
"Timeout trying to keep fragments.";
ngcliext:node-fmt "$< expire-walk-interval @@$n";
}
leaf max-reassemblies {
type uint32 {
range "1..1024";
}
description
"Maximum reassemblies count.";
ngcliext:node-fmt "$< $% @@$n";
}
leaf max-reassembly-length {
type uint32 {
range "1..64";
}
description
"Maximum reassembly length.";
ngcliext:node-fmt "$< $% @@$n";
}
}
container ipv6 {
description
"Ip6-reassembly settings.";
ngcliext:parent-fmt "$< ipv6";
leaf timeout-ms {
type uint32 {
range "1..2000";
}
description
"Reassembly timeout in milliseconds.";
ngcliext:node-fmt "$< timeout @@$n";
}
leaf expire-walk-interval-ms {
type uint32 {
range "1..60000";
}
description
"Timeout trying to keep fragments.";
ngcliext:node-fmt "$< expire-walk-interval @@$n";
}
leaf max-reassemblies {
type uint32 {
range "1..1024";
}
description
"Maximum reassemblies count.";
ngcliext:node-fmt "$< $% @@$n";
}
leaf max-reassembly-length {
type uint32 {
range "1..64";
}
description
"Maximum reassembly length.";
ngcliext:node-fmt "$< $% @@$n";
}
}
}
container ip-config {
description
"Internet Protocol (IP) reassembly configuration.";
ngcliext:parent-fmt "ip";
container reassembly {
ngcliext:parent-fmt "$< $%";
container full {
ngcliext:parent-fmt "$< $%";
uses reassembly-grouping;
}
container virtual {
ngcliext:parent-fmt "$< $%";
uses reassembly-grouping;
}
}
}
container ip-state {
config false;
container reassembly {
container full {
uses reassembly-grouping;
}
container virtual {
uses reassembly-grouping;
}
}
}
}