Commit 7f43f0c6 authored by wattelet's avatar wattelet
Browse files

So Typing completed

parent 4c081aa3
Loading
Loading
Loading
Loading
+119 −2
Original line number Diff line number Diff line
@@ -26,6 +26,34 @@ group BasicTypesAndConstants {
				const integer c_subsession_Operation_AVP_Code				:= 2203; // Ref: table 5.3.1
            	const integer c_multiple_BBERF_Action_AVP_Code				:= 2204; // Ref: table 5.3.1
			}
			group AVPCodeConstantsTS212_061 {
				const integer c_tdf_Information_AVP							:= 1087; // Ref: TS129 212 5.3.78
				const integer c_tdf_Destination_Realm_AVP					:= 1090; // Ref: TS129 212 5.3.79
				const integer c_tdf_Destination_Host_AVP					:= 1089; // Ref: TS129 212 5.3.80
				const integer c_tdf_IP_Address_AVP							:= 1091; // Ref: TS129 212 5.3.81
            	const integer c_an_GW_Status_AVP							:= 2811; // Ref: TS129 212 5.3.100
				const integer c_3GPP_GGSN_Address_AVP						:=    7; // Ref: TS129 061 table 9a
				const integer c_3GPP_GGSN_IPv6_Address_AVP					:=   16; // Ref: TS129 061 table 9a
				const integer c_twan_Identifier_AVP							:=   29; // Ref: TS129 061 table 9a
				const integer c_qos_Rule_Report_AVP							:= 1055; // Ref: TS129 212 5a.3.5
				const integer c_qos_Rule_Name_AVP							:= 1054; // Ref: TS129 212 5a.3.4
				const integer c_qos_Rule_Base_Name_AVP						:= 1074; // Ref: TS129 212 5a.3.7
				const integer c_pcc_Rule_Status_AVP							:= 1019; // Ref: TS129 212 5.3.19
				const integer c_rule_Failure_AVP							:= 1031; // Ref: TS129 212 5.3.19
				const integer c_appl_Detection_Info_AVP						:= 1098; // Ref: TS129 212 5.3.91
				const integer c_tdf_Application_Identifier_AVP				:= 1088; // Ref: TS129 212 5.3.77
				const integer c_tdf_Application_Instance_Id_AVP				:= 2802; // Ref: TS129 212 5.3.92
				const integer c_henb_Local_IP_Address_AVP					:= 2804; // Ref: TS129 212 5.3.95
				const integer c_ue_Local_IP_Address_AVP						:= 2805; // Ref: TS129 212 5.3.96
				const integer c_udp_Source_Port_AVP							:= 2806; //ref: TS129 212 5.3.97
				const integer c_session_Linking_Indicator_AVP				:= 1064; //ref: TS129 212 5a.3.6
				const integer c_pdn_Connection_ID_AVP						:= 1065; //ref: TS129 212 5.3.58
				const integer c_qos_Rule_Install_AVP						:= 1051; //ref: TS129 212 5a.3.1
				const integer c_qos_Rule_Remove_AVP							:= 1052; //ref: TS129 212 5a.3.2
				const integer c_qos_Rule_Definition_AVP						:= 1053; //ref: TS129 212 5a.3.3
				const integer c_required_Access_Info_AVP					:=  536; //ref: TS129 214 5.3.34
				const integer c_access_Network_Charging_Id_Value_AVP		:=  503; //ref: TS129 214 5.3.4
			}
		}
	}
}// end group BasicTypes
@@ -76,7 +104,10 @@ group HeaderAndBodyTypes {
                octetstring							aVP_Data
			}
                
// [ TWAN-Identifier ] TODO
			type record TWAN_Identifier_AVP {										//ref: TS129 061 table 9a
				AVP_Header							aVP_Header, 					//TWAN-Identifier ::= <AVP header:29>
				octetstring							aVP_Data
			}

			type record QoS_Rule_Report_AVP {										//ref: TS129 212 5a.3.5
				AVP_Header							aVP_Header, 					//QoS-Rule-Report ::= <AVP header:1055>
@@ -346,6 +377,7 @@ group HeaderAndBodyTypes {
            type Multiple_Services_Credit_Control_AVP
            										Multiple_Services_CC_AVP;		// Shortened Name - Alias
            type Usage_Monitoring_Information_AVP	Usage_Monitoring_Info_AVP;		// Shortened Name - Alias
            type CSG_Information_Reporting_AVP		CSG_Info_Reporting_AVP;			// Shortened Name - Alias
		    										
			// CC-Request (CCR) Command - Ref: TS 129 215 5.5.2
			type record	S9_CCR_MSG {
@@ -387,7 +419,7 @@ group HeaderAndBodyTypes {
                ThreeGPP_GGSN_IPv6_Address_AVP		threeGPP_GGSN_IPv6_Address		optional,	//Gx (TS129 212)
				RAI_AVP                            	rAI								optional,   //S9 (TS129 215) & Gx,Gxx (TS129 212)
				ThreeGPP_User_Location_Info_AVP    	threeGPP_User_Location_Info		optional,   //S9 (TS129 215) & Gx,Gxx (TS129 212)
				// [ TWAN-Identifier ]															//Gx (TS129 212)
                TWAN_Identifier_AVP					tWAN_Identifier					optional,	//Gx (TS129 212)
				ThreeGPP_MS_TimeZone_AVP        	threeGPP_MS_TimeZone			optional,   //S9 (TS129 215) & Gx,Gxx (TS129 212)
                ThreeGPP2_BSID_AVP					threeGPP2_BSID					optional,	//S9 (TS129 215) & Gxx (TS129 212)
                User_CSG_Information_AVP			user_CSG_Information			optional,	//S9 (TS129 215) & Gxx (TS129 212)
@@ -436,6 +468,91 @@ group HeaderAndBodyTypes {
                set of Route_Record_AVP          	route_Record					optional,   //RFC4006 & S9 (TS129 215) & Gx,Gxx,Sd (TS129 212)
                set of AVP_Type                    	aVP_Type						optional    //RFC4006 & S9 (TS129 215) & Gx,Gxx,Sd (TS129 212)
			}

			// CC-Answer (CCA) Command - Ref: TS 129 215 5.5.3
			type record	S9_CCA_MSG {
				DiameterHeader                     	header,							//<CCA> ::=  < Diameter Header: 272, PXY >
				Session_Id_AVP						session_Id,						//
                Auth_Application_Id_AVP         	auth_Application_Id,                		//S9 (TS129 215)
                Origin_Host_AVP                 	origin_Host,           						//S9 (TS129 215)
                Origin_Realm_AVP                 	origin_Realm,               				//S9 (TS129 215)
				Result_Code_AVP						result_Code						optional,	//S9 (TS129 215)
				Experimental_Result_AVP				experimental_Result				optional,	//S9 (TS129 215)
                CC_Request_Type_AVP             	cC_Request_Type,                    		//S9 (TS129 215)
                CC_Request_Number_AVP             	cC_Request_Number,                    		//S9 (TS129 215)
                set of Supported_Features_AVP    	supported_Features				optional,   //S9 (TS129 215)
                set of QoS_Rule_Install_AVP			qoS_Rule_Install				optional,	//S9 (TS129 215)
                set of QoS_Rule_Remove_AVP			qoS_Rule_Remove					optional,	//S9 (TS129 215)
                QoS_Information_AVP                	qoS_Information					optional,   //S9 (TS129 215)
                Bearer_Control_Mode_AVP            	bearer_Control_Mode				optional,	//S9 (TS129 215)
                set of Event_Trigger_AVP        	event_Trigger					optional,	//S9 (TS129 215)
                Charging_Information_AVP        	charging_Information			optional,	//S9 (TS129 215)
                set of Subses_Decision_Info_AVP		subsession_Decision_Info		optional,	//S9 (TS129 215)
                set of CSG_Info_Reporting_AVP		cSG_Information_Reporting		optional,	//S9 (TS129 215)
                set length (0..2) of AN_GW_Addr_AVP	aN_GW_Address					optional,   //S9 (TS129 215)
                Origin_State_Id_AVP             	origin_State					optional,	//S9 (TS129 215)
                Error_Message_AVP                	error_Message					optional,	//S9 (TS129 215)
                Error_Reporting_Host_AVP        	error_Reporting_Host			optional,	//S9 (TS129 215)
				set of Failed_AVP					failed_AVP						optional,	//S9 (TS129 215)
                set of Proxy_Info_AVP            	proxy_Info						optional,	//S9 (TS129 215)
                set of Route_Record_AVP          	route_Record					optional,   //S9 (TS129 215)
                set of AVP_Type                    	aVP_Type						optional    //S9 (TS129 215)
			}

			// Re-Auth-Request (RAR) Command - Ref: TS 129 215 5.5.4
			type record	S9_RAR_MSG {
				DiameterHeader                     	header,							//<RAR> ::= < Diameter Header: 258, REQ, PXY >
				Session_Id_AVP						session_Id,						//
                Auth_Application_Id_AVP         	auth_Application_Id,                		//S9 (TS129 215)
                Origin_Host_AVP                 	origin_Host,           						//S9 (TS129 215)
                Origin_Realm_AVP                 	origin_Realm,               				//S9 (TS129 215)
                Destination_Realm_AVP            	destination_Realm,            				//S9 (TS129 215)
                Destination_Host_AVP             	destination_Host,							//S9 (TS129 215)
                Re_Auth_Request_Type_AVP			re_Auth_Request_Type			optional,	//S9 (TS129 215)
                Origin_State_Id_AVP             	origin_State					optional,	//S9 (TS129 215)
                set of QoS_Rule_Install_AVP			qoS_Rule_Install				optional,	//S9 (TS129 215)
                set of QoS_Rule_Remove_AVP			qoS_Rule_Remove					optional,	//S9 (TS129 215)
                set of QoS_Information_AVP          qoS_Information					optional,   //S9 (TS129 215)
                set of Event_Trigger_AVP        	event_Trigger					optional,	//S9 (TS129 215)
                set of Subses_Decision_Info_AVP		subsession_Decision_Info		optional,	//S9 (TS129 215)
                set length (0..2) of AN_GW_Addr_AVP	aN_GW_Address					optional,   //S9 (TS129 215)
                Session_Release_Cause_AVP           session_Release_Cause			optional,	//S9 (TS129 215)
                set of Proxy_Info_AVP            	proxy_Info						optional,	//S9 (TS129 215)
                set of Route_Record_AVP          	route_Record					optional,   //S9 (TS129 215)
                set of AVP_Type                    	aVP_Type						optional    //S9 (TS129 215)
			}

			// Re-Auth-Answer (RAA) Command - Ref: TS 129 215 5.5.5
			type record	S9_RAA_MSG {
				DiameterHeader                     	header,							//<RAA> ::=  < Diameter Header: 258, PXY >
				Session_Id_AVP						session_Id,						//
                Origin_Host_AVP                 	origin_Host,           						//S9 (TS129 215)
                Origin_Realm_AVP                 	origin_Realm,               				//S9 (TS129 215)
				Result_Code_AVP						result_Code						optional,	//S9 (TS129 215)
				Experimental_Result_AVP				experimental_Result				optional,	//S9 (TS129 215)
                Origin_State_Id_AVP             	origin_State_Id					optional,	//S9 (TS129 215)
                Framed_IP_Address_AVP            	framed_IP_Address				optional,   //S9 (TS129 215)
                Framed_IPv6_Prefix_AVP            	framed_IPv6_Prefix				optional,   //S9 (TS129 215)
                IP_CAN_Type_AVP                    	iP_CAN_Type						optional,   //S9 (TS129 215)
                RAT_Type_AVP                    	rAT_Type						optional,   //S9 (TS129 215)
				ThreeGPP_SGSN_MCC_MNC_AVP        	threeGPP_SGSN_MCC_MNC			optional,   //S9 (TS129 215)
				ThreeGPP_SGSN_Address_AVP        	threeGPP_SGSN_Address			optional,   //S9 (TS129 215)
				ThreeGPP_SGSN_IPv6_Address_AVP    	threeGPP_SGSN_IPv6_Address		optional,   //S9 (TS129 215)
				RAI_AVP                            	rAI								optional,   //S9 (TS129 215)
				ThreeGPP_User_Location_Info_AVP    	threeGPP_User_Location_Info		optional,   //S9 (TS129 215)
				ThreeGPP_MS_TimeZone_AVP        	threeGPP_MS_TimeZone			optional,   //S9 (TS129 215)
                ThreeGPP2_BSID_AVP					threeGPP2_BSID					optional,	//S9 (TS129 215)
                QoS_Information_AVP                	qoS_Information					optional,   //S9 (TS129 215)
				set of QoS_Rule_Report_AVP			qoS_Rule_Report					optional,	//S9 (TS129 215)
                set length (0..2) of AN_GW_Addr_AVP	aN_GW_Address					optional,   //S9 (TS129 215)
                set of Subses_Enforcement_Info_AVP	subsesion_Enforcement_Info		optional,	//S9 (TS129 215)
                User_CSG_Information_AVP			user_CSG_Information			optional,	//S9 (TS129 215)
                Error_Message_AVP                	error_Message					optional,	//S9 (TS129 215)
                Error_Reporting_Host_AVP        	error_Reporting_Host			optional,	//S9 (TS129 215)
				set of Failed_AVP					failed_AVP						optional,	//S9 (TS129 215)
                set of Proxy_Info_AVP            	proxy_Info						optional,	//S9 (TS129 215)
                set of AVP_Type                    	aVP_Type						optional    //S9 (TS129 215)
			}
		}//end group S9
	}//end group MessageTypes
}//End group HeaderAndBodyTypes