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
+
CONTROLLER_RUNSH=${RUNSH_DIR}/run.internal.sh
OF_FILTER=
+OF_PLUGIN_RUNTIME=
# Be extra careful to pass on usage from run.internal.sh, but add our
# usage as well in the standard way
find configuration/initial -type l -exec rm {} \;
# OF Filter selection
-OF_FILTER="org.opendaylight.(openflowplugin|openflowjava)"
+OF_FILTER="org.opendaylight.(openflowplugin|openflowjava|controller.sal-compatibility|ovsdb.of-extension)"
+OF_PLUGIN_RUNTIME="1.0"
if (( $OF13 != 0 )); then
+ OF_PLUGIN_RUNTIME="1.3"
OF_FILTER="org.opendaylight.controller.(thirdparty.org.openflow|protocol_plugins.openflow)"
while read ofConfig; do
ln -s ../initial.available/$(basename ${ofConfig}) configuration/initial/
FILTER=${FILTERBEGINING}${OF_FILTER}${BUNDLEFILTER}${FILTERENDING}
# Run the command
-$CONTROLLER_RUNSH -Dfelix.fileinstall.filter="$FILTER" $NEWARGS
+$CONTROLLER_RUNSH -Dfelix.fileinstall.filter="$FILTER" -Dovsdb.of.version="$OF_PLUGIN_RUNTIME" $NEWARGS
--- /dev/null
+ovs:
+ image: davetucker/docker-ovs:2.1.2
+ ports:
+ - "6640:6640"
+ command: "/usr/bin/supervisord -n"
+ privileged: true
org.opendaylight.controller.sal.action,
org.opendaylight.ovsdb.plugin.api,
org.opendaylight.ovsdb.lib.notation,
+ org.opendaylight.ovs.nx.sal.*;resolution:="optional",
+ org.opendaylight.yang.gen.v1.urn.opendaylight.ovs.nx.*;resolution:="optional",
+ org.opendaylight.openflowplugin.*;resolution:="optional",
+ org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.*;resolution:="optional",
+ org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.*;resolution:="optional",
org.opendaylight.controller.sal.binding.api,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes,