diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/tools/diameter-rfcs.csv	Tue Mar 10 12:24:14 2020 +1100
@@ -0,0 +1,193 @@
+Attribute Name,Code,Section defined,Value Type,MUST,MAY,SHOULD NOT,MUST NOT,Encr
+@vendor,0,,,,,,,
+# RFC 3588 - Diameter #,,,,,,,,
+@standard,RFC 3588,,,,,,,
+Acct-Interim-Interval,85,9.8.2,Unsigned32,M,P,,V,Y
+Accounting-Realtime-Required,483,9.8.7,Enumerated,M,P,,V,Y
+Acct-Multi-Session-Id,50,9.8.5,UTF8String,M,P,,V,Y
+Accounting-Record-Number,485,9.8.3,Unsigned32,M,P,,V,Y
+Accounting-Record-Type,480,9.8.1,Enumerated,M,P,,V,Y
+Accounting-Session-Id,44,9.8.4,OctetString,M,P,,V,Y
+Accounting-Sub-Session-Id,287,9.8.6,Unsigned64,M,P,,V,Y
+Acct-Application-Id,259,6.9,Unsigned32,M,P,,V,N
+Auth-Application-Id,258,6.8,Unsigned32,M,P,,V,N
+Auth-Request-Type,274,8.7,Enumerated,M,P,,V,N
+Authorization-Lifetime,291,8.9,Unsigned32,M,P,,V,N
+Auth-Grace-Period,276,8.10,Unsigned32,M,P,,V,N
+Auth-Session-State,277,8.11,Enumerated,M,P,,V,N
+Re-Auth-Request-Type,285,8.12,Enumerated,M,P,,V,N
+Class,25,8.20,OctetString,M,P,,V,Y
+Destination-Host,293,6.5,DiameterIdentity,M,P,,V,N
+Destination-Realm,283,6.6,DiameterIdentity,M,P,,V,N
+Disconnect-Cause,273,5.4.3,Enumerated,M,P,,V,N
+E2E-Sequence-AVP,300,6.15,Grouped,M,P,,V,Y
+Error-Message,281,7.3,UTF8String,,P,,"V,M",N
+Error-Reporting-Host,294,7.4,DiameterIdentity,,P,,"V,M",N
+Event-Timestamp,55,8.21,Time,M,P,,V,N
+Experimental-Result,297,7.6,Grouped,M,P,,V,N
+Experimental-Result-Code,298,7.7,Unsigned32,M,P,,V,N
+Failed-AVP,279,7.5,Grouped,M,P,,V,N
+Firmware-Revision,267,5.3.4,Unsigned32,,,,"P,V,M",N
+Host-IP-Address,257,5.3.5,Address,M,P,,V,N
+Inband-Security-Id,299,6.10,Unsigned32,M,P,,V,N
+Multi-Round-Time-Out,272,8.19,Unsigned32,M,P,,V,Y
+Origin-Host,264,6.3,DiameterIdentity,M,P,,V,N
+Origin-Realm,296,6.4,DiameterIdentity,M,P,,V,N
+Origin-State-Id,278,8.16,Unsigned32,M,P,,V,N
+Product-Name,269,5.3.7,UTF8String,,,,"P,V,M",N
+Proxy-Host,280,6.7.3,DiameterIdentity,M,,,"P,V",N
+Proxy-Info,284,6.7.2,Grouped,M,,,"P,V",N
+Proxy-State,33,6.7.4,OctetString,M,,,"P,V",N
+Redirect-Host,292,6.12,DiameterURI,M,P,,V,N
+Redirect-Host-Usage,261,6.13,Enumerated,M,P,,V,N
+Redirect-Max-Cache-Time,262,6.14,Unsigned32,M,P,,V,N
+Result-Code,268,7.1,Unsigned32,M,P,,V,N
+Route-Record,282,6.7.1,DiameterIdentity,M,,,"P,V",N
+Session-Id,263,8.8,UTF8String,M,P,,V,Y
+Session-Timeout,27,8.13,Unsigned32,M,P,,V,N
+Session-Binding,270,8.17,Unsigned32,M,P,,V,Y
+Session-Server-Failover,271,8.18,Enumerated,M,P,,V,Y
+Supported-Vendor-Id,265,5.3.6,Unsigned32,M,P,,V,N
+Termination-Cause,295,8.15,Enumerated,M,P,,V,N
+User-Name,1,8.14,UTF8String,M,P,,V,Y
+Vendor-Id,266,5.3.3,Unsigned32,M,P,,V,N
+Vendor-Specific-Application-Id,260,6.11,Grouped,M,P,,V,N
+# RFC 4005 - NAS #,,,,,,,,
+@standard,RFC 4005,,,,,,,
+NAS-Port,5,4.2,Unsigned32,M,P,,V,Y
+NAS-Port-Id,87,4.3,UTF8String,M,P,,V,Y
+NAS-Port-Type,61,4.4,Enumerated,M,P,,V,Y
+Called-Station-Id,30,4.5,UTF8String,M,P,,V,Y
+Calling-Station-Id,31,4.6,UTF8String,M,P,,V,Y
+Connect-Info,77,4.7,UTF8String,M,P,,V,Y
+Originating-Line-Info,94,4.8,OctetString,,"M,P",,V,Y
+Reply-Message,18,4.9,UTF8String,M,P,,V,Y
+User-Password,2,5.1,OctetString,M,P,,V,Y
+Password-Retry,75,5.2,Unsigned32,M,P,,V,Y
+Prompt,76,5.3,Enumerated,M,P,,V,Y
+CHAP-Auth,402,5.4,Grouped,M,P,,V,Y
+CHAP-Algorithm,403,5.5,Enumerated,M,P,,V,Y
+CHAP-Ident,404,5.6,OctetString,M,P,,V,Y
+CHAP-Response,405,5.7,OctetString,M,P,,V,Y
+CHAP-Challenge,60,5.8,OctetString,M,P,,V,Y
+ARAP-Password,70,5.9,OctetString,M,P,,V,Y
+ARAP-Challenge-Response,84,5.10,OctetString,M,P,,V,Y
+ARAP-Security,73,5.11,Unsigned32,M,P,,V,Y
+ARAP-Security-Data,74,5.12,OctetString,M,P,,V,Y
+Service-Type,6,6.1,Enumerated,M,P,,V,Y
+Callback-Number,19,6.2,UTF8String,M,P,,V,Y
+Callback-Id,20,6.3,UTF8String,M,P,,V,Y
+Idle-Timeout,28,6.4,Unsigned32,M,P,,V,Y
+Port-Limit,62,6.5,Unsigned32,M,P,,V,Y
+NAS-Filter-Rule,400,6.6,IPFilterRule,M,P,,V,Y
+Filter-Id,11,6.7,UTF8String,M,P,,V,Y
+Configuration-Token,78,6.8,OctetString,M,,,"P,V",
+QoS-Filter-Rule,407,6.9,QoSFilterRule,,,,,
+Framed-Protocol,7,6.10.1,Enumerated,M,P,,V,Y
+Framed-Routing,10,6.10.2,Enumerated,M,P,,V,Y
+Framed-MTU,12,6.10.3,Unsigned32,M,P,,V,Y
+Framed-Compression,13,6.10.4,Enumerated,M,P,,V,Y
+Framed-IP-Address,8,6.11.1,OctetString,M,P,,V,Y
+Framed-IP-Netmask,9,6.11.2,OctetString,M,P,,V,Y
+Framed-Route,22,6.11.3,UTF8String,M,P,,V,Y
+Framed-Pool,88,6.11.4,OctetString,M,P,,V,Y
+Framed-Interface-Id,96,6.11.5,Unsigned64,M,P,,V,Y
+Framed-IPv6-Prefix,97,6.11.6,OctetString,M,P,,V,Y
+Framed-IPv6-Route,99,6.11.7,UTF8String,M,P,,V,Y
+Framed-IPv6-Pool,100,6.11.8,OctetString,M,P,,V,Y
+Framed-IPX-Network,23,6.12.1,UTF8String,M,P,,V,Y
+Framed-Appletalk-Link,37,6.13.1,Unsigned32,M,P,,V,Y
+Framed-Appletalk-Network,38,6.13.2,Unsigned32,M,P,,V,Y
+Framed-Appletalk-Zone,39,6.13.3,OctetString,M,P,,V,Y
+ARAP-Features,71,6.14.1,OctetString,M,P,,V,Y
+ARAP-Zone-Access,72,6.14.2,Enumerated,M,P,,V,Y
+Login-IP-Host,14,6.15.1,OctetString,M,P,,V,Y
+Login-IPv6-Host,98,6.15.2,OctetString,M,P,,V,Y
+Login-Service,15,6.15.3,Enumerated,M,P,,V,Y
+Login-TCP-Port,16,6.16.1,Unsigned32,M,P,,V,Y
+Login-LAT-Service,34,6.17.1,OctetString,M,P,,V,Y
+Login-LAT-Node,35,6.17.2,OctetString,M,P,,V,Y
+Login-LAT-Group,36,6.17.3,OctetString,M,P,,V,Y
+Login-LAT-Port,63,6.17.4,OctetString,M,P,,V,Y
+Tunneling,401,7.1,Grouped,M,P,,V,N
+Tunnel-Type,64,7.2,Enumerated,M,P,,V,Y
+Tunnel-Medium-Type,65,7.3,Enumerated,M,P,,V,Y
+Tunnel-Client-Endpoint,66,7.4,UTF8String,M,P,,V,Y
+Tunnel-Server-Endpoint,67,7.5,UTF8String,M,P,,V,Y
+Tunnel-Password,69,7.6,OctetString,M,P,,V,Y
+Tunnel-Private-Group-Id,81,7.7,OctetString,M,P,,V,Y
+Tunnel-Assignment-Id,82,7.8,OctetString,M,P,,V,Y
+Tunnel-Preference,83,7.9,Unsigned32,M,P,,V,Y
+Tunnel-Client-Auth-Id,90,7.10,UTF8String,M,P,,V,Y
+Tunnel-Server-Auth-Id,91,7.11,UTF8String,M,P,,V,Y
+Accounting-Input-Octets,363,8.1,Unsigned64,M,P,,V,Y
+Accounting-Output-Octets,364,8.2,Unsigned64,M,P,,V,Y
+Accounting-Input-Packets,365,8.3,Unsigned64,M,P,,V,Y
+Accounting-Output-Packets,366,8.4,Unsigned64,M,P,,V,Y
+Acct-Session-Time,46,8.5,Unsigned32,M,P,,V,Y
+Acct-Authentic,45,8.6,Enumerated,M,P,,V,Y
+Acounting-Auth-Method,406,8.7,Enumerated,M,P,,V,Y
+Acct-Delay-Time,41,8.8,Unsigned32,M,P,,V,Y
+Acct-Link-Count,51,8.9,Unsigned32,M,P,,V,Y
+Acct-Tunnel-Connection,68,8.10,OctetString,M,P,,V,Y
+Acct-Tunnel-Packets-Lost,86,8.11,Unsigned32,M,P,,V,Y
+NAS-Identifier,32,9.3.1,UTF8String,M,P,,V,Y
+NAS-IP-Address,4,9.3.2,OctetString,M,P,,V,Y
+NAS-IPv6-Address,95,9.3.3,OctetString,M,P,,V,Y
+State,24,9.3.4,OctetString,M,P,,V,Y
+# Termination-Cause already in RFC 3588,295,9.3.5,Enumerated,M,P,,V,Y
+#,,,,,,,,
+Origin-AAA-Protocol,408,9.3.6,Enumerated,M,P,,V,Y
+# RFC 4006 - DCCA #,,,,,,,,
+@standard,RFC 4006,,,,,,,
+CC-Correlation-Id,411,8.1,OctetString,,"P,M",,V,Y
+CC-Input-Octets,412,8.24,Unsigned64,M,P,,V,Y
+CC-Money,413,8.22,Grouped,M,P,,V,Y
+CC-Output-Octets,414,8.25,Unsigned64,M,P,,V,Y
+CC-Request-Number,415,8.2,Unsigned32,M,P,,V,Y
+CC-Request-Type,416,8.3,Enumerated,M,P,,V,Y
+CC-Service-Specific-Units,417,8.26,Unsigned64,M,P,,V,Y
+CC-Session-Failover,418,8.4,Enumerated,M,P,,V,Y
+CC-Sub-Session-Id,419,8.5,Unsigned64,M,P,,V,Y
+CC-Time,420,8.21,Unsigned32,M,P,,V,Y
+CC-Total-Octets,421,8.23,Unsigned64,M,P,,V,Y
+CC-Unit-Type,454,8.32,Enumerated,M,P,,V,Y
+Check-Balance-Result,422,8.6,Enumerated,M,P,,V,Y
+Cost-Information,423,8.7,Grouped,M,P,,V,Y
+Cost-Unit,424,8.12,UTF8String,M,P,,V,Y
+Credit-Control,426,8.13,Enumerated,M,P,,V,Y
+Credit-Control-Failure-Handling,427,8.14,Enumerated,M,P,,V,Y
+Currency-Code,425,8.11,Unsigned32,M,P,,V,Y
+Direct-Debiting-Failure-Handling,428,8.15,Enumerated,M,P,,V,Y
+Exponent,429,8.9,Integer32,M,P,,V,Y
+Final-Unit-Action,449,8.35,Enumerated,M,P,,V,Y
+Final-Unit-Indication,430,8.34,Grouped,M,P,,V,Y
+Granted-Service-Unit,431,8.17,Grouped,M,P,,V,Y
+G-S-U-Pool-Identifier,453,8.31,Unsigned32,M,P,,V,Y
+G-S-U-Pool-Reference,457,8.30,Grouped,M,P,,V,Y
+Multiple-Services-Credit-Control,456,8.16,Grouped,M,P,,V,Y
+Multiple-Services-Indicator,455,8.40,Enumerated,M,P,,V,Y
+Rating-Group,432,8.29,Unsigned32,M,P,,V,Y
+Redirect-Address-Type,433,8.38,Enumerated,M,P,,V,Y
+Redirect-Server,434,8.37,Grouped,M,P,,V,Y
+Redirect-Server-Address,435,8.39,UTF8String,M,P,,V,Y
+Requested-Action,436,8.41,Enumerated,M,P,,V,Y
+Requested-Service-Unit,437,8.18,Grouped,M,P,,V,Y
+Restriction-Filter-Rule,438,8.36,IPFilterRule,M,P,,V,Y
+Service-Context-Id,461,8.42,UTF8String,M,P,,V,Y
+Service-Identifier,439,8.28,Unsigned32,M,P,,V,Y
+Service-Parameter-Info,440,8.43,Grouped,,"P,M",,V,Y
+Service-Parameter-Type,441,8.44,Unsigned32,,"P,M",,V,Y
+Service-Parameter-Value,442,8.45,OctetString,,"P,M",,V,Y
+Subscription-Id,443,8.46,Grouped,M,P,,V,Y
+Subscription-Id-Data,444,8.48,UTF8String,M,P,,V,Y
+Subscription-Id-Type,450,8.47,Enumerated,M,P,,V,Y
+Tariff-Change-Usage,452,8.27,Enumerated,M,P,,V,Y
+Tariff-Time-Change,451,8.20,Time,M,P,,V,Y
+Unit-Value,445,8.8,Grouped,M,P,,V,Y
+Used-Service-Unit,446,8.19,Grouped,M,P,,V,Y
+User-Equipment-Info,458,8.49,Grouped,,"P,M",,V,Y
+User-Equipment-Info-Type,459,8.50,Enumerated,,"P,M",,V,Y
+User-Equipment-Info-Value,460,8.51,OctetString,,"P,M",,V,Y
+Value-Digits,447,8.10,Integer64,M,P,,V,Y
+Validity-Time,448,8.33,Unsigned32,M,P,,V,Y
"Welcome to our mercurial repository"