-
Notifications
You must be signed in to change notification settings - Fork 43
Example Usage #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We have been using S1ap-tester for integration tests with Magma EPC (https://github.com/facebookincubator/magma). Detailed instructions on running example scenarios are here: https://github.com/facebookincubator/magma/blob/master/docs/readmes/lte/s1ap_tests.md |
@ssanadhya - The detailed example is tied to using Magma vagrant VMs, is it possible to get an example of how to use S1APTester with a generic EPC stack (MME,SGW,PGW)? The current README only shows how to compile the modules. |
I am trying s1APTester with open5gs epc. I edit file nbAppCfg.txt to set ENB_IP_ADDR, SCTP_IP_ADDR (to the IP of S1APTester machine) and MME_ADDR and PLMN_ID. Still no luck. Wireshark shows SCTP INIT messages from S1APTester to MME and SCTP INIT ACK from MME to S1APTester repeating. |
@cgiraldo , no exchange of SCTP complete signalling ? so far I have not faced SCTP related issue with simulator with my EPC. I have not tried with open5gs EPC. |
@vimal2828 Please can you share how you were able to get this to work. If possible a step by step procedure on how to configure s1APTester to work EPC (apart from Magma).. |
@infinitydon , please find the steps that I used to bring up the S1AP simulator and integration with my EPC.
Note: In step 3, if compilation fails then need to do some changes in code either at TestCntlrStub or TestCntlrApp.
Expected Result [Stub] Initialising stack manager [Stub] Received (msgptr.msgType=2), expected (msgid=2) [Stub] Received a message of type = 2 [Stub] UE APP Config Completed [STUB]: Sending Ue Config. [Stub] Received (msgptr.msgType=4), expected (msgid=4) [Stub] Received a message of type = 4 [Stub] UE 1 Config Completed [Stub]: Sending eNodeB Config **************TPT open server 0 Server Socket FD =[11][Stub] ../src/ts_utls.c:TC_API():460: Message Sent [Stub] Received (msgptr.msgType=34), expected (msgid=34) [Stub] Received a message of type = 34 [Stub] Received Enodeb Config Confirm from TFW [Stub] eNodeB configured successfully [Stub]: eNb Config Completed [Stub]: Sending S1 SETUP Request ************* Testing *Time elapsed(in usec): for timer expiry :6571 usec [Stub] Received (msgptr.msgType=38), expected (msgid=38) [Stub] Received a message of type = 38 [Stub] Received S1-SETUP Response from TFW [Stub] S1-SETUP successful received from TFWAPP [Stub]: RECEIVED S1-SETUP RESPONSE FROM TFWAPP Hope it will help you out to proceed. |
Hi @vimal2828 , |
Hi @vimal2828 , Mine are stuck here.
|
I finally made it, using of network namespaces (netns) was bad idea. Choice of two virtual machines made things finally work. |
hello what epc did you use? |
Hello all i am getting below error while integrate the S1AP with Magma AGW. Our Network Conf is S1AP tester installed on Host machine and our AGW also installed on same host machine but with in Vagrant VM. ubuntu@ubuntu-OptiPlex-7070:~/S1APTester/TestCntlrStub/bin$ sudo ./testCntrlr -f testCaseList_1.txt [Stub] Received (msgptr.msgType=2), expected (msgid=2) [Stub] Received a message of type = 2 [Stub] UE APP Config Completed [STUB]: Sending Ue Config. [Stub] Received (msgptr.msgType=4), expected (msgid=4) [Stub] Received a message of type = 4 [Stub] UE 1 Config Completed [Stub]: Sending eNodeB Config [Stub] Received (msgptr.msgType=34), expected (msgid=34) [Stub] Received a message of type = 34 [Stub] Received Enodeb Config Confirm from TFW [Stub] eNodeB configuration failed with cause[7] [Stub]: eNb Config Completed [Stub]: Sending S1 SETUP Request |
if you figure this out please share. I will do the same. Thanks. |
@jcjanask I switched to SRSRAN, much easier to extend code for custom purposes. |
Hi S1AP team,
Keen to start using this,
I've compiled from source, and I see both libraries compiled (TestCntlrApp/lib and Trfgen/lib)
Next question is how do I use it? I had a read through the source code and found the example/sample in Trafgen and made that executable, but I just get back an error
Regardless of where I put libtrfgen.so
Is anyone able to give me a shove in the right direction?
The text was updated successfully, but these errors were encountered: