Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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' 

...

  1. 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 

  1. 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' 

...

  1. 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: 

...