Fix minor bug in FRM proactive flow code path
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-parser-impl / src / test / resources / types / iana-afn-safi@2012-06-04.yang
1 module 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 2012-06-04 {
45     description
46       "Initial revision.";
47     reference
48       "RFC XXXX: TITLE";
49   }
50
51   typedef address-family {
52     type enumeration {
53       enum other {
54         value "0";
55         description
56           "none of the following";
57       }
58       enum ipv4 {
59         value "1";
60         description
61           "IP version 4";
62       }
63       enum ipv6 {
64         value "2";
65         description
66           "IP version 6";
67       }
68       enum nsap {
69         value "3";
70         description
71           "NSAP";
72       }
73       enum hdlc {
74         value "4";
75         description
76           "HDLC (8-bit multidrop)";
77       }
78       enum bbn1822 {
79         value "5";
80         description
81           "BBN 1822";
82       }
83       enum all802 {
84         value "6";
85         description
86           "802 (includes all 802 media plus Ethernet 'canonical
87            format')";
88       }
89       enum e163 {
90         value "7";
91         description
92           "E.163";
93       }
94       enum e164 {
95         value "8";
96         description
97           "E.164 (SMDS, FrameRelay, ATM)";
98       }
99       enum f69 {
100         value "9";
101         description
102           "F.69 (Telex)";
103       }
104       enum x121 {
105         value "10";
106         description
107           "X.121 (X.25, Frame Relay)";
108       }
109       enum ipx {
110         value "11";
111         description
112           "IPX (Internetwork Packet Exchange)";
113       }
114       enum appletalk {
115         value "12";
116         description
117           "Appletalk";
118       }
119       enum decnetIV {
120         value "13";
121         description
122           "DECnet IV";
123       }
124       enum banyanVines {
125         value "14";
126         description
127           "Banyan Vines";
128       }
129       enum e164withNsap {
130         value "15";
131         description
132           "E.164 with NSAP format subaddress";
133         reference
134           "ATM Forum UNI 3.1";
135       }
136       enum dns {
137         value "16";
138         description
139           "DNS (Domain Name System)";
140       }
141       enum distinguishedName {
142         value "17";
143         description
144           "Distinguished Name (per X.500)";
145       }
146       enum asNumber {
147         value "18";
148         description
149           "Autonomous System Number";
150       }
151       enum xtpOverIPv4 {
152         value "19";
153         description
154           "XTP over IP version 4";
155       }
156       enum xtpOverIpv6 {
157         value "20";
158         description
159           "XTP over IP version 6";
160       }
161       enum xtpNativeModeXTP {
162         value "21";
163         description
164           "XTP native mode XTP";
165       }
166       enum fibreChannelWWPN {
167         value "22";
168         description
169           "Fibre Channel World-Wide Port Name";
170       }
171       enum fibreChannelWWNN {
172         value "23";
173         description
174           "Fibre Channel World-Wide Node Name";
175       }
176       enum gwid {
177         value "24";
178         description
179           "Gateway Identifier";
180       }
181       enum l2vpn {
182         value "25";
183         description
184           "AFI for L2VPN information";
185         reference
186           "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
187            for Auto-Discovery and Signaling
188
189            RFC 6074: Provisioning, Auto-Discovery, and Signaling in
190            Layer 2 Virtual Private Networks (L2VPNs)
191           ";
192       }
193       enum eigrpCommon {
194         value "16384";
195         description
196           "EIGRP Common Service Family";
197       }
198       enum eigrpIPv4 {
199         value "16385";
200         description
201           "EIGRP IPv4 Service Family";
202       }
203       enum eigrpIPv6 {
204         value "16386";
205         description
206           "EIGRP IPv6 Service Family";
207       }
208       enum lcaf {
209         value "16387";
210         description
211           "LISP Canonical Address Format";
212       }
213     }
214     description
215       "This typedef is a YANG enumeration of IANA-registered address
216        family numbers (AFN).";
217     reference
218       "Address Family Numbers. IANA, 2011-01-20.
219        <http://www.iana.org/assignments/address-family-numbers/
220        address-family-numbers.xml>
221       ";
222   }
223
224   typedef subsequent-address-family {
225     type enumeration {
226       enum nlri-unicast {
227         value "1";
228         description
229           "Network Layer Reachability Information used for unicast
230            forwarding";
231         reference
232           "RFC 4760: Multiprotocol Extensions for BGP-4";
233       }
234       enum nlri-multicast {
235         value "2";
236         description
237           "Network Layer Reachability Information used for multicast
238            forwarding";
239         reference
240           "RFC 4760: Multiprotocol Extensions for BGP-4";
241       }
242       enum nlri-mpls {
243         value "4";
244         description
245           "Network Layer Reachability Information (NLRI) with MPLS
246            Labels";
247         reference
248           "RFC 3107: Carrying Label Information in BGP-4";
249       }
250       enum mcast-vpn {
251         value "5";
252         description
253           "MCAST-VPN";
254         reference
255           "RFC 6514: BGP Encodings and Procedures for Multicast in
256            MPLS/BGP IP VPNs";
257       }
258       enum nlri-dynamic-ms-pw {
259         value "6";
260         status "obsolete";
261         description
262           "Network Layer Reachability Information used for Dynamic
263            Placement of Multi-Segment Pseudowires (TEMPORARY -
264            Expires 2008-08-23)";
265         reference
266           "draft-ietf-pwe3-dynamic-ms-pw: Dynamic Placement of Multi
267            Segment Pseudowires";
268       }
269       enum encapsulation {
270         value "7";
271         description
272           "Encapsulation SAFI";
273         reference
274           "RFC 5512: The BGP Encapsulation Subsequent Address Family
275            Identifier (SAFI) and the BGP Tunnel Encapsulation
276            Attribute";
277       }
278       enum tunnel-safi {
279         value "64";
280         status "obsolete";
281         description
282           "Tunnel SAFI";
283         reference
284           "draft-nalawade-kapoor-tunnel-safi: BGP Tunnel SAFI";
285       }
286       enum vpls {
287         value "65";
288         description
289           "Virtual Private LAN Service (VPLS)";
290         reference
291           "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
292            for Auto-Discovery and Signaling
293
294            RFC 6074: Provisioning, Auto-Discovery, and Signaling in
295            Layer 2 Virtual Private Networks (L2VPNs)
296           ";
297       }
298       enum bgp-mdt {
299         value "66";
300         description
301           "BGP MDT SAFI";
302         reference
303           "RFC 6037: Cisco Systems' Solution for Multicast in
304            BGP/MPLS IP VPNs";
305       }
306       enum bgp-4over6 {
307         value "67";
308         description
309           "BGP 4over6 SAFI";
310         reference
311           "RFC 5747: 4over6 Transit Solution Using IP Encapsulation
312            and MP-BGP Extensions";
313       }
314       enum bgp-6over4 {
315         value "68";
316         description
317           "BGP 6over4 SAFI";
318       }
319       enum l1vpn-auto-discovery {
320         value "69";
321         description
322           "Layer-1 VPN auto-discovery information";
323         reference
324           "RFC 5195: BGP-Based Auto-Discovery for Layer-1 VPNs";
325       }
326       enum mpls-vpn {
327         value "128";
328         description
329           "MPLS-labeled VPN address";
330         reference
331           "RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs)";
332       }
333       enum multicast-bgp-mpls-vpn {
334         value "129";
335         description
336           "Multicast for BGP/MPLS IP Virtual Private Networks
337            (VPNs)";
338         reference
339           "RFC 6513: Multicast in MPLS/BGP IP VPNs
340
341            RFC 6514: BGP Encodings and Procedures for Multicast in
342            MPLS/BGP IP VPNs
343           ";
344       }
345       enum route-target-constraints {
346         value "132";
347         description
348           "Route Target constraints";
349         reference
350           "RFC 4684: Constrained Route Distribution for Border
351            Gateway Protocol/MultiProtocol Label Switching (BGP/MPLS)
352            Internet Protocol (IP) Virtual Private Networks (VPNs)";
353       }
354       enum ipv4-diss-flow {
355         value "133";
356         description
357           "IPv4 dissemination of flow specification rules";
358         reference
359           "RFC 5575: Dissemination of Flow Specification Rules";
360       }
361       enum vpnv4-diss-flow {
362         value "134";
363         description
364           "IPv4 dissemination of flow specification rules";
365         reference
366           "RFC 5575: Dissemination of Flow Specification Rules";
367       }
368       enum vpn-auto-discovery {
369         value "140";
370         status "obsolete";
371         description
372           "VPN auto-discovery";
373         reference
374           "draft-ietf-l3vpn-bgpvpn-auto: Using BGP as an
375            Auto-Discovery Mechanism for VR-based Layer-3 VPNs";
376       }
377     }
378     description
379       "This typedef is a YANG enumeration of IANA-registered
380        subsequent address family identifiers (SAFI).";
381     reference
382       "Subsequent Address Family Identifiers (SAFI) Parameters. IANA,
383        2012-02-22. <http://www.iana.org/assignments/safi-namespace/
384        safi-namespace.xml>
385       ";
386   }
387 }