Moved all Openflow 1.0 specific flow programming away from InternalNetworkManager to OF10ProviderManager class.

Also, handled Switchmanager Node coming up event to take care of initializing the default flows.
This is needed to handle timing issues in which the ForwardingRulesManager rejects request to program
default flows from ovsdb.neutron if the request is too soon (before the OF node gets registered with other
OSGi bundles).

Change-Id: Id299c75146e504df63a45b77cc0f6be962c3abb6
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Removed the floodEntries cache and relying on FRM's flow cache directly for updating the flood entries with new tunnels.

With many caches/databases that we rely upon, we are taking a concious decision to avaoid caching data in our bundles
but rely on existing and tested dbs in the system. With that philosophy, it is good to have 1 less cache :-).

Change-Id: Ibc3273d86c34e58bd14b1f1e8869ceebcedc6c60
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Merge "Moved all Openflow 1.0 specific flow programming away from InternalNetworkManager to OF10ProviderManager class."
Merge "Removed the floodEntries cache and relying on FRM's flow cache directly for updating the flood entries with new tunnels."
Added folder for ovsdb.neutron tests.
Created unit tests for BaseHandler.

Change-Id: Icde417fdd969a86a633da960ca36dbc713ddb76a
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Merge "Added folder for ovsdb.neutron tests. Created unit tests for BaseHandler."
Updating the OVSDB project to use the LATEST known Controller bundle's SNAPSHOT version.

As discussed in the TSC meeting, with this change, the OVSDB project is upto-date with the Controller bundle SNAPSHOT version as of today.

Change-Id: I8456aea40161912b8f40f1737e7440920ce7ef77
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Modified a few fields from OVSDB ambiguity

Change-Id: Id86437e91ea77e76e2685c9209cb92b3f3b1e5c3
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
Merge "Modified a few fields from OVSDB ambiguity"
Merge "Updating the OVSDB project to use the LATEST known Controller bundle's SNAPSHOT version."
Updating netty to 4.0.10 version (same as the controller project).

Change-Id: I8732aa5439fc250b070c0e26e008fdb65928d4ad
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
OVSDB project's OpenFlow 1.3 ProtocolPlugin integration via Controller's MD-SAL infrastructure

This checkin brings in the basic infrastructure changes needed to integrate the ovsdb.neutron bundle
with OpenFlow1.3 via the Controller's MDSAL infrastructure. The actual work of mapping the multi-table
and various Flow programming can be done now over this infra.

Change-Id: Ia3b73e4be243fe597c8996a676cd648c6a960d62
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Added Mockito and PowerMock to the neutron pom.xml
Unit test coverage for AdminConfigManager
Unit test coverage for NetworkHandler

Change-Id: Ice7582e2a9f4dd5a4b7c9fdac01e86196f48ccf4
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Small Java related improvements.

Remove redundant return statement from void method,
remove redundant boxing of numeric variables,
remove statements that check a condition that is always 'true',
add braces to 'if else' statements.

Signed-off-by: Alissa Bonas <abonas@redhat.com>
Aligning Jackson to the Controller's l latest upgrade (2.3.0). Also updated the northbound bundle to use the latest Jackson.

Due to this change, the ovsdb.northbound bundle will start to accept and respond OVSDB JSON messages in the same format as
expected by the ovsdb-server. (i.e) a set will be represented as ["set",[]] instead of the common sense [].
This is due to the ovsdb requirement as specified in the RFC / Draft.

Change-Id: I3a1a2548f1b8c87d1d4b63f5952d6fabaa6f3d33
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Prevent NPE when an interface is already present on the switch, but no related port is configured.

Change-Id: I966b412d06450f75ea8940dc413b9973ec1fc1d1
Signed-off-by: Hugo Trippaers <hugo@trippaers.nl>
Merge "Small Java related improvements."
Merge "Prevent NPE when an interface is already present on the switch, but no related port is configured."
Merge "Added Mockito and PowerMock to the neutron pom.xml Unit test coverage for AdminConfigManager Unit test coverage for NetworkHandler"
Updating the commons parent pom to 1.4.1-SNAPSHOT and checkstyle fixes

ovsdb project depends on the controller project's 1.4.0-SNAPSHOT version of commons pom.xml.
Since the latest changes (including the jackson upgrade) is done on 1.4.1-SNAPSHOT, we have
to update to the latest.
While doing so, it caught quite a few checkstyle errors, which am fixing it along.

Change-Id: Id650ffbae93f47121a7d259d0b39c6b537c2a992
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>