commit | a3eefb83fba0f2105e484edd62b40e796cf03791 | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Thu Jun 20 12:51:03 2013 -0700 |
committer | Pankaj Berde <pankaj@onlab.us> | Thu Jun 20 12:51:03 2013 -0700 |
tree | bd8fd6fc5ce8539fa358c09f9d751e758b0aa963 | |
parent | aeea69b18e2ae7d2ccf25d341c13a71287bed9fd [diff] | |
parent | 88f3bf350c747da777c103580c4d1af9739d17a0 [diff] |
Merge pull request #396 from y-higuchi/maven_offline Enable running on offline environment.
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 (ZOOKEEPER-INSTALL-DIR)/bin
$ ./zkServer.sh start
Start cassandra
$ ./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 (ZOOKEEPER-INSTALL-DIR)/bin
$ ./zkServer.sh start
Start ONOS and Cassandra embedded
$ cd (ONOS-INSTAL_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