-
Notifications
You must be signed in to change notification settings - Fork 601
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
Test script for kubernetes #35
Comments
Hi, For our test script, it's just check if we have install the all-in-one free5GC successfully. Because we are not implementing RAN and UE parted, most of the procedure of RAN and UE is hard code in test script. If you have different IP setting for cluster architecture, you may need to change the IP that are hard code inside test script. If you want to modify the test script, basically you can check src/test/registration_test.go and change the IP there. |
Thanks for the quick response, I think Ii prefer the option of using a simulator, in the past I used Openairtinterface to simulate 4G ue/enb but if anyone has an alternative 5G opensource simulator in mind should kindly let me know. |
@infinitydon I made small test tool based on free5GC registration test file. Please feel to add |
@sothy Much thanks for this effort! I have checked the repo but how can I initiate a basic test? I could not find information on this. |
@infinitydon I didnt test well, if you compile and run, it should work. |
@sothy - I am getting some dependency errors:
Can you give a step by step guide on how to build this? Also I checked https://bitbucket.org/sothy5/gnbsim/src/dev/reg/registration.go, seems I need to edit the following parameters that is inside the file:
Please note that I am running the 5G components in individual PODs (i.e. not localhost), how can I configure your simulator in an environment like kubernetes?
|
@infinitydon quick answer is that you have to download one by one all dependency. For example, In my setup, I tried to activate go mod and tries to compile. I dont know who is looking for this package. Do you have any place how do you create these pods in kubernetes? It means configuration files? Free5gc is still using lib folder. It is not easy. Will see |
In kubernetes each 5G function has it's own service IP address like: AMF - 192.168.2.2 Unfortunately I don't know much about the golang libraries. |
@sothy I think you need to update the dependency path because most of the free5gc component/libraries are now in their separate repos. See the screenshot below: Maybe you might follow the way free5gc uses submodules in compiling (see the documentation). |
@infinitydon I dont use this way. I used golang way. It got failed. NO idea. Otherwise, I have to work this manner Update: When I add GO11Module=off, it is compiled. Better you should have lib and let me know. |
I think it is fixed if you just do the following after cloning the repository:
Then the compilation should be okay as you will get all the libraries necessary. |
#35) update openapi connection not close issue
Hi, can you tell me how to create a cluster with k8s for the free5gc? |
Hi,
I was able to deploy the v3.0.1 in a kubernetes cluster using
sdnvortex/network-controller
to simulate multiple network interfaces (currently with one worker node).I think the current test script assumes that all the components are installed in the same system
Any ideas how to modify the test script to test if the 5GC components are running properly (maybe a k8s job)? Most especially because each of the components are running in different PODs.
The text was updated successfully, but these errors were encountered: