commit | d31e850caa70060d7607ebe613392c3e035a6fb0 | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Sat Jun 22 06:16:00 2013 -0700 |
committer | Pankaj Berde <pankaj@onlab.us> | Sat Jun 22 06:16:00 2013 -0700 |
tree | d4608e19848c69853d83b81722ae6aefd9a90ddd | |
parent | bbd38611c454a2949bd3bca64d50d9ab9e0974c9 [diff] | |
parent | 7670cc18b6fab4c4797c45cb5767edb79aa90854 [diff] |
Merged with origin/master
Open Networking Operating System
BELOW TO BE WRITTEN IN DETAIL
Install custom jars and dependencies (Only need to be run only once)
$ ./setup-local-maven.sh
Cleanly Build ONOS
$ mvn clean $ mvn compile
Start zookeeper
$ cd (ONOS-INSTALL-DIR)/
$ ./start-zk.sh
Start cassandra
$ cd (ONOS-INSTALL-DIR)/
$ ./start-cassandra.sh start
Confirm cassandra is running
$ ./start-cassandra.sh status
Start ONOS instance
$ cd (ONOS-INSTALL-DIR)/
$ ./start-onos.sh start
Start ONOS rest apis
$ ./start-rest.sh start
Start Zookeeper
$ cd (ONOS-INSTALL-DIR)/
$ ./zkServer.sh start
Start ONOS and Cassandra embedded
$ cd (ONOS-INSTALL_DIR)/
$ ./start-onos-embedded.sh start
Start ONOS rest apis
$ ./start-rest.sh start
Maven is used to build and run ONOS. By default, maven tries to reach the repositories. To suppress this behavior '-o' option should be given to mvn
command.
To give additional option to mvn
commands used in ONOS, use the MVN environment variable.
Example: Running in offline mode
$ env MVN="mvn -o" ./start-onos.sh start