...
Info | ||
---|---|---|
| ||
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) |
- 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).
Load configuration
Code Block language bash theme Midnight onos-netcfg ONOSIP path/to/xran-cfg.json
Connect to ONOS: onos ONOSIP
Code Block language bash theme Midnight onos ONOSIP
Activate XRAN:
Code Block language bash theme Midnight app activate org.onosproject.xran
Check logs to see if the Server has started and binded to the IP address that you specified:
Code Block language bash theme Midnight onos> log:tail
Enable debugging mode if you want to see send/received messages with:
Code Block language bash theme Midnight onos> log:set DEBUG
REST API calls to check nodes and links; credentials onos:rocks:
Code Block language bash theme Midnight http://IP:8181/onos/xran/nodes http://IP:8181/onos/xran/links
GUI to check topology; credentials onos:rocks (only shows primary links), IP can be localhost if you run onos locally:
Code Block language bash theme Midnight http://IP:8181/onos/ui
...