Chris Ward
unread,Apr 27, 2021, 9:29:35 AM4/27/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ONOS Developers, Anurag Chadha, ONOS Developers, Chris Ward
I build ONOS in the VMs with
cd /home/openstack/onos-main/onos
bazel build onos
and run with
cd /home/openstack/onos-main/onos
bazel run onos-local -- clean debug
It looks like the 'run' command makes a directory /tmp/onos-2.5.0-SNAPSHOT and sets things up to run from there. There is a file /tmp/onos-2.5.0-SNAPSHOT/config/cluster.json with contents
{
"name": "default-12418",
"node": {
"id": "127.0.0.1",
"ip": "127.0.0.1",
"port": 9876
},
"clusterSecret": "17440"
}
i.e. not my cluster.json, but looks to be what the node is running with.
How should I run ONOS ? I don't know where the onos.tar.gz file is, and I don't know what command I should issue to run ONOS after unpacking it.If you could tell me the right command I would be most grateful (or point me at the right wiki page).