Enable SSL connection for ovsdb server.
[ovsdb.git] / README
diff --git a/README b/README
index 2356030fbe5431aadb9b682f05631fbc35f05d69..da7159cfb780ea34ffcf6cfde4d6fa80aa3f2a72 100644 (file)
--- a/README
+++ b/README
@@ -1,48 +1,62 @@
 DIRECTORY ORGANIZATION
 ======================
 
+- commons
+  +-- parent : Contains Parent pom.xml for all the ovsdb modules.
+  +-- integrationtest : Contains the parent pom.xml for all the integrationtest needs.
+
+- distribution : Builds a working controller distribution based on the controller + ovsdb modules and other
+                 dependant modules such as openflowplugin
+  +-- opendaylight : older, OSGi-based distribution
+  +-- opendaylight-karaf : karaf-based distribution
+
+- features : This folder contains all the Karaf related files.
+
+- integrationtest : Contains all the PAX-Exam based integrationTests that covers IT for all the modules.
+
 - library : Contains Schema-independent library that is a reference implementation for RFC 7047.
             This module doesn't depend on any of the Opendaylight components.
             This library module can also be used independently in a non-OSGi environment.
 
-- schemas :
-  |-- openvswitch : Schema wrapper that represents http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf
-  |-- hardwarevtep: Schema wrapper that represents http://openvswitch.org/docs/vtep.5.pdf
-
-- plugin : Contains Opendaylight Southbound Plugin APIs and provides an simpler API interface on top of library layer.
-           Ideally, this module should also be schema independent. But due to legacy reasons this layer contains some
-           deprecated functionalities that assume openvswitch schema.
-
 - northbound : Provides AD-SAL style Northbound REST APIs.
                Supports the legacy v2 APIs to provide backward compatibility for Hydrogen Release
                Also supports the newer v3 APIs to provide schema-independent access to the OVSDB protocol.
 
+- of-extension : Adds OpenFlow Nicera extensions.
+
 - openstack
-  |-- net-virt : Handles the Openstack Neutron ML2 and Network Service calls and performs all the logic required
+  +-- net-virt : Handles the Openstack Neutron ML2 and Network Service calls and performs all the logic required
                  for Network Virtualization.
-  |-- net-virt-providers : Mostly contains data-path programming functionalities via OpenFlow or potentially
+  +-- net-virt-providers : Mostly contains data-path programming functionality via OpenFlow or potentially
                            other protocols.
 
-- commons
-  |-- parent : Contains Parent pom.xml for all the ovsdb modules.
-  |-- integrationtest : Contains the parent pom.xml for all the integrationtest needs.
+- ovs-sfc : SFC implementation using the OVSDB project. Currently it is just a shell.
 
-- distribution : Builds a working controller distribution based on the controller + ovsdb modules and other
-                 dependant modules such as openflowplugin
+- plugin : Contains Opendaylight Southbound Plugin APIs and provides a simpler API interface on top of library layer.
+           Ideally, this module should also be schema independent. But due to legacy reasons this layer contains some
+           deprecated functionality that assumes openvswitch schema.
 
-- features : This folder contains all the Karaf related files.
+- plugin-mdsal-adapter : Adds an MD-SAL Adapter for the OVSDB Plugin. The adapter updates the MD-SAL with nodes
+                         as they are added and removed from the inventory. The Yang model provides a reference
+                         between OVSDB nodes and the OpenFlow nodes (bridges) that they manage.
 
-- integrationtest : Contains all the PAX-Exam based integrationTests that covers IT for all of the above modules.
+- plugin-shell : Contains a Karaf shell framework for OVSDB plugin and printCache command-line.
 
 - resources : Contains some useful resources such as scripts, testing utilities and tools used for deployment
               or testing the binaries generated from the OVSDB project.
 
+- schemas :
+  +-- openvswitch : Schema wrapper that represents http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf
+  +-- hardwarevtep: Schema wrapper that represents http://openvswitch.org/docs/vtep.5.pdf
+
+- utils : MD-SAL OpenFlow and OVSDB common utilities.
+
 HOW TO BUILD & RUN
 ==================
 
 Pre-requisites : JDK 1.7+, Maven 3+
 
-1. Building a OVSDB based Opendaylight Virtualization edition :
+1. Building an OVSDB based Opendaylight Virtualization edition :
    1. This is the legacy way to build and distribute Opendaylight archives. And this method was
       followed in Hydrogen and possibly in Helium release as well.
 
@@ -57,6 +71,7 @@ Pre-requisites : JDK 1.7+, Maven 3+
 
 
 2. Building a Karaf Feature and deploying it in an Opendaylight Karaf distribution :
+*** This method is deprecated and an update will be added in the future.
    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
@@ -94,3 +109,32 @@ Pre-requisites : JDK 1.7+, Maven 3+
    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
+
+Skipping unit tests and karaf tests
+====================
+
+mvn clean install -Dmaven.test.skip=true -Dskip.karaf=true