Versions Compared

Key

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

...

Info
titleImportant Notice

You need to have SCTP library installed in order to run the controller successfully. As of now, Mac OS does not have a working SCTP library. (sudo apt-get install libsctp-dev -y)

  1. Configure xran-cfg.json file to have IPs of all connecting CELLS and PLMN_ID and ECI in hex format. PLMN_ID should be 6 characters (from 0 to F) long (24bits) and ECI should be 8 characters (from 0 to F) long with always a 0 in the end (28 bits).
  2. Load configuration

    Code Block
    languagebash
    themeMidnight
    onos-netcfg ONOSIP path/to/xran-cfg.json
  3. Connect to ONOS: onos ONOSIP

    Code Block
    languagebash
    themeMidnight
    onos ONOSIP
  4. Activate XRAN:

    Code Block
    languagebash
    themeMidnight
    app activate org.onosproject.xran
  5. Check logs to see if the Server has started and binded to the IP address that you specified:

    Code Block
    languagebash
    themeMidnight
    onos> log:tail
  6. Enable debugging mode if you want to see send/received messages with:

    Code Block
    languagebash
    themeMidnight
    onos> log:set DEBUG
  7. REST API calls to check nodes and links; credentials onos:rocks:

    Code Block
    languagebash
    themeMidnight
    http://IP:8181/onos/xran/nodes
    http://IP:8181/onos/xran/links
  8. GUI to check topology; credentials onos:rocks (only shows primary links), IP can be localhost if you run onos locally:

    Code Block
    languagebash
    themeMidnight
    http://IP:8181/onos/ui

...