comparison contrib/tools/diameter-rfcs.csv @ 1467:fea9b289d482

create .csv from .org files Use org_to_csv to create .csv from the .org files. Add @vendor and @standard rows for csv_to_fd. Resulting output from org_to_fd.pl -V vendor-name -v vendor-id file.org and csv_to_fd -p fdc file.csv generates same code with minor changes to the intro comments.
author Luke Mewburn <luke@mewburn.net>
date Tue, 10 Mar 2020 12:24:14 +1100
parents
children e947c6dbc096
comparison
equal deleted inserted replaced
1466:d35c6171e630 1467:fea9b289d482
1 Attribute Name,Code,Section defined,Value Type,MUST,MAY,SHOULD NOT,MUST NOT,Encr
2 @vendor,0,,,,,,,
3 # RFC 3588 - Diameter #,,,,,,,,
4 @standard,RFC 3588,,,,,,,
5 Acct-Interim-Interval,85,9.8.2,Unsigned32,M,P,,V,Y
6 Accounting-Realtime-Required,483,9.8.7,Enumerated,M,P,,V,Y
7 Acct-Multi-Session-Id,50,9.8.5,UTF8String,M,P,,V,Y
8 Accounting-Record-Number,485,9.8.3,Unsigned32,M,P,,V,Y
9 Accounting-Record-Type,480,9.8.1,Enumerated,M,P,,V,Y
10 Accounting-Session-Id,44,9.8.4,OctetString,M,P,,V,Y
11 Accounting-Sub-Session-Id,287,9.8.6,Unsigned64,M,P,,V,Y
12 Acct-Application-Id,259,6.9,Unsigned32,M,P,,V,N
13 Auth-Application-Id,258,6.8,Unsigned32,M,P,,V,N
14 Auth-Request-Type,274,8.7,Enumerated,M,P,,V,N
15 Authorization-Lifetime,291,8.9,Unsigned32,M,P,,V,N
16 Auth-Grace-Period,276,8.10,Unsigned32,M,P,,V,N
17 Auth-Session-State,277,8.11,Enumerated,M,P,,V,N
18 Re-Auth-Request-Type,285,8.12,Enumerated,M,P,,V,N
19 Class,25,8.20,OctetString,M,P,,V,Y
20 Destination-Host,293,6.5,DiameterIdentity,M,P,,V,N
21 Destination-Realm,283,6.6,DiameterIdentity,M,P,,V,N
22 Disconnect-Cause,273,5.4.3,Enumerated,M,P,,V,N
23 E2E-Sequence-AVP,300,6.15,Grouped,M,P,,V,Y
24 Error-Message,281,7.3,UTF8String,,P,,"V,M",N
25 Error-Reporting-Host,294,7.4,DiameterIdentity,,P,,"V,M",N
26 Event-Timestamp,55,8.21,Time,M,P,,V,N
27 Experimental-Result,297,7.6,Grouped,M,P,,V,N
28 Experimental-Result-Code,298,7.7,Unsigned32,M,P,,V,N
29 Failed-AVP,279,7.5,Grouped,M,P,,V,N
30 Firmware-Revision,267,5.3.4,Unsigned32,,,,"P,V,M",N
31 Host-IP-Address,257,5.3.5,Address,M,P,,V,N
32 Inband-Security-Id,299,6.10,Unsigned32,M,P,,V,N
33 Multi-Round-Time-Out,272,8.19,Unsigned32,M,P,,V,Y
34 Origin-Host,264,6.3,DiameterIdentity,M,P,,V,N
35 Origin-Realm,296,6.4,DiameterIdentity,M,P,,V,N
36 Origin-State-Id,278,8.16,Unsigned32,M,P,,V,N
37 Product-Name,269,5.3.7,UTF8String,,,,"P,V,M",N
38 Proxy-Host,280,6.7.3,DiameterIdentity,M,,,"P,V",N
39 Proxy-Info,284,6.7.2,Grouped,M,,,"P,V",N
40 Proxy-State,33,6.7.4,OctetString,M,,,"P,V",N
41 Redirect-Host,292,6.12,DiameterURI,M,P,,V,N
42 Redirect-Host-Usage,261,6.13,Enumerated,M,P,,V,N
43 Redirect-Max-Cache-Time,262,6.14,Unsigned32,M,P,,V,N
44 Result-Code,268,7.1,Unsigned32,M,P,,V,N
45 Route-Record,282,6.7.1,DiameterIdentity,M,,,"P,V",N
46 Session-Id,263,8.8,UTF8String,M,P,,V,Y
47 Session-Timeout,27,8.13,Unsigned32,M,P,,V,N
48 Session-Binding,270,8.17,Unsigned32,M,P,,V,Y
49 Session-Server-Failover,271,8.18,Enumerated,M,P,,V,Y
50 Supported-Vendor-Id,265,5.3.6,Unsigned32,M,P,,V,N
51 Termination-Cause,295,8.15,Enumerated,M,P,,V,N
52 User-Name,1,8.14,UTF8String,M,P,,V,Y
53 Vendor-Id,266,5.3.3,Unsigned32,M,P,,V,N
54 Vendor-Specific-Application-Id,260,6.11,Grouped,M,P,,V,N
55 # RFC 4005 - NAS #,,,,,,,,
56 @standard,RFC 4005,,,,,,,
57 NAS-Port,5,4.2,Unsigned32,M,P,,V,Y
58 NAS-Port-Id,87,4.3,UTF8String,M,P,,V,Y
59 NAS-Port-Type,61,4.4,Enumerated,M,P,,V,Y
60 Called-Station-Id,30,4.5,UTF8String,M,P,,V,Y
61 Calling-Station-Id,31,4.6,UTF8String,M,P,,V,Y
62 Connect-Info,77,4.7,UTF8String,M,P,,V,Y
63 Originating-Line-Info,94,4.8,OctetString,,"M,P",,V,Y
64 Reply-Message,18,4.9,UTF8String,M,P,,V,Y
65 User-Password,2,5.1,OctetString,M,P,,V,Y
66 Password-Retry,75,5.2,Unsigned32,M,P,,V,Y
67 Prompt,76,5.3,Enumerated,M,P,,V,Y
68 CHAP-Auth,402,5.4,Grouped,M,P,,V,Y
69 CHAP-Algorithm,403,5.5,Enumerated,M,P,,V,Y
70 CHAP-Ident,404,5.6,OctetString,M,P,,V,Y
71 CHAP-Response,405,5.7,OctetString,M,P,,V,Y
72 CHAP-Challenge,60,5.8,OctetString,M,P,,V,Y
73 ARAP-Password,70,5.9,OctetString,M,P,,V,Y
74 ARAP-Challenge-Response,84,5.10,OctetString,M,P,,V,Y
75 ARAP-Security,73,5.11,Unsigned32,M,P,,V,Y
76 ARAP-Security-Data,74,5.12,OctetString,M,P,,V,Y
77 Service-Type,6,6.1,Enumerated,M,P,,V,Y
78 Callback-Number,19,6.2,UTF8String,M,P,,V,Y
79 Callback-Id,20,6.3,UTF8String,M,P,,V,Y
80 Idle-Timeout,28,6.4,Unsigned32,M,P,,V,Y
81 Port-Limit,62,6.5,Unsigned32,M,P,,V,Y
82 NAS-Filter-Rule,400,6.6,IPFilterRule,M,P,,V,Y
83 Filter-Id,11,6.7,UTF8String,M,P,,V,Y
84 Configuration-Token,78,6.8,OctetString,M,,,"P,V",
85 QoS-Filter-Rule,407,6.9,QoSFilterRule,,,,,
86 Framed-Protocol,7,6.10.1,Enumerated,M,P,,V,Y
87 Framed-Routing,10,6.10.2,Enumerated,M,P,,V,Y
88 Framed-MTU,12,6.10.3,Unsigned32,M,P,,V,Y
89 Framed-Compression,13,6.10.4,Enumerated,M,P,,V,Y
90 Framed-IP-Address,8,6.11.1,OctetString,M,P,,V,Y
91 Framed-IP-Netmask,9,6.11.2,OctetString,M,P,,V,Y
92 Framed-Route,22,6.11.3,UTF8String,M,P,,V,Y
93 Framed-Pool,88,6.11.4,OctetString,M,P,,V,Y
94 Framed-Interface-Id,96,6.11.5,Unsigned64,M,P,,V,Y
95 Framed-IPv6-Prefix,97,6.11.6,OctetString,M,P,,V,Y
96 Framed-IPv6-Route,99,6.11.7,UTF8String,M,P,,V,Y
97 Framed-IPv6-Pool,100,6.11.8,OctetString,M,P,,V,Y
98 Framed-IPX-Network,23,6.12.1,UTF8String,M,P,,V,Y
99 Framed-Appletalk-Link,37,6.13.1,Unsigned32,M,P,,V,Y
100 Framed-Appletalk-Network,38,6.13.2,Unsigned32,M,P,,V,Y
101 Framed-Appletalk-Zone,39,6.13.3,OctetString,M,P,,V,Y
102 ARAP-Features,71,6.14.1,OctetString,M,P,,V,Y
103 ARAP-Zone-Access,72,6.14.2,Enumerated,M,P,,V,Y
104 Login-IP-Host,14,6.15.1,OctetString,M,P,,V,Y
105 Login-IPv6-Host,98,6.15.2,OctetString,M,P,,V,Y
106 Login-Service,15,6.15.3,Enumerated,M,P,,V,Y
107 Login-TCP-Port,16,6.16.1,Unsigned32,M,P,,V,Y
108 Login-LAT-Service,34,6.17.1,OctetString,M,P,,V,Y
109 Login-LAT-Node,35,6.17.2,OctetString,M,P,,V,Y
110 Login-LAT-Group,36,6.17.3,OctetString,M,P,,V,Y
111 Login-LAT-Port,63,6.17.4,OctetString,M,P,,V,Y
112 Tunneling,401,7.1,Grouped,M,P,,V,N
113 Tunnel-Type,64,7.2,Enumerated,M,P,,V,Y
114 Tunnel-Medium-Type,65,7.3,Enumerated,M,P,,V,Y
115 Tunnel-Client-Endpoint,66,7.4,UTF8String,M,P,,V,Y
116 Tunnel-Server-Endpoint,67,7.5,UTF8String,M,P,,V,Y
117 Tunnel-Password,69,7.6,OctetString,M,P,,V,Y
118 Tunnel-Private-Group-Id,81,7.7,OctetString,M,P,,V,Y
119 Tunnel-Assignment-Id,82,7.8,OctetString,M,P,,V,Y
120 Tunnel-Preference,83,7.9,Unsigned32,M,P,,V,Y
121 Tunnel-Client-Auth-Id,90,7.10,UTF8String,M,P,,V,Y
122 Tunnel-Server-Auth-Id,91,7.11,UTF8String,M,P,,V,Y
123 Accounting-Input-Octets,363,8.1,Unsigned64,M,P,,V,Y
124 Accounting-Output-Octets,364,8.2,Unsigned64,M,P,,V,Y
125 Accounting-Input-Packets,365,8.3,Unsigned64,M,P,,V,Y
126 Accounting-Output-Packets,366,8.4,Unsigned64,M,P,,V,Y
127 Acct-Session-Time,46,8.5,Unsigned32,M,P,,V,Y
128 Acct-Authentic,45,8.6,Enumerated,M,P,,V,Y
129 Acounting-Auth-Method,406,8.7,Enumerated,M,P,,V,Y
130 Acct-Delay-Time,41,8.8,Unsigned32,M,P,,V,Y
131 Acct-Link-Count,51,8.9,Unsigned32,M,P,,V,Y
132 Acct-Tunnel-Connection,68,8.10,OctetString,M,P,,V,Y
133 Acct-Tunnel-Packets-Lost,86,8.11,Unsigned32,M,P,,V,Y
134 NAS-Identifier,32,9.3.1,UTF8String,M,P,,V,Y
135 NAS-IP-Address,4,9.3.2,OctetString,M,P,,V,Y
136 NAS-IPv6-Address,95,9.3.3,OctetString,M,P,,V,Y
137 State,24,9.3.4,OctetString,M,P,,V,Y
138 # Termination-Cause already in RFC 3588,295,9.3.5,Enumerated,M,P,,V,Y
139 #,,,,,,,,
140 Origin-AAA-Protocol,408,9.3.6,Enumerated,M,P,,V,Y
141 # RFC 4006 - DCCA #,,,,,,,,
142 @standard,RFC 4006,,,,,,,
143 CC-Correlation-Id,411,8.1,OctetString,,"P,M",,V,Y
144 CC-Input-Octets,412,8.24,Unsigned64,M,P,,V,Y
145 CC-Money,413,8.22,Grouped,M,P,,V,Y
146 CC-Output-Octets,414,8.25,Unsigned64,M,P,,V,Y
147 CC-Request-Number,415,8.2,Unsigned32,M,P,,V,Y
148 CC-Request-Type,416,8.3,Enumerated,M,P,,V,Y
149 CC-Service-Specific-Units,417,8.26,Unsigned64,M,P,,V,Y
150 CC-Session-Failover,418,8.4,Enumerated,M,P,,V,Y
151 CC-Sub-Session-Id,419,8.5,Unsigned64,M,P,,V,Y
152 CC-Time,420,8.21,Unsigned32,M,P,,V,Y
153 CC-Total-Octets,421,8.23,Unsigned64,M,P,,V,Y
154 CC-Unit-Type,454,8.32,Enumerated,M,P,,V,Y
155 Check-Balance-Result,422,8.6,Enumerated,M,P,,V,Y
156 Cost-Information,423,8.7,Grouped,M,P,,V,Y
157 Cost-Unit,424,8.12,UTF8String,M,P,,V,Y
158 Credit-Control,426,8.13,Enumerated,M,P,,V,Y
159 Credit-Control-Failure-Handling,427,8.14,Enumerated,M,P,,V,Y
160 Currency-Code,425,8.11,Unsigned32,M,P,,V,Y
161 Direct-Debiting-Failure-Handling,428,8.15,Enumerated,M,P,,V,Y
162 Exponent,429,8.9,Integer32,M,P,,V,Y
163 Final-Unit-Action,449,8.35,Enumerated,M,P,,V,Y
164 Final-Unit-Indication,430,8.34,Grouped,M,P,,V,Y
165 Granted-Service-Unit,431,8.17,Grouped,M,P,,V,Y
166 G-S-U-Pool-Identifier,453,8.31,Unsigned32,M,P,,V,Y
167 G-S-U-Pool-Reference,457,8.30,Grouped,M,P,,V,Y
168 Multiple-Services-Credit-Control,456,8.16,Grouped,M,P,,V,Y
169 Multiple-Services-Indicator,455,8.40,Enumerated,M,P,,V,Y
170 Rating-Group,432,8.29,Unsigned32,M,P,,V,Y
171 Redirect-Address-Type,433,8.38,Enumerated,M,P,,V,Y
172 Redirect-Server,434,8.37,Grouped,M,P,,V,Y
173 Redirect-Server-Address,435,8.39,UTF8String,M,P,,V,Y
174 Requested-Action,436,8.41,Enumerated,M,P,,V,Y
175 Requested-Service-Unit,437,8.18,Grouped,M,P,,V,Y
176 Restriction-Filter-Rule,438,8.36,IPFilterRule,M,P,,V,Y
177 Service-Context-Id,461,8.42,UTF8String,M,P,,V,Y
178 Service-Identifier,439,8.28,Unsigned32,M,P,,V,Y
179 Service-Parameter-Info,440,8.43,Grouped,,"P,M",,V,Y
180 Service-Parameter-Type,441,8.44,Unsigned32,,"P,M",,V,Y
181 Service-Parameter-Value,442,8.45,OctetString,,"P,M",,V,Y
182 Subscription-Id,443,8.46,Grouped,M,P,,V,Y
183 Subscription-Id-Data,444,8.48,UTF8String,M,P,,V,Y
184 Subscription-Id-Type,450,8.47,Enumerated,M,P,,V,Y
185 Tariff-Change-Usage,452,8.27,Enumerated,M,P,,V,Y
186 Tariff-Time-Change,451,8.20,Time,M,P,,V,Y
187 Unit-Value,445,8.8,Grouped,M,P,,V,Y
188 Used-Service-Unit,446,8.19,Grouped,M,P,,V,Y
189 User-Equipment-Info,458,8.49,Grouped,,"P,M",,V,Y
190 User-Equipment-Info-Type,459,8.50,Enumerated,,"P,M",,V,Y
191 User-Equipment-Info-Value,460,8.51,OctetString,,"P,M",,V,Y
192 Value-Digits,447,8.10,Integer64,M,P,,V,Y
193 Validity-Time,448,8.33,Unsigned32,M,P,,V,Y
"Welcome to our mercurial repository"