Loading DiameterS9/ttcn/DiameterS9_TypesAndValues.ttcn 0 → 100644 +106 −0 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id: DiameterS9_TypesAndValues.ttcn 664 2013-12-11 14:39:08Z wattelet $ * @desc This module defines message, header, structured and simple Diameter * S9 types as well constants used by DiameterS9 constructs. <br> * Note that any changes made to the definitions in this module * may be overwritten by future releases of this library * End users are encouraged to contact the distributers of this * module regarding their modifications or additions * @remark Adding of new message and header types is ok; * Existing message or header types shall not be changed or removed */ module DiameterS9_TypesAndValues { import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; import from LibDiameter_TypesAndValues all; group BasicTypesAndConstants { group DiameterS9Constants { group S9AVPCodeConstants { group AVPCodeConstantsTS129_215 { const integer c_subsession_Decision_Info_AVP_Code := 2200; // Ref: table 5.3.1 const integer c_subsession_Enforcement_Info_AVP_Code := 2201; // Ref: table 5.3.1 const integer c_subsession_Id_AVP_Code := 2202; // Ref: table 5.3.1 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 } } } }// end group BasicTypes group HeaderAndBodyTypes { group AVPs{ group TS129_215_AVPs { }//end of group TS129_215_AVPs }//end group AVPs group MessageTypes { group S9 { // CC-Request (CCR) Command - Ref: TS 129 215 5.5.2 type record S9_CCR_MSG { DiameterHeader header, //<CCR> ::= < Diameter Header: 272, REQ, PXY> Session_Id_AVP session_Id, // Auth_Application_Id_AVP auth_Application_Id, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_Host_AVP origin_Host, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_Realm_AVP origin_Realm, //S9 (TS129 215) & Gx,Gxx (TS129 212) Destination_Realm_AVP destination_Realm, //S9 (TS129 215) & Gx,Gxx (TS129 212) CC_Request_Type_AVP cC_Request_Type, //S9 (TS129 215) & Gx,Gxx (TS129 212) CC_Request_Number_AVP cC_Request_Number, //S9 (TS129 215) & Gx,Gxx (TS129 212) Destination_Host_AVP destination_Host optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_State_Id_AVP origin_State_Id optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Subscription_Id_AVP subscription_Id optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Supported_Features_AVP supported_Features optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // [ TDF-Information ] //Gx (TS129 212) only Network_Request_Support_AVP network_Request_Support optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Packet_Filter_Information_AVP packet_Filter_Information optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Packet_Filter_Operation_AVP packet_Filter_Operation optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // Bearer_Identifier_AVP bearer_Identifier optional, //Gx (TS129 212) only // Bearer_Operation_AVP bearer_Operation optional, //Gx (TS129 212) only Framed_IP_Address_AVP framed_IP_Address optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Framed_IPv6_Prefix_AVP framed_IPv6_Prefix optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) IP_CAN_Type_AVP iP_CAN_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // ThreeGPP_RAT_Type_AVP threeGPP_RAT_Type optional, //Gx (TS129 212) only RAT_Type_AVP rAT_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Termination_Cause_AVP termination_Cause optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) User_Equipment_Info_AVP user_Equipment_Info_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) QoS_Information_AVP qoS_Information optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) QoS_Negotiation_AVP qoS_Negotiation optional, //S9 (TS129 215) & Gx (TS129 212) only QoS_Upgrade_AVP qoS_Upgrade optional, //S9 (TS129 215) & Gx (TS129 212) only // Default_EPS_Bearer_QoS_AVP default_EPS_Bearer_QoS optional, //Gx, Gxx (TS129 212) only set length (0..2) of AN_GW_Address_AVP aN_GW_Address optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // [ AN-GW-Status ] //Gx (TS129 212) only ThreeGPP_SGSN_MCC_MNC_AVP threeGPP_SGSN_MCC_MNC optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) ThreeGPP_SGSN_Address_AVP threeGPP_SGSN_Address optional, //TS129 212 only ThreeGPP_SGSN_IPv6_Address_AVP threeGPP_SGSN_IPv6_Address optional, //TS129 212 only RAI_AVP rAI optional, //TS129 212 only ThreeGPP_User_Location_Info_AVP threeGPP_User_Location_Info optional, //TS129 212 only ThreeGPP_MS_TimeZone_AVP threeGPP_MS_TimeZone optional, //TS129 212 only Called_Station_Id_AVP called_Station_Id optional, //TS129 212 only PDN_Connection_ID_AVP pDN_Connection_ID optional, //TS129 212 only Bearer_Usage_AVP bearer_Usage optional, //TS129 212 only Online_AVP online optional, //TS129 212 only Offline_AVP offline optional, //TS129 212 only set of TFT_Packet_Filter_Information_AVP tFT_Packet_Filter_Information optional, //TS129 212 only set of Charging_Rule_Report_AVP charging_Rule_Report optional, //TS129 212 only set of Event_Trigger_AVP event_Trigger optional, //TS129 212 only Event_Report_Indication_AVP event_Report_Indication optional, //TS129 212 only Access_Network_Charging_Address_AVP access_Network_Charging_Address optional,//TS129 212 only set of Access_Network_Charging_Identifier_Gx_AVP access_Network_Charging_Identifier_Gx optional, //TS129 212 only set of CoA_Information_AVP coA_Information optional, //TS129 212 only set of Usage_Monitoring_Information_AVP usage_Monitoring_Information optional,//TS129 212 only Routing_Rule_Install_AVP routing_Rule_Install optional, //TS129 212 only Routing_Rule_Remove_AVP routing_Rule_Remove optional, //TS129 212 only Maximum_Bandwidth_AVP maximum_Bandwidth optional, //TS129 212 only Logical_Access_ID_AVP logical_Access_ID optional, //TS129 212 only Physical_Access_ID_AVP physical_Access_ID optional, //TS129 212 only set of Proxy_Info_AVP proxy_Info optional, //RFC4006 & TS129 212 set of Route_Record_AVP route_Record optional, //RFC4006 & TS129 212 set of AVP_Type aVP_Type optional //RFC4006 & TS129 212 } }//end group S9 }//end group MessageTypes }//End group HeaderAndBodyTypes } No newline at end of file Loading
DiameterS9/ttcn/DiameterS9_TypesAndValues.ttcn 0 → 100644 +106 −0 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id: DiameterS9_TypesAndValues.ttcn 664 2013-12-11 14:39:08Z wattelet $ * @desc This module defines message, header, structured and simple Diameter * S9 types as well constants used by DiameterS9 constructs. <br> * Note that any changes made to the definitions in this module * may be overwritten by future releases of this library * End users are encouraged to contact the distributers of this * module regarding their modifications or additions * @remark Adding of new message and header types is ok; * Existing message or header types shall not be changed or removed */ module DiameterS9_TypesAndValues { import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; import from LibDiameter_TypesAndValues all; group BasicTypesAndConstants { group DiameterS9Constants { group S9AVPCodeConstants { group AVPCodeConstantsTS129_215 { const integer c_subsession_Decision_Info_AVP_Code := 2200; // Ref: table 5.3.1 const integer c_subsession_Enforcement_Info_AVP_Code := 2201; // Ref: table 5.3.1 const integer c_subsession_Id_AVP_Code := 2202; // Ref: table 5.3.1 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 } } } }// end group BasicTypes group HeaderAndBodyTypes { group AVPs{ group TS129_215_AVPs { }//end of group TS129_215_AVPs }//end group AVPs group MessageTypes { group S9 { // CC-Request (CCR) Command - Ref: TS 129 215 5.5.2 type record S9_CCR_MSG { DiameterHeader header, //<CCR> ::= < Diameter Header: 272, REQ, PXY> Session_Id_AVP session_Id, // Auth_Application_Id_AVP auth_Application_Id, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_Host_AVP origin_Host, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_Realm_AVP origin_Realm, //S9 (TS129 215) & Gx,Gxx (TS129 212) Destination_Realm_AVP destination_Realm, //S9 (TS129 215) & Gx,Gxx (TS129 212) CC_Request_Type_AVP cC_Request_Type, //S9 (TS129 215) & Gx,Gxx (TS129 212) CC_Request_Number_AVP cC_Request_Number, //S9 (TS129 215) & Gx,Gxx (TS129 212) Destination_Host_AVP destination_Host optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Origin_State_Id_AVP origin_State_Id optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Subscription_Id_AVP subscription_Id optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Supported_Features_AVP supported_Features optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // [ TDF-Information ] //Gx (TS129 212) only Network_Request_Support_AVP network_Request_Support optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) set of Packet_Filter_Information_AVP packet_Filter_Information optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Packet_Filter_Operation_AVP packet_Filter_Operation optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // Bearer_Identifier_AVP bearer_Identifier optional, //Gx (TS129 212) only // Bearer_Operation_AVP bearer_Operation optional, //Gx (TS129 212) only Framed_IP_Address_AVP framed_IP_Address optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Framed_IPv6_Prefix_AVP framed_IPv6_Prefix optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) IP_CAN_Type_AVP iP_CAN_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // ThreeGPP_RAT_Type_AVP threeGPP_RAT_Type optional, //Gx (TS129 212) only RAT_Type_AVP rAT_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) Termination_Cause_AVP termination_Cause optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) User_Equipment_Info_AVP user_Equipment_Info_Type optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) QoS_Information_AVP qoS_Information optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) QoS_Negotiation_AVP qoS_Negotiation optional, //S9 (TS129 215) & Gx (TS129 212) only QoS_Upgrade_AVP qoS_Upgrade optional, //S9 (TS129 215) & Gx (TS129 212) only // Default_EPS_Bearer_QoS_AVP default_EPS_Bearer_QoS optional, //Gx, Gxx (TS129 212) only set length (0..2) of AN_GW_Address_AVP aN_GW_Address optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) // [ AN-GW-Status ] //Gx (TS129 212) only ThreeGPP_SGSN_MCC_MNC_AVP threeGPP_SGSN_MCC_MNC optional, //S9 (TS129 215) & Gx,Gxx (TS129 212) ThreeGPP_SGSN_Address_AVP threeGPP_SGSN_Address optional, //TS129 212 only ThreeGPP_SGSN_IPv6_Address_AVP threeGPP_SGSN_IPv6_Address optional, //TS129 212 only RAI_AVP rAI optional, //TS129 212 only ThreeGPP_User_Location_Info_AVP threeGPP_User_Location_Info optional, //TS129 212 only ThreeGPP_MS_TimeZone_AVP threeGPP_MS_TimeZone optional, //TS129 212 only Called_Station_Id_AVP called_Station_Id optional, //TS129 212 only PDN_Connection_ID_AVP pDN_Connection_ID optional, //TS129 212 only Bearer_Usage_AVP bearer_Usage optional, //TS129 212 only Online_AVP online optional, //TS129 212 only Offline_AVP offline optional, //TS129 212 only set of TFT_Packet_Filter_Information_AVP tFT_Packet_Filter_Information optional, //TS129 212 only set of Charging_Rule_Report_AVP charging_Rule_Report optional, //TS129 212 only set of Event_Trigger_AVP event_Trigger optional, //TS129 212 only Event_Report_Indication_AVP event_Report_Indication optional, //TS129 212 only Access_Network_Charging_Address_AVP access_Network_Charging_Address optional,//TS129 212 only set of Access_Network_Charging_Identifier_Gx_AVP access_Network_Charging_Identifier_Gx optional, //TS129 212 only set of CoA_Information_AVP coA_Information optional, //TS129 212 only set of Usage_Monitoring_Information_AVP usage_Monitoring_Information optional,//TS129 212 only Routing_Rule_Install_AVP routing_Rule_Install optional, //TS129 212 only Routing_Rule_Remove_AVP routing_Rule_Remove optional, //TS129 212 only Maximum_Bandwidth_AVP maximum_Bandwidth optional, //TS129 212 only Logical_Access_ID_AVP logical_Access_ID optional, //TS129 212 only Physical_Access_ID_AVP physical_Access_ID optional, //TS129 212 only set of Proxy_Info_AVP proxy_Info optional, //RFC4006 & TS129 212 set of Route_Record_AVP route_Record optional, //RFC4006 & TS129 212 set of AVP_Type aVP_Type optional //RFC4006 & TS129 212 } }//end group S9 }//end group MessageTypes }//End group HeaderAndBodyTypes } No newline at end of file