Commit 65a51366 authored by Yann Garcia's avatar Yann Garcia
Browse files

Finalyse group PDU_Session_Management_Messages

parent 04cca5d0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -7,5 +7,9 @@
			"path": "../../../tmp/osmo-ttcn3-hacks"
		}
	],
	"settings": {}
	"settings": {
		"files.associations": {
			"pdusessionresourcemodifyindication.h": "c"
		}
	}
}
 No newline at end of file
+11 −13
Original line number Diff line number Diff line
@@ -107,23 +107,21 @@ module NGAP_TestCases {
    } // End of group TC_testcase_template

    group gNB_Role{
        //8.2

        /**
         * @see ETSI TS 138 413 V16.12.0 (2023-05) 8.1 List of NGAP Elementary Procedures
         */
        group PDU_Session_Management_Procedures{
            //8.2.1

            /**
             * @see ETSI TS 138 413 V16.12.0 (2023-05) 8.2.1 PDU Session Resource Setup
             */
            group PDU_Session_Resource_Setup{

                /**
                 * @desc Verify ...
                 * <pre>
                 * Pics Selection: 
                 * Configuration: 
                 *     
                 * </pre>
                 * 
                 * @see       ETSI TS 
                 * @reference ETSI TS 
                 * @desc Verify that the NG-RAN node successfully processes a  PDU SESSION RESOURCE SETUP REQUEST contains mandatory IEs and answers with PDU SESSION RESOURCE SETUP RESPONSE for successfully established PDU session
                 */
                testcase TP_NGAP_GNB_PDU_01() runs on aMFNGAPComponent system TestAdapter {
                testcase TC_NGAP_GNB_PDU_01() runs on aMFNGAPComponent system TestAdapter {

                    // Local variables
                    var aMFNGAPComponent v_ngap_amf;
@@ -145,7 +143,7 @@ module NGAP_TestCases {

                    f_cf_Down/*gNBoraMF*/();

                } // End of testcase TP_NGAP_GNB_PDU_01
                } // End of testcase TC_NGAP_GNB_PDU_01

            } // End of group PDU_Session_Resource_Setup

+216 −4
Original line number Diff line number Diff line
@@ -96,8 +96,14 @@ module LibNGAP_Templates {
        group Message_Functional_Definition_and_Content {
            /**
             * @see ETSI TS 138 413 V16.12.0 (2023-05) Clause 9.2.1 PDU Session Management Messages
             */
            group PDU_Session_Management_Messages {
                /**
                 * @see ETSI TS 138 413 V16.12.0 (2023-05) Clause 9.2.1 PDU Session Management Messages
                 */
                group PDU_SESSION_RESOURCE_SETUP_REQUEST {
                    group Send {
@@ -575,28 +581,164 @@ module LibNGAP_Templates {
                } // End of group PDU_SESSION_RESOURCE_MODIFY_RESPONSE
                //9.2.1.7
                group PDU_SESSION_RESOURCE_NOTIFY {
                    group Send {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.7 PDU SESSION RESOURCE NOTIFY
                         */
                        template (value) InitiatingMessage m_n2_PDUSessionResourceNotify(
                                                                                         in template (value) AMF_UE_NGAP_ID p_amfUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                         in template (value) RAN_UE_NGAP_ID p_ranUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                         in template (value) PDUSessionResourceNotifyList p_pDUSessionResourceNotifyList
                                                                                         ) := {
                            procedureCode := id_PDUSessionResourceNotify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceNotify := {
                                                                            protocolIEs := {
                                                                                            {
                                                                                                id := id_AMF_UE_NGAP_ID,
                                                                                                criticality := reject,
                                                                                                value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                            },
                                                                                            {
                                                                                                id := id_RAN_UE_NGAP_ID,
                                                                                                criticality := reject,
                                                                                                value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                            },
                                                                                            {
                                                                                                id := id_PDUSessionResourceNotifyList,
                                                                                                criticality := reject,
                                                                                                value_ := { PDUSessionResourceNotifyList := p_pDUSessionResourceNotifyList }
                                                                                            }
                                                                                           }
                                                                            }
                                            }
                        } // End of template m_n2_PDUSessionResourceNotify
                    } // End of group Send
                    group Receive {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.7 PDU SESSION RESOURCE NOTIFY
                         */
                        template (present) InitiatingMessage mw_n2_PDUSessionResourceNotify(
                                                                                            template (present) AMF_UE_NGAP_ID p_amfUeNgapID := ?,
                                                                                            template (present) RAN_UE_NGAP_ID p_ranUeNgapID := ?,
                                                                                            template (present) PDUSessionResourceNotifyList p_pDUSessionResourceNotifyList := ?
                                                                                            ) := {
                            procedureCode := id_PDUSessionResourceNotify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceNotify := {
                                                                            protocolIEs := {
                                                                                            {
                                                                                                id := id_AMF_UE_NGAP_ID,
                                                                                                criticality := reject,
                                                                                                value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                            },
                                                                                            {
                                                                                                id := id_RAN_UE_NGAP_ID,
                                                                                                criticality := reject,
                                                                                                value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                            },
                                                                                            {
                                                                                                id := id_PDUSessionResourceNotifyList,
                                                                                                criticality := reject,
                                                                                                value_ := { PDUSessionResourceNotifyList := p_pDUSessionResourceNotifyList }
                                                                                            }
                                                                                           }
                                                                            }
                                            }
                        } // End of template mw_n2_PDUSessionResourceNotify
                    } // End of group Receive
                } // End of group PDU_SESSION_RESOURCE_NOTIFY
                //9.2.1.8
                group PDU_SESSION_RESOURCE_MODIFY_INDICATION {
                    group Send {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.6 PDU SESSION RESOURCE MODIFY RESPONSE
                         */
                        template (value) InitiatingMessage m_n2_PDUSessionResourceModifyIndication(
                                                                                                  in template (value) AMF_UE_NGAP_ID p_amfUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                                  in template (value) RAN_UE_NGAP_ID p_ranUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                                  in template (value) PDUSessionResourceModifyListModInd p_pDUSessionResourceModifyListModInd
                                                                                                  ) := {
                            procedureCode := id_PDUSessionResourceModify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceModifyIndication := {
                                                                                     protocolIEs := {
                                                                                                     {
                                                                                                         id := id_AMF_UE_NGAP_ID,
                                                                                                         criticality := reject,
                                                                                                         value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                                     },
                                                                                                     {
                                                                                                         id := id_RAN_UE_NGAP_ID,
                                                                                                         criticality := reject,
                                                                                                         value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                                     },
                                                                                                     {
                                                                                                         id := id_PDUSessionResourceModifyListModReq,
                                                                                                         criticality := reject,
                                                                                                         value_ := { PDUSessionResourceModifyListModInd := p_pDUSessionResourceModifyListModInd
                                                                                                     }
                                                                                                    }
                                                                                      }
                                                                                    }
                                            }
                        } // End of template m_n2_PDUSessionResourceModifyIndication
                    } // End of group Send
                    group Receive {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.6 PDU SESSION RESOURCE MODIFY RESPONSE
                         */
                        template (present) InitiatingMessage mw_n2_PDUSessionResourceModifyIndication(
                                                                                                      template (present) AMF_UE_NGAP_ID p_amfUeNgapID := ?,
                                                                                                      template (present) RAN_UE_NGAP_ID p_ranUeNgapID := ?,
                                                                                                      template (present) PDUSessionResourceModifyListModInd p_pDUSessionResourceModifyListModInd := ?
                                                                                                      ) := {
                            procedureCode := id_PDUSessionResourceModify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceModifyIndication := {
                                                                                     protocolIEs := {
                                                                                                     {
                                                                                                         id := id_AMF_UE_NGAP_ID,
                                                                                                         criticality := reject,
                                                                                                         value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                                     },
                                                                                                     {
                                                                                                         id := id_RAN_UE_NGAP_ID,
                                                                                                         criticality := reject,
                                                                                                         value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                                     },
                                                                                                     {
                                                                                                         id := id_PDUSessionResourceModifyListModReq,
                                                                                                         criticality := reject,
                                                                                                         value_ := { PDUSessionResourceModifyListModInd := p_pDUSessionResourceModifyListModInd
                                                                                                     }
                                                                                                    }
                                                                                      }
                                                                                    }
                                            }
                        } // End of template mw_n2_PDUSessionResourceModifyIndication
                    } // End of group Receive
                } // End of group PDU_SESSION_RESOURCE_MODIFY_INDICATION
@@ -606,10 +748,80 @@ module LibNGAP_Templates {
                    group Send {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.9 PDU SESSION RESOURCE MODIFY CONFIRM
                         */
                        template (value) SuccessfulOutcome m_n2_PDUSessionResourceModifyConfirm(
                                                                                                in template (value) AMF_UE_NGAP_ID p_amfUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                                in template (value) RAN_UE_NGAP_ID p_ranUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                                in template (value) PDUSessionResourceModifyListModCfm p_pDUSessionResourceModifyListModCfm
                                                                                                ) := {
                            procedureCode := id_PDUSessionResourceModify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceModifyConfirm := {
                                                                                  protocolIEs := {
                                                                                                  {
                                                                                                      id := id_AMF_UE_NGAP_ID,
                                                                                                      criticality := reject,
                                                                                                      value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                                  },
                                                                                                  {
                                                                                                      id := id_RAN_UE_NGAP_ID,
                                                                                                      criticality := reject,
                                                                                                      value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                                  },
                                                                                                  {
                                                                                                      id := id_PDUSessionResourceModifyListModReq,
                                                                                                      criticality := reject,
                                                                                                      value_ := { PDUSessionResourceModifyListModCfm := p_pDUSessionResourceModifyListModCfm
                                                                                                  }
                                                                                                 }
                                                                                   }
                                                                                  }
                                            }
                        } // End of template m_n2_PDUSessionResourceModifyConfirm
                    } // End of group Send
                    group Receive {
                        /**
                         * @see ETSI TS 138 413 V16.12.0 (2023-05) 9.2.1.9 PDU SESSION RESOURCE MODIFY CONFIRM
                         */
                        template (present) SuccessfulOutcome mw_n2_PDUSessionResourceModifyConfirm(
                                                                                                   template (present) AMF_UE_NGAP_ID p_amfUeNgapID := ?,
                                                                                                   template (present) RAN_UE_NGAP_ID p_ranUeNgapID := ?,
                                                                                                   template (present) PDUSessionResourceModifyListModCfm p_pDUSessionResourceModifyListModCfm := ?
                                                                                                   ) := {
                            procedureCode := id_PDUSessionResourceModify,
                            criticality   := reject,
                            value_        := {
                                              PDUSessionResourceModifyConfirm := {
                                                                                  protocolIEs := {
                                                                                                  {
                                                                                                      id := id_AMF_UE_NGAP_ID,
                                                                                                      criticality := reject,
                                                                                                      value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
                                                                                                  },
                                                                                                  {
                                                                                                      id := id_RAN_UE_NGAP_ID,
                                                                                                      criticality := reject,
                                                                                                      value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
                                                                                                  },
                                                                                                  {
                                                                                                      id := id_PDUSessionResourceModifyListModReq,
                                                                                                      criticality := reject,
                                                                                                      value_ := { PDUSessionResourceModifyListModCfm := p_pDUSessionResourceModifyListModCfm
                                                                                                  }
                                                                                                 }
                                                                                   }
                                                                                  }
                                            }
                        } // End of template mw_n2_PDUSessionResourceModifyConfirm
                    } // End of group Receive
                } // End of group PDU_SESSION_RESOURCE_MODIFY_CONFIRM