Add build script in OVSDB resources

The script in this commit simplifies the build process of the OVSDB
project.
usage: ovsdb-build [-h] [-r] [-b] [-of13] [-v] [-g CHANGE_ID] [-start]
[-stop]
                   [-d DIRECTORY] [-t]
optional arguments:
  -h, --help            show this help message and exit
  -r, --reclone         Reclone the Controller/OVSDB repos
  -b, --rebuild         Build the Controller Project
  -of13, --openflow13   Enable OpenFlow 1.3 Support
  -v, --verbose         Verbose output
  -g CHANGE_ID, --gerrit CHANGE_ID
                        Gerrit Change ID
  -start, --start       Start the controller
  -stop, --stop         Stop the controller
  -d DIRECTORY, --directory DIRECTORY
                        directory
  -t, --tmux            Create tmux session

On first run it is recommended to run the following:

./ovsdb-build -r -b -start

You can add the `-d` option to specify the directory you want to build
in:

./ovsdb-build -r -b -d /home/dave/dev/opendaylight -start

This will clone the controller and ovsdb projects, build them, move the
ovsdb artifacts in to the controller directory and start the controller.

Gerrit Changes can be built and loaded to the controller with a single
command:

./ovsbd-build -g 5716 -start

The controller is started in the background. To access the OSGi ole
you can manually `telnet 127.0.0.1 2400` or you can add `-t` to let
the build script create a tmux session for you.

Change-Id: Ie98942843a90193a38e17e4a8cd09b2806942e5c
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
Fixing a few issues in PatchSet-1 that adds support for IPFIX table in ConfigurationService.

Change-Id: I28b0ca6daecc6ea6244c91137fba2e16b9444e78
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Merge "Add build script in OVSDB resources"
Patched some existing and added IPFIX to Postman API Collection.

Changes:
-------
Added:
IPFIX API Calls:

Modified/Patched:
SFlow
Queue
NetFlow
Controller
Manager

For version tracking I opened Bugzilla ID 667
https://bugs.opendaylight.org/show_bug.cgi?id=667

Change-Id: I3ccdf12463b25f766254c3fa0058753584caf3b5
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
Turn hard coded localhost:8080 into templates in the postman_collection files.

Change-Id: Ic3620230e29d278d234a3ba9fea53da8f6ab5c8c
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Update netty to 4.0.17

This is a follow-up for https://git.opendaylight.org/gerrit/#/c/5630/ .

Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-954: Add support for Neutron port/network delete events for OF1.3

This commit will enable support for Neutron port delete and network delete events.
It will also enable flow cleanup and tunnel port delete for ovsdb using OF 1.3

Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
Change-Id: Ic848125d21abc44c796ef2b1675cca9e50630f76
Add support for vlan tenant isolation to ovsdb using OpenFlow 1.0.

This is an initial push of the changes needed to support vlan tenant isolation.
Ignore the logger's with shague in them since they are for my debugging and will go away.

This is using OF 1.0. Hsin-Yi has the 1.3 task.

The br-eth for vlan and br-tun for tunnels has been combined to br-net. A single patch port
connects br-net to br-int.

Functions to parse the physical interface name from the provider_mappings have been added.

Signed-off-by: Sam Hague <shague@redhat.com>
Change-Id: I369165f4f92665242e033454b49a5ee6a4ea0381
Removed all the static string usage for network types vxlan, gre, vlan and replaced it with a constant.

Change-Id: Ied4b930959ad202f8e2428b839350a7d777b4adc
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Fixed distribution build parameters to pull in the Virtualization edition from Integration branch
and replace it with the latest OVSDB bundles (ovsdb library, northbound and neutron).

This makes the OVSDB developers life simpler and avoids all the copy the bundle over issues and
provides a much simpler way to execute the controller with the OVSDB bundles being developed.
Run the controller normally :

run.sh -Xmx2048m -XX:MaxPermSize=512m -virt ovsdb [-of13]

Change-Id: Icd717639ca1768a87feefe550a2c1ac386359156
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Fix integration tests

Fix hardcoded values and connection issue in OVSDB IT

Change-Id: I79f5fd44f3fa4ee86634a8b979b9bcb7e4fba030
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Fix failure of OvsdbTestGetBridgeDomainsIT

OvsdbTestGetBridgeDomainsIT was failing due to a NullPointer to the
ConfigurationService.invetoryServiceInternal

- Add InvetoryService to TestObjects
- Call setInventoryServiceInternal on the ConfigurationService

Change-Id: I1ec373df3b2726aca613ee740b4768bc9d28954e
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Replace String Literals in ITs with constants

Code cleanup.
Replace String literals in Integration Tests with contants.

Change-Id: Ib5d2d181edb3b4b2f47be67778aadcb843d2f8f8
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Merge "Update netty to 4.0.17"
Fix unhandled timeout in OVSDBNettyFactoryIT

The IT sometimes hangs when run due to a timeout in getting the schema.
Limit connection attemtps to 3 seconds with 3 retries.
This does not fix the root cause, but *does* fail the IT.

Change-Id: Ie209fb5cadadd832991dc406133b96e291d38369
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Merge "Fix unhandled timeout in OVSDBNettyFactoryIT"
Add Vagrantfile for OVSDB Test/Dev environment

This commit adds a Vagrantfile to the root of the repository. This
allows a developer to issue a single command to pull up a development
and test environment:

    vagrant up

This will create 3 x VMs in Virtual Box. VMs can be
created individually if required.

1 x VM for Mininet - 2GB RAM
1 x DevStack Control/Compute node - 4GB RAM
1 x DevStack Compute node) - 4GB RAM

See README.Vagrant for full instructions

Change-Id: Ieaaec6cde09ce9ecc7b31861f86695c662849f7d
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Add License to OVSDB Repo

OVSDB doesn't have the full text of the EPL in the base of the repo.
Other projects (controller, vtn etc...) do. This commit adds the
license.

Change-Id: I0adb2f0d8726fda718d285e596dd2ab3f51329fc
Signed-off-by: Dave Tucker <djt@redhat.com>
Update OVSDB Pom files for sortpom plugin

Auto-sorting of pom files was introduced in
https://git.opendaylight.org/gerrit/#/c/6247/

As the OVSDB pom's are children they too must be auto-sorted.
`mvn clean install` was used to sort the poms for this commit.

Change-Id: I2cb85c092452c94018334271bc37b4bc474d6e97
Signed-off-by: Dave Tucker <djt@redhat.com>
Merge "Add License to OVSDB Repo"