...
- Open the console and enter the following command:
'docker ps'
2. Once the container details is displayed enter the following command:
docker exec -it ransim bash
3. Navigate to '/opt/app/policy/servers/ransim/logs' using the cd command.
4. Execute the following command to check the logs:
'tail -f ransim-rest.log'
...
- Enter the following commands in console to accessmysql:
'mysql -uroot -psecret'
'use ransim_db'
2. Type 'show tables;' to check the and access the tables.
Steps to start/stop RAN network slice simulation
- Open the console and enter the following command:
'docker ps'
2. Once the container details is displayed enter the following command:
'docker exec -it ransim bash '
3. Run the following command tostart the RAN network slice simulation:
curl curl -k -X POST --header 'Content-Type: application/json' --header 'Accept: */*' 'http://localhost:8081/ransim/api/StartRanSliceSimulation'
4. Run the following command tostop the RAN network slice simulation:
curl curl -k -X POST --header 'Content-Type: application/json' --header 'Accept: */*' 'http://localhost:8081/ransim/api/StopRanSliceSimulation'
...
- Open the console and enter the following command:
'docker ps'
2. Once the container details is displayed enter the following command:
'docker exec -it ransim bash '
3. Run the following command tostart generate Intelligent slicing PM data:
curl -X POST -H "Content-Type: text/plain" http://localhost:8081/ransim/api/GenerateIntelligentSlicingPmData -i
4. Run the following commandto Start generate Intelligent slicing PM data:
curl -X POST -H "Content-Type: text/plain" http://localhost:8081/ransim/api/stopIntelligentSlicingPmData -i
5. You can see the generated slicing pm data files in theransimcontainer under the folder /tmp/ransim-install
Sample Slicing PM Data:
...