commit | d00accf4ea5f730b7b0d7926c2e5eaa6979c9f97 | [log] [tgz] |
---|---|---|
author | Naoki Shiota <n-shiota@onlab.us> | Tue Jun 25 14:40:37 2013 -0700 |
committer | Naoki Shiota <n-shiota@onlab.us> | Tue Jun 25 14:40:37 2013 -0700 |
tree | fbc0c9517235eb4422a1bb24d1a200b12be44a9a | |
parent | 5d53998d8ed934078c8f08eddc82082871a616b6 [diff] |
Squashed commit of the following: commit 7452e6d2acdbf0290c41b50ac4b7064411782a0e Author: Naoki Shiota <n-shiota@onlab.us> Date: Tue Jun 25 14:36:29 2013 -0700 Complete implementation of unit test for ZookeeperRegistry. commit 9d35d5f09570872acf16977614f18b0be087580f Author: Naoki Shiota <n-shiota@onlab.us> Date: Mon Jun 24 17:45:11 2013 -0700 Debug commit 07d43392e4324af93986e6095536727f3497e327 Author: Naoki Shiota <n-shiota@onlab.us> Date: Fri Jun 21 16:32:35 2013 -0700 Implementation of mock CuratorFramework is done. commit 9230449c4ed4326721e29abe8dc01b3115a74041 Author: Naoki Shiota <n-shiota@onlab.us> Date: Fri Jun 21 13:52:25 2013 -0700 Add some mock object to ZookeeperRegistry commit 912a03932e8b1c60f19a9daadf08fb719e5ccf92 Author: Naoki Shiota <n-shiota@onlab.us> Date: Thu Jun 20 11:43:47 2013 -0700 Create test class for ZookeeperRegistry commit 68e4ae5e9b0f265c3f21ce757b36381a9368826a Author: Naoki Shiota <n-shiota@onlab.us> Date: Wed Jun 19 17:46:03 2013 -0700 Implement StandaloneRegistryTest commit d81bf9f11159df9abf545bc471970a78ccdf1193 Author: Naoki Shiota <n-shiota@onlab.us> Date: Tue Jun 18 15:47:37 2013 -0700 Create test class for StandAloneRegistry
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
NOTE: installing maven for the first time may switch java version from 1.7 to 1.6 causing cassandra to not run
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