- commons
+-- parent : Contains Parent pom.xml for all the ovsdb modules.
-- features : This folder contains all the Karaf related files.
-
- hwvtepsouthbound : Contains the hw_vtep southbound plugin.
-- karaf : Builds a working controller distribution based on the controller + ovsdb modules and other
- dependant modules such as openflowplugin
-
- 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.
-- openstack
- +-- 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 functionality via OpenFlow or potentially
- other protocols.
- +-- net-virt-sfc : SFC implementation using the OVSDB project.
-
-- ovsdb-ui : Contains the DLUX implementation for displaying network virtualization
-
- resources : Contains some useful resources such as scripts, testing utilities and tools used for deployment
or testing the binaries generated from the OVSDB project.
- southbound : contains the plugin for converting from the OVSDB protocol to mdsal and vice-versa.
-- utils : MD-SAL OpenFlow and OVSDB common utilities.
+- utils : OVSDB common utilities.
HOW TO BUILD & RUN
==================
To run the integration tests locally the following components are required:
- Docker
- - Fig or Docker Compose
+ - Docker Compose
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 install Docker Compose:
http://docs.docker.com/compose/install/
mvn clean install
# The first time you need to set everything up
- fig up -d
+ docker-compose up -d
# Later runs only need the containers to be started
- fig start
+ docker-compose 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
+ mvn verify -Pintegrationtest -Dovsdbserver.ipaddress=127.0.0.1 -Dovsdbserver.port=6640 -Dovsdb.controller.address=<addr of docker interface> -Dovsdb.userspace.enabled=yes
+ docker-compose stop
On Linux you'll generally need to run fig as root (sudo fig ...).
-If you're using Docker Compose, replace "fig" above with "docker-compose" and ignore the warnings.
+Running the docker image manually:
+ sudo docker run -itd --cap-add NET_ADMIN -p 6640:6640 jhershbe/centos7-ovs:latest
Skipping unit tests and karaf tests
====================