+ 3. Upon successful completion of a build, the Controller with OVSDB can be executed by :
+ cd distribution/opendaylight/target/distribution.ovsdb-X.X.X-osgipackage/opendaylight/
+ ./run.sh -virt ovsdb
+
+
+2. Building a Karaf Feature and deploying it in an Opendaylight Karaf distribution :
+ 1. This is a new method for Opendaylight distribution wherein there is no defined editions such
+ as Base, Virtualization or SP editions. Rather each of the projects will generate features in
+ form of .kar files. The end-customer can choose to deploy the required feature based on his/her
+ deployment needs.
+
+ 2. From the features/ directory, execute "mvn clean install"
+ This will generate a kar file such as "features/target/ovsdb-features-1.2.0-SNAPSHOT.kar"
+
+ 3. Download (or build from controller project) the Karaf distribution :
+ http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/distribution.opendaylight-karaf/
+ Sample zip file :
+ http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/distribution.opendaylight-karaf/1.4.2-SNAPSHOT/distribution.opendaylight-karaf-1.4.2-20140718.075612-407.zip
+
+ 4. unzip the downloaded (or built) distribution and copy the ovsdb-features-x.x.x.kar file (from step 2) into
+ the unzipped distribution.opendaylight-karaf-X.X.X/deploy/ directory.
+
+ 5. run Karaf from within the distribution.opendaylight-karaf-X.X.X/ directory using "bin/karaf"
+
+ Sample output from Karaf console :
+
+ opendaylight-user@root>kar:list
+ KAR Name
+ -----------------------------
+ ovsdb-features-1.2.0-SNAPSHOT
+
+ opendaylight-user@root>feature:list | grep ovsdb
+ odl-ovsdb-all | 1.2.0-SNAPSHOT | x | ovsdb-1.2.0-SNAPSHOT | OpenDaylight :: OVSDB :: all
+ odl-ovsdb-library | 1.0.0-SNAPSHOT | x | ovsdb-1.2.0-SNAPSHOT | OVSDB :: Library
+ odl-ovsdb-schema-openvswitch | 1.0.0-SNAPSHOT | x | ovsdb-1.2.0-SNAPSHOT | OVSDB :: Schema :: Open_vSwitch
+ odl-ovsdb-schema-hardwarevtep | 1.0.0-SNAPSHOT | x | ovsdb-1.2.0-SNAPSHOT | OVSDB :: Schema :: hardware_vtep
+ odl-ovsdb-plugin | 1.0.0-SNAPSHOT | x | ovsdb-1.2.0-SNAPSHOT | OpenDaylight :: OVSDB :: Plugin
+
+ opendaylight-user@root>bundle:list | grep OVSDB
+ 186 | Active | 80 | 1.0.0.SNAPSHOT | OVSDB Library
+ 199 | Active | 80 | 1.0.0.SNAPSHOT | OVSDB Open_vSwitch Schema
+ 200 | Active | 80 | 1.0.0.SNAPSHOT | OVSDB hardware_vtep Schema
+ 201 | Active | 80 | 1.0.0.SNAPSHOT | OpenDaylight OVSDB Plugin
+
+Running The Integration Tests
+=============================
+
+To run the integration tests locally the following components are required:
+
+ - Docker
+ - Fig
+
+To install docker, follow the installation guide for your platform:
+ http://docs.docker.com/installation/
+
+To install fig:
+ http://www.fig.sh/install.html
+
+To run the integration tests:
+
+ mvn clean install
+ fig start
+ # OSX
+ mvn verify -Pintegrationtest -Dovsdbserver.ipaddress=$(boot2docker ip 2>/dev/null) -Dovsdbserver.port=6640
+ # Linux
+ mvn verify -Pintegrationtest -Dovsdbserver.ipaddress=127.0.0.1 -Dovsdbserver.port=6640
+ fig stop