BSI-Bund / pySCASso

MIT License
10 stars 0 forks source link

How the setup will be ? #1

Open rajindersin opened 4 months ago

rajindersin commented 4 months ago

Hi BSI,

I have Open5Gs and UERANSIM each on separate VMs and able to establish the PDU session. Further I am looking forward to do SCAS testing on existing setup. Could you please suggest how can use your scripts to run the SCAS testing?

I am fine to go ahead with new setup too in case if above setup is not suitable to SCAS scripts, please share how will be the setup ?

Thanks in advance! Appreciate your efforts on SCAS and looking forward to hands on this.

Best Regards, Rajinder Singh

pySCASso commented 4 months ago

Hi Rajinder,

in order to run the tests with VMs, you need to implement your own device interfaces. Have a look at https://github.com/BSI-Bund/pySCASso/tree/main/scas/device_interfaces

You could basically take the existing specific implementations for Open5GS and UERANSIM and adapt all the methods like start, stop, perform and so on. Another important method is create_capture. You should create your own Capture-class that is able to trace at your VMs interfaces. Also, adapt the Configuration-Classes to your needs.

Best Regards

rajindersin commented 3 months ago

Hi BSI,

Morning, I managed to execute a few AMF test cases using the Open5gs and UERANSIM, but none of the enodeb and gnodeb test cases in the all releases is executable. Most of enodeb and gnodeb test cases Skipped with cause 'Not Implemented'. Could you please suggest further how to fix the problem this problem ? For reference attached the image.

image

Setup details:- pySCAS, open5gs and UERANSIM all are on same VM.

pySCASso commented 3 months ago

Hi Rajinder,

there are no eNodeB/gNodeB test implementations, just test stubs. We only implemented a few test cases for some network functions to work as an example. If you have a look at those implemented test cases, you should be able to adapt them and develop eNodeB/gNodeB test cases.

kind regards