blob: c07626065b9c6370fe2add6e961eacfd61c70b4d [file] [log] [blame]
Marc De Leenheerf20c7fb2017-05-05 10:24:41 -07001module iana-afn-safi {
2 namespace "urn:ietf:params:xml:ns:yang:iana-afn-safi";
3 prefix "ianaaf";
4
5 organization
6 "IANA";
7 contact
8 " Internet Assigned Numbers Authority
9
10 Postal: ICANN
11 4676 Admiralty Way, Suite 330
12 Marina del Rey, CA 90292
13
14 Tel: +1 310 823 9358
15 E-Mail: iana&iana.org";
16 description
17 "This YANG module provides two typedefs containing YANG
18 definitions for the following IANA-registered enumerations:
19
20 - Address Family Numbers (AFN)
21
22 - Subsequent Address Family Identifiers (SAFI)
23
24 The latest revision of this YANG module can be obtained from the
25 IANA web site.
26
27 Copyright (c) 2012 IETF Trust and the persons identified as
28 authors of the code. All rights reserved.
29
30 Redistribution and use in source and binary forms, with or
31 without modification, is permitted pursuant to, and subject to
32 the license terms contained in, the Simplified BSD License set
33 forth in Section 4.c of the IETF Trust's Legal Provisions
34 Relating to IETF Documents
35 (http://trustee.ietf.org/license-info).
36
37 This version of this YANG module is part of RFC XXXX; see the
38 RFC itself for full legal notices.";
39 // RFC Ed.: replace XXXX with actual RFC number and remove this
40 // note.
41
42 // RFC Ed.: update the date below with the date of RFC publication
43 // and remove this note.
44 revision 2013-07-04 {
45 description
46 "Initial revision.";
47 reference
48 "RFC XXXX: IANA Address Family Numbers and
49 Subsequent Address Family Identifiers YANG Module";
50 }
51
52 typedef address-family {
53 type enumeration {
54 // value 0 is reserved by IANA
55 enum ipV4 {
56 value "1";
57 description
58 "IP version 4";
59 }
60 enum ipV6 {
61 value "2";
62 description
63 "IP version 6";
64 }
65 enum nsap {
66 value "3";
67 description
68 "NSAP";
69 }
70 enum hdlc {
71 value "4";
72 description
73 "HDLC (8-bit multidrop)";
74 }
75 enum bbn1822 {
76 value "5";
77 description
78 "BBN 1822";
79 }
80 enum all802 {
81 value "6";
82 description
83 "802 (includes all 802 media plus Ethernet 'canonical
84 format')";
85 }
86 enum e163 {
87 value "7";
88 description
89 "E.163";
90 }
91 enum e164 {
92 value "8";
93 description
94 "E.164 (SMDS, FrameRelay, ATM)";
95 }
96 enum f69 {
97 value "9";
98 description
99 "F.69 (Telex)";
100 }
101 enum x121 {
102 value "10";
103 description
104 "X.121 (X.25, Frame Relay)";
105 }
106 enum ipx {
107 value "11";
108 description
109 "IPX (Internetwork Packet Exchange)";
110 }
111 enum appletalk {
112 value "12";
113 description
114 "Appletalk";
115 }
116 enum decnetIV {
117 value "13";
118 description
119 "DECnet IV";
120 }
121 enum banyanVines {
122 value "14";
123 description
124 "Banyan Vines";
125 }
126 enum e164withNsap {
127 value "15";
128 description
129 "E.164 with NSAP format subaddress";
130 reference
131 "ATM Forum UNI 3.1";
132 }
133 enum dns {
134 value "16";
135 description
136 "DNS (Domain Name System)";
137 }
138 enum distinguishedName {
139 value "17";
140 description
141 "Distinguished Name (per X.500)";
142 }
143 enum asNumber {
144 value "18";
145 description
146 "Autonomous System Number";
147 }
148 enum xtpOverIpv4 {
149 value "19";
150 description
151 "XTP over IP version 4";
152 }
153 enum xtpOverIpv6 {
154 value "20";
155 description
156 "XTP over IP version 6";
157 }
158 enum xtpNativeModeXTP {
159 value "21";
160 description
161 "XTP native mode XTP";
162 }
163 enum fibreChannelWWPN {
164 value "22";
165 description
166 "Fibre Channel World-Wide Port Name";
167 }
168 enum fibreChannelWWNN {
169 value "23";
170 description
171 "Fibre Channel World-Wide Node Name";
172 }
173 enum gwid {
174 value "24";
175 description
176 "Gateway Identifier";
177 }
178 // FIXME: This one is actually called "afi" in the MIB, but
179 // that must be a mistake.
180 enum l2vpn {
181 value "25";
182 description
183 "AFI for L2VPN information";
184 reference
185 "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
186 for Auto-Discovery and Signaling
187
188 RFC 6074: Provisioning, Auto-Discovery, and Signaling in
189 Layer 2 Virtual Private Networks (L2VPNs)";
190 }
191 enum mplsTpSectionEndpointIdentifier {
192 value "26";
193 description
194 "MPLS-TP Section Endpoint Identifier";
195 reference
196 "draft-ietf-mpls-gach-adv";
197 }
198 enum mplsTpLspEndpointIdentifier {
199 value "27";
200 description
201 "MPLS-TP LSP Endpoint Identifier";
202 reference
203 "draft-ietf-mpls-gach-adv";
204 }
205 enum mplsTpPseudowireEndpointIdentifier {
206 value "28";
207 description
208 "MPLS-TP Pseudowire Endpoint Identifier";
209 reference
210 "draft-ietf-mpls-gach-adv";
211 }
212 enum eigrpCommonServiceFamily {
213 value "16384";
214 description
215 "EIGRP Common Service Family";
216 }
217 enum eigrpIpv4ServiceFamily {
218 value "16385";
219 description
220 "EIGRP IPv4 Service Family";
221 }
222 enum eigrpIpv6ServiceFamily {
223 value "16386";
224 description
225 "EIGRP IPv6 Service Family";
226 }
227 enum lispCanonicalAddressFormat {
228 value "16387";
229 description
230 "LISP Canonical Address Format (LCAF)";
231 }
232 enum bgpLs {
233 value "16388";
234 description
235 "BGP-LS";
236 reference
237 "draft-ietf-idr-ls-distribution";
238 }
239 enum 48BitMac {
240 value "16389";
241 description
242 "48-bit MAC";
243 reference
244 "draft-eastlake-rfc5342bis";
245 }
246 enum 64BitMac {
247 value "16390";
248 description
249 "64-bit MAC";
250 reference
251 "draft-eastlake-rfc5342bis";
252 }
253 // value 65535 is reserved by IANA
254 }
255 description
256 "This typedef is a YANG enumeration of IANA-registered address
257 family numbers (AFN).";
258 reference
259 "IANA Address Family Numbers registry.
260 <http://www.iana.org/assignments/address-family-numbers>";
261 }
262
263 typedef subsequent-address-family {
264 type enumeration {
265 // value 0 is reserved by IANA
266 enum nlriUnicast {
267 value "1";
268 description
269 "Network Layer Reachability Information used for unicast
270 forwarding";
271 reference
272 "RFC 4760: Multiprotocol Extensions for BGP-4";
273 }
274 enum nlriMulticast {
275 value "2";
276 description
277 "Network Layer Reachability Information used for multicast
278 forwarding";
279 reference
280 "RFC 4760: Multiprotocol Extensions for BGP-4";
281 }
282 // value 3 is reserved by IANA
283 enum nlriMpls {
284 value "4";
285 description
286 "Network Layer Reachability Information (NLRI) with MPLS
287 Labels";
288 reference
289 "RFC 3107: Carrying Label Information in BGP-4";
290 }
291 enum mcastVpn {
292 value "5";
293 description
294 "MCAST-VPN";
295 reference
296 "RFC 6514: BGP Encodings and Procedures for Multicast in
297 MPLS/BGP IP VPNs";
298 }
299 enum nlriDynamicMsPw {
300 value "6";
301 status "obsolete";
302 description
303 "Network Layer Reachability Information used for Dynamic
304 Placement of Multi-Segment Pseudowires (TEMPORARY -
305 Expires 2008-08-23)";
306 reference
307 "draft-ietf-pwe3-dynamic-ms-pw: Dynamic Placement of Multi
308 Segment Pseudowires";
309 }
310 enum encapsulation {
311 value "7";
312 description
313 "Encapsulation SAFI";
314 reference
315 "RFC 5512: The BGP Encapsulation Subsequent Address Family
316 Identifier (SAFI) and the BGP Tunnel Encapsulation
317 Attribute";
318 }
319 enum tunnel {
320 value "64";
321 status "obsolete";
322 description
323 "Tunnel SAFI";
324 reference
325 "draft-nalawade-kapoor-tunnel-safi: BGP Tunnel SAFI";
326 }
327 enum vpls {
328 value "65";
329 description
330 "Virtual Private LAN Service (VPLS)";
331 reference
332 "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
333 for Auto-Discovery and Signaling
334
335 RFC 6074: Provisioning, Auto-Discovery, and Signaling in
336 Layer 2 Virtual Private Networks (L2VPNs)";
337 }
338 enum bgpMdt {
339 value "66";
340 description
341 "BGP MDT SAFI";
342 reference
343 "RFC 6037: Cisco Systems' Solution for Multicast in
344 BGP/MPLS IP VPNs";
345 }
346 enum bgp4over6 {
347 value "67";
348 description
349 "BGP 4over6 SAFI";
350 reference
351 "RFC 5747: 4over6 Transit Solution Using IP Encapsulation
352 and MP-BGP Extensions";
353 }
354 enum bgp6over4 {
355 value "68";
356 description
357 "BGP 6over4 SAFI";
358 }
359 enum l1VpnAutoDiscovery {
360 value "69";
361 description
362 "Layer-1 VPN auto-discovery information";
363 reference
364 "RFC 5195: BGP-Based Auto-Discovery for Layer-1 VPNs";
365 }
366 enum mplsVpn {
367 value "128";
368 description
369 "MPLS-labeled VPN address";
370 reference
371 "RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs)";
372 }
373 enum multicastBgpMplsVpn {
374 value "129";
375 description
376 "Multicast for BGP/MPLS IP Virtual Private Networks
377 (VPNs)";
378 reference
379 "RFC 6513: Multicast in MPLS/BGP IP VPNs
380
381 RFC 6514: BGP Encodings and Procedures for Multicast in
382 MPLS/BGP IP VPNs";
383 }
384 // values 130-131 are reserved by IANA
385 enum routeTargetConstraints {
386 value "132";
387 description
388 "Route Target constraints";
389 reference
390 "RFC 4684: Constrained Route Distribution for Border
391 Gateway Protocol/MultiProtocol Label Switching (BGP/MPLS)
392 Internet Protocol (IP) Virtual Private Networks (VPNs)";
393 }
394 enum ipv4DissFlow {
395 value "133";
396 description
397 "IPv4 dissemination of flow specification rules";
398 reference
399 "RFC 5575: Dissemination of Flow Specification Rules";
400 }
401 enum vpnv4DissFlow {
402 value "134";
403 description
404 "VPNv4 dissemination of flow specification rules";
405 reference
406 "RFC 5575: Dissemination of Flow Specification Rules";
407 }
408 // values 135-139 are reserved by IANA
409 enum vpnAutoDiscovery {
410 value "140";
411 status "obsolete";
412 description
413 "VPN auto-discovery";
414 reference
415 "draft-ietf-l3vpn-bgpvpn-auto: Using BGP as an
416 Auto-Discovery Mechanism for VR-based Layer-3 VPNs";
417 }
418 // values 141-240 are reserved by IANA
419 enum private241 {
420 value "241";
421 description
422 "Reserved for Private Use";
423 reference
424 "RFC 4760: Multiprotocol Extensions for BGP-4";
425 }
426 enum private242 {
427 value "242";
428 description
429 "Reserved for Private Use";
430 reference
431 "RFC 4760: Multiprotocol Extensions for BGP-4";
432 }
433 enum private243 {
434 value "243";
435 description
436 "Reserved for Private Use";
437 reference
438 "RFC 4760: Multiprotocol Extensions for BGP-4";
439 }
440 enum private244 {
441 value "244";
442 description
443 "Reserved for Private Use";
444 reference
445 "RFC 4760: Multiprotocol Extensions for BGP-4";
446 }
447 enum private245 {
448 value "245";
449 description
450 "Reserved for Private Use";
451 reference
452 "RFC 4760: Multiprotocol Extensions for BGP-4";
453 }
454 enum private246 {
455 value "246";
456 description
457 "Reserved for Private Use";
458 reference
459 "RFC 4760: Multiprotocol Extensions for BGP-4";
460 }
461 enum private247 {
462 value "247";
463 description
464 "Reserved for Private Use";
465 reference
466 "RFC 4760: Multiprotocol Extensions for BGP-4";
467 }
468 enum private248 {
469 value "248";
470 description
471 "Reserved for Private Use";
472 reference
473 "RFC 4760: Multiprotocol Extensions for BGP-4";
474 }
475 enum private249 {
476 value "249";
477 description
478 "Reserved for Private Use";
479 reference
480 "RFC 4760: Multiprotocol Extensions for BGP-4";
481 }
482 enum private250 {
483 value "250";
484 description
485 "Reserved for Private Use";
486 reference
487 "RFC 4760: Multiprotocol Extensions for BGP-4";
488 }
489 enum private251 {
490 value "251";
491 description
492 "Reserved for Private Use";
493 reference
494 "RFC 4760: Multiprotocol Extensions for BGP-4";
495 }
496 enum private252 {
497 value "252";
498 description
499 "Reserved for Private Use";
500 reference
501 "RFC 4760: Multiprotocol Extensions for BGP-4";
502 }
503 enum private253 {
504 value "253";
505 description
506 "Reserved for Private Use";
507 reference
508 "RFC 4760: Multiprotocol Extensions for BGP-4";
509 }
510 enum private254 {
511 value "254";
512 description
513 "Reserved for Private Use";
514 reference
515 "RFC 4760: Multiprotocol Extensions for BGP-4";
516 }
517 // value 255 is reserved by IANA
518 }
519 description
520 "This typedef is a YANG enumeration of IANA-registered
521 subsequent address family identifiers (SAFI).";
522 reference
523 "IANA SAFI Values registry.
524 <http://www.iana.org/assignments/safi-namespace>";
525 }
526}