Versions Compared

Key

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

...

Code Block
languageyml
titleapplication_configuration.yaml
{
   "config": {
      "//description": "Application configuration",
      "ric": [
              {
                 "name": "ric1",
                 "baseUrl": "http://nearRtRic-sim1ric1:8085/",  
                 "managedElementIds": [
                    "kista_1",
                    "kista_2"
                 ]
              },
              {
                 "name": "ric2",
                 "baseUrl": "http://nearRtRic-sim2ric2:8085/",
                 "managedElementIds": [
                    "kista_3",
                    "kista_4"
                 ]
              }
           ]
        }
}


  • Build the code and create docker images. 
    cd nonrtric
    mvn clean install

...

  • Start two docker containers using following commands: 
    docker run -p 8085:8085 --network=nonrtric-docker-net --name=ric1 o-ran-sc/near-rt-ric-simulator:1.0.1-SNAPSHOT
    docker run -p 8086:8085 --network=nonrtric-docker-net --name=ric2 o-ran-sc/near-rt-ric-simulator:1.0.1-SNAPSHOT
  • Change directory to:  
    cd nonrtric/near-rt-ric-simulator/ric-plt/a1
  • Put an example policy_type inside into the near-rt-ric-simulator isntances by running this curl command:these curl commands:
    curl -X PUT -v "http://localhost:8085/policytypes/STD_QoSNudging_0.2.0" -H "accept: application/json" 
    -H "Content-Type: application/json" --data-binary @policy_type_STD_QoSNudging_0.2.0.json


    curl -X PUT -v "http://localhost:81818086/policytypes/STD_QoSNudging_0.2.0" -H "accept: application/json"
    -H "Content-Type: application/json" --data-binary @policy_type_STD_QoSNudging_0.2.0.json

...