Commit 38496047 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

SNR, SNA types and templates added. Redirect AVP added

parent 03e99fe0
Loading
Loading
Loading
Loading
+116 −7
Original line number Diff line number Diff line
@@ -2025,6 +2025,37 @@ module LibDiameter_Templates {
                aVP_Type := *
            }

            template SNR_MSG mw_SNR_dummy := {
                header := mw_diameterHeaderReq_dummy(SNR_E, ?),
                session_Id := ?,
                sNR_Body := mw_SNR_Body_dummy
            }
            
            template SNR_Body_AVP mw_SNR_Body_dummy :=
            {
                vendor_Specific_Application_Id := ?,//required only in TS129 229
                auth_Session_State := ?,
                origin_Host := ?,
                origin_Realm := ?,
                destination_Host := *,
                destination_Realm := ?,
                supported_Features := *,
                user_Identity := ?,
                wildcarded_PSI := *,
                wildcarded_IMPU := *,
                service_Indication := *,
                send_Data_Indication := *,
                server_Name := *,
                subs_Req_Type := ?,
                data_Reference := ?,
                identity_Set := *,
                expiry_Time := *,
                dSAI_Tag := *,
                proxy_Info := *,
                route_Record := *,
                aVP_Type := *
            }

            template STR_MSG mw_STR_dummy :=
            {
                header := mw_diameterHeaderReq_dummy(STR_E, ?),
@@ -2392,6 +2423,9 @@ module LibDiameter_Templates {
                origin_Host := m_originHost_dummy,
                origin_Realm := m_originRealm_dummy,
                supported_Features := omit,
                redirect_Host := omit,
                redirect_Host_Usage := omit,
                redirect_Max_Cache_Time := omit,
                failed := omit,
                proxy_Info := omit,
                route_Record := omit,
@@ -2440,10 +2474,13 @@ module LibDiameter_Templates {
                wildcarded_PSI := omit,
                wildcarded_IMPU := omit,
                supported_Features := omit,
                aVP_Type := omit,
                redirect_Host := omit,
                redirect_Host_Usage := omit,
                redirect_Max_Cache_Time := omit,
                failed := omit,
                proxy_Info := omit,
                route_Record := omit
                route_Record := omit,
                aVP_Type := omit
            }

            template (value) RAA_MSG m_RAA_dummy := {
@@ -2560,6 +2597,36 @@ module LibDiameter_Templates {
                aVP_Type := omit
            }

            template (value) SNA_MSG m_SNA_dummy :=
            {
                header := m_diameterHeaderAns_dummy(SNA_E, c_applId3GPPCxDx),
                session_Id := m_sessionId_dummy,
                sNA_Body := m_SNA_Body_dummy
            }
            
            template (value) SNA_Body_AVP m_SNA_Body_dummy :=
            {

                vendor_Specific_Application_Id := m_vendor_Specific_Appl_Id_dummy,//required only in TS129 229
                auth_Session_State := m_auth_Session_State_dummy,
                result_Code := m_resultCode_dummy,
                experimental_Result := omit,
                origin_Host := m_originHost_dummy,
                origin_Realm := m_originRealm_dummy,
                wildcarded_PSI := omit,
                wildcarded_IMPU := omit,
                supported_Features := omit,
                user_Data := omit,                     //only TS129 229
                expiry_Time := omit,
                redirect_Host := omit,
                redirect_Host_Usage := omit,
                redirect_Max_Cache_Time := omit,
                failed := omit,                        //only TS129 229
                proxy_Info := omit,
                route_Record := omit,
                aVP_Type := omit
            }

            template (value) STA_MSG m_STA_dummy :=
            {
                header := m_diameterHeaderAns_dummy(STA_E, c_applIdCommonMsg),
@@ -2635,6 +2702,9 @@ module LibDiameter_Templates {
                wildcarded_PSI := omit,
                wildcarded_IMPU := omit,
                user_Data := omit,
                redirect_Host := omit,
                redirect_Host_Usage := omit,
                redirect_Max_Cache_Time := omit,
                aVP_Type := omit,
                failed := omit,
                proxy_Info := omit,
@@ -2926,6 +2996,9 @@ module LibDiameter_Templates {
                origin_Host := ?,
                origin_Realm := ?,
                supported_Features := *,
                redirect_Host := *,
                redirect_Host_Usage := *,
                redirect_Max_Cache_Time := *,
                failed := *,
                proxy_Info := *,
                route_Record := *,
@@ -2947,10 +3020,10 @@ module LibDiameter_Templates {
                auth_Session_State := ?,
                origin_Host := ?,
                origin_Realm := ?,
                supported_Features := *, //only TS129 229
                redirect_Host := *,
                redirect_Host_Usage := *,
                redirect_Max_Cache_Time := *,
                supported_Features := *, //only TS129 229
                failed := *,             //only TS129 229
                proxy_Info := *,
                route_Record := *,
@@ -2974,10 +3047,13 @@ module LibDiameter_Templates {
                wildcarded_PSI := *,
                wildcarded_IMPU := *,
                supported_Features := *,
                aVP_Type := *,
                redirect_Host := *,
                redirect_Host_Usage := *,
                redirect_Max_Cache_Time := *,
                failed := *,
                proxy_Info := *,
                route_Record := *
                route_Record := *,
                aVP_Type := *
            }

            template RAA_MSG mw_RAA_dummy := {
@@ -3094,6 +3170,36 @@ module LibDiameter_Templates {
                aVP_Type := *
            }

            template SNA_MSG mw_SNA_dummy :=
            {
                header := mw_diameterHeaderAns_dummy(SNA_E, ?),
                session_Id := ?,
                sNA_Body := mw_SNA_Body_dummy
            }
            
            template SNA_Body_AVP mw_SNA_Body_dummy :=
            {

                vendor_Specific_Application_Id := ?,//required only in TS129 229
                auth_Session_State := ?,
                result_Code := ?,
                experimental_Result := *,
                origin_Host := ?,
                origin_Realm := ?,
                wildcarded_PSI := *,
                wildcarded_IMPU := *,
                supported_Features := *,
                user_Data := *,                     //only TS129 229
                expiry_Time := *,
                redirect_Host := *,
                redirect_Host_Usage := *,
                redirect_Max_Cache_Time := *,
                failed := *,                        //only TS129 229
                proxy_Info := *,
                route_Record := *,
                aVP_Type := *
            }

            template STA_MSG mw_STA_dummy :=
            {
                header := mw_diameterHeaderAns_dummy(STA_E, ?),
@@ -3169,10 +3275,13 @@ module LibDiameter_Templates {
                wildcarded_PSI := *,
                wildcarded_IMPU := *,
                user_Data := *,
                aVP_Type := *,
                redirect_Host := *,
                redirect_Host_Usage := *,
                redirect_Max_Cache_Time := *,
                failed := *,
                proxy_Info := *,
                route_Record := *
                route_Record := *,
                aVP_Type := *
            }

          }//end group dummy_answer_templates_receive
+12 −0
Original line number Diff line number Diff line
@@ -1885,6 +1885,9 @@ group BasicTypesAndConstants{
                    Wildcarded_PSI_AVP                     wildcarded_PSI optional,
                    Wildcarded_IMPU_AVP                    wildcarded_IMPU optional,
                    User_Data_AVP                          user_Data optional,
                    Redirect_Host_AVP                      redirect_Host optional,                 //RFC4740
                    Redirect_Host_Usage_AVP                redirect_Host_Usage optional,           //RFC4740
                    Redirect_Max_Cache_Time_AVP            redirect_Max_Cache_Time optional,       //RFC4740
                    set of Failed_AVP                      failed optional,
                    set of Proxy_Info_AVP                  proxy_Info optional,
                    set of Route_Record_AVP                route_Record optional,
@@ -1952,6 +1955,9 @@ group BasicTypesAndConstants{
                    Wildcarded_PSI_AVP                     wildcarded_PSI optional,
                    Wildcarded_IMPU_AVP                    wildcarded_IMPU optional,
                    set of Supported_Features_AVP          supported_Features optional,
                    Redirect_Host_AVP                      redirect_Host optional,                 //RFC4740
                    Redirect_Host_Usage_AVP                redirect_Host_Usage optional,           //RFC4740
                    Redirect_Max_Cache_Time_AVP            redirect_Max_Cache_Time optional,       //RFC4740
                    set of Failed_AVP                      failed optional,
                    set of Proxy_Info_AVP                  proxy_Info optional,
                    set of Route_Record_AVP                route_Record optional,
@@ -2031,6 +2037,9 @@ group BasicTypesAndConstants{
                    set of Supported_Features_AVP          supported_Features optional,
                    User_Data_AVP                          user_Data optional,
                    Expiry_Time_AVP                        expiry_Time optional,
                    Redirect_Host_AVP                      redirect_Host optional,                 //RFC4740
                    Redirect_Host_Usage_AVP                redirect_Host_Usage optional,           //RFC4740
                    Redirect_Max_Cache_Time_AVP            redirect_Max_Cache_Time optional,       //RFC4740                    
                    set of Failed_AVP                      failed optional,
                    set of Proxy_Info_AVP                  proxy_Info optional,
                    set of Route_Record_AVP                route_Record optional,
@@ -2095,6 +2104,9 @@ group BasicTypesAndConstants{
                    Origin_Host_AVP                        origin_Host,//requi.
                    Origin_Realm_AVP                       origin_Realm,//requi.
                    set of Supported_Features_AVP          supported_Features optional,
                    Redirect_Host_AVP                      redirect_Host optional,                 //RFC4740
                    Redirect_Host_Usage_AVP                redirect_Host_Usage optional,           //RFC4740
                    Redirect_Max_Cache_Time_AVP            redirect_Max_Cache_Time optional,       //RFC4740
                    set of Failed_AVP                      failed optional,
                    set of Proxy_Info_AVP                  proxy_Info optional,
                    set of Route_Record_AVP                route_Record optional,