-
Notifications
You must be signed in to change notification settings - Fork 0
/
iana-routing-types.yang
468 lines (431 loc) · 13.2 KB
/
iana-routing-types.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
module iana-routing-types {
namespace "urn:ietf:params:xml:ns:yang:iana-routing-types";
prefix "iana-rt-types";
organization "IANA";
contact
" Internet Assigned Numbers Authority
Postal: ICANN
4676 Admiralty Way, Suite 330
Marina del Rey, CA 90292
Tel: +1 310 823 9358
<mailto:[email protected]>";
description
"This module contains a collection of YANG data types
considered defined by IANA and used for routing
protocols.
Copyright (c) 2017 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.";
reference "RFC XXXX";
revision 2017-06-13 {
description
"Initial revision.";
reference
"RFC TBD: IANA Routing YANG Data Types";
}
/*** Collection of IANA types related to routing ***/
/*** IANA address family Identities ***/
identity address-family {
description
"Base identity from which identities describing address
families are derived.";
}
identity ipv4 {
base address-family;
description
"IPv4 Address Family - IANA Registry Assigned Number: 1";
}
identity ipv6 {
base address-family;
description
"IPv6 Address Family - IANA Registry Assigned Number: 2";
}
identity nsap {
base address-family;
description
"OSI Network Service Access Point (NSAP) Address Family -
IANA Registry Assigned Number: 3";
}
identity hdlc {
base address-family;
description
"High-Level Data Link Control (HDLC) Address Family -
IANA Registry Assigned Number: 4";
}
identity bbn1822 {
base address-family;
description
"Bolt, Beranek, and Newman Report 1822 (BBN 1822)
Address Family - IANA Registry Assigned Number: 5";
}
identity ieee802 {
base address-family;
description
"IEEE 802 Committee Address Family (aka, MAC address) -
IANA Registry Assigned Number: 6";
}
identity e163 {
base address-family;
description
"ITU-T E.163 Address Family -
IANA Registry Assigned Number: 7";
}
identity e164 {
base address-family;
description
"ITU-T E.164 (SMDS, Frame Relay, ATM) Address Family -
IANA Registry Assigned Number: 8";
}
identity f69 {
base address-family;
description
"ITU-T F.69 (Telex) Address Family -
IANA Registry Assigned Number: 9";
}
identity x121 {
base address-family;
description
"ITU-T X.121 (X.25, Frame Relay) Address Family -
IANA Registry Assigned Number: 10";
}
identity ipx {
base address-family;
description
"Novell Internetwork Packet Exchange (IPX)
Address Family - IANA Registry Assigned Number: 11";
}
identity appletalk {
base address-family;
description
"Apple AppleTalk Address Family -
IANA Registry Assigned Number: 12";
}
identity decnet-iv {
base address-family;
description
"Digital Equipment DECnet Phase IV Address Family -
IANA Registry Assigned Number: 13";
}
identity vines {
base address-family;
description
"Banyan Vines Address Family -
IANA Registry Assigned Number: 14";
}
identity e164-nsap {
base address-family;
description
"ITU-T E.164 with NSAP sub-address Address Family -
IANA Registry Assigned Number: 15";
}
identity dns {
base address-family;
description
"Domain Name System (DNS) Address Family -
IANA Registry Assigned Number: 16";
}
identity distinguished-name {
base address-family;
description
"Distinguished Name Address Family -
IANA Registry Assigned Number: 17";
}
identity as-num {
base address-family;
description
"AS Number Family -
IANA Registry Assigned Number: 18";
}
identity xtp-v4 {
base address-family;
description
"Xpress Transport Protocol (XTP) over IPv4
Address Family - IANA Registry Assigned Number: 19";
}
identity xtp-v6 {
base address-family;
description
"Xpress Transport Protocol (XTP) over IPv4
Address Family - IANA Registry Assigned Number: 20";
}
identity xtp-native {
base address-family;
description
"Xpress Transport Protocol (XTP) native mode
Address Family - IANA Registry Assigned Number: 21";
}
identity fc-port {
base address-family;
description
"Fibre Channel (FC) World-Wide Port Name
Address Family - IANA Registry Assigned Number: 22";
}
identity fc-node {
base address-family;
description
"Fibre Channel (FC) World-Wide Node Name
Address Family - IANA Registry Assigned Number: 23";
}
identity gwid {
base address-family;
description
"ATM Gateway Identifier (GWID) Number Family -
IANA Registry Assigned Number: 24";
}
identity l2vpn {
base address-family;
description
"Layer-2 VPN (L2VPN) Address Family -
IANA Registry Assigned Number: 25";
}
identity mpls-tp-section-eid {
base address-family;
description
"MPLS-TP Section Endpoint Identifier Address Family -
IANA Registry Assigned Number: 26";
}
identity mpls-tp-lsp-eid {
base address-family;
description
"MPLS-TP LSP Endpoint Identifier Address Family -
IANA Registry Assigned Number: 27";
}
identity mpls-tp-pwe-eid {
base address-family;
description
"MPLS-TP Pseudowire Endpoint Identifier
Address Family - IANA Registry Assigned Number: 28";
}
identity mt-v4 {
base address-family;
description
"Multi-Topology IPv4 Address Family -
Address Family - IANA Registry Assigned Number: 29";
}
identity mt-v6 {
base address-family;
description
"Multi-Topology IPv6 Address Family -
Address Family - IANA Registry Assigned Number: 30";
}
identity eigrp-common-sf {
base address-family;
description
"Enhanced Interior Gateway Routing Protocol (EIGRP)
Common Service Family Address Family -
IANA Registry Assigned Number: 16384";
}
identity eigrp-v4-sf {
base address-family;
description
"Enhanced Interior Gateway Routing Protocol (EIGRP)
IPv4 Service Family Address Family -
IANA Registry Assigned Number: 16385";
}
identity eigrp-v6-sf {
base address-family;
description
"Enhanced Interior Gateway Routing Protocol (EIGRP)
IPv6 Service Family Address Family -
IANA Registry Assigned Number: 16386";
}
identity lcaf {
base address-family;
description
"LISP Canonical Address Format (LCAF)
Address Family - IANA Registry Assigned Number: 16387";
}
identity bgp-ls {
base address-family;
description
"Border Gatway Protocol - Link State (BGP-LS)
Address Family - IANA Registry Assigned Number: 16388";
}
identity mac-48 {
base address-family;
description
"IEEE 48-bit Media Access Control (MAC)
Address Family - IANA Registry Assigned Number: 16389";
}
identity mac-64 {
base address-family;
description
"IEEE 64-bit Media Access Control (MAC)
Address Family - IANA Registry Assigned Number: 16390";
}
identity trill-oui {
base address-family;
description
"TRILL IEEE Organizationally Unique Identifier (OUI) -
Address Family - IANA Registry Assigned Number: 16391";
}
identity trill-mac-24 {
base address-family;
description
"TRILL Final 3 octets of 48-bit MAC address
Address Family - IANA Registry Assigned Number: 16392";
}
identity trill-mac-48 {
base address-family;
description
"TRILL Final 5 octets of 64-bit MAC address
Address Family - IANA Registry Assigned Number: 16393";
}
identity trill-rbridge-port-id {
base address-family;
description
"TRILL Remote Bridge (RBridge) Port ID
Address Family - IANA Registry Assigned Number: 16394";
}
identity trill-nickname {
base address-family;
description
"TRILL Nickname
Address Family - IANA Registry Assigned Number: 16395";
}
/*** SAFIs for Multi-Protocol BGP Identities ***/
identity bgp-safi {
description
"Base identity from which identities describing BGP
Subsequent Address Family Identifier (SAFI) - RFC 4760.";
}
identity unicast-safi {
base bgp-safi;
description
"Unicast SAFI -
IANA Registry Assigned Number: 1";
}
identity multicast-safi {
base bgp-safi;
description
"Multicast SAFI -
IANA Registry Assigned Number: 2";
}
identity labeled-unicast-safi {
base bgp-safi;
description
"Labeled Unicast SAFI -
IANA Registry Assigned Number: 4";
}
identity multicast-vpn-safi {
base bgp-safi;
description
"Multicast VPN SAFI -
IANA Registry Assigned Number: 5";
}
identity pseudowire-safi {
base bgp-safi;
description
"Multi-segment Pseudowire VPN SAFI -
IANA Registry Assigned Number: 6";
}
identity tunnel-enap-safi {
base bgp-safi;
description
"Tunnel Encap SAFI -
IANA Registry Assigned Number: 7";
}
identity mcast-vpls-safi {
base bgp-safi;
description
"Multicast Virtual Private LAN Service (VPLS) SAFI -
IANA Registry Assigned Number: 8";
}
identity tunnel-safi {
base bgp-safi;
description
"Tunnel SAFI -
IANA Registry Assigned Number: 64";
}
identity vpls-safi {
base bgp-safi;
description
"Virtual Private LAN Service (VPLS) SAFI -
IANA Registry Assigned Number: 65";
}
identity mdt-safi {
base bgp-safi;
description
"Multicast Distribution Tree (MDT) SAFI -
IANA Registry Assigned Number: 66";
}
identity v4-over-v6-safi {
base bgp-safi;
description
"IPv4 over IPv6 SAFI -
IANA Registry Assigned Number: 67";
}
identity v6-over-v4-safi {
base bgp-safi;
description
"IPv6 over IPv4 SAFI -
IANA Registry Assigned Number: 68";
}
identity l1-vpn-auto-discovery-safi {
base bgp-safi;
description
"Layer-1 VPN Auto Discovery SAFI -
IANA Registry Assigned Number: 69";
}
identity evpn-safi {
base bgp-safi;
description
"Ethernet VPN (EVPN) SAFI -
IANA Registry Assigned Number: 70";
}
identity bgp-ls-safi {
base bgp-safi;
description
"BGP Link-State (BGP-LS) SAFI -
IANA Registry Assigned Number: 71";
}
identity bgp-ls-vpn-safi {
base bgp-safi;
description
"BGP Link-State (BGP-LS) VPN SAFI -
IANA Registry Assigned Number: 72";
}
identity sr-te-safi {
base bgp-safi;
description
"Segment Routing - Traffic Engineering (SR-TE) SAFI -
IANA Registry Assigned Number: 73";
}
identity labeled-vpn-safi {
base bgp-safi;
description
"MPLS Labeled VPN SAFI -
IANA Registry Assigned Number: 128";
}
identity multicast-mpls-vpn-safi {
base bgp-safi;
description
"Multicast for BGP/MPLS IP VPN SAFI -
IANA Registry Assigned Number: 129";
}
identity route-target-safi {
base bgp-safi;
description
"Route Target SAFI -
IANA Registry Assigned Number: 132";
}
identity ipv4-flow-spec-safi {
base bgp-safi;
description
"IPv4 Flow Specification SAFI -
IANA Registry Assigned Number: 133";
}
identity vpnv4-flow-spec-safi {
base bgp-safi;
description
"IPv4 VPN Flow Specification SAFI -
IANA Registry Assigned Number: 134";
}
}