ovsdb.git
9 years agoMerge "Slight simplification in OvsdbConnectionInstance"
Flavio Fernandes [Thu, 26 Feb 2015 19:43:15 +0000 (19:43 +0000)]
Merge "Slight simplification in OvsdbConnectionInstance"

9 years agoMerge "Minor fix to change log message from OvsdbNodeDataChangeListener to OvsdbManag...
Flavio Fernandes [Thu, 26 Feb 2015 19:39:15 +0000 (19:39 +0000)]
Merge "Minor fix to change log message from OvsdbNodeDataChangeListener to OvsdbManagedNodeDataChangeListener"

9 years agoFix for incorrect generation of NodeId which was preventing cleanup of nodes 90/15790/1
Ed Warnicke [Thu, 26 Feb 2015 17:23:14 +0000 (10:23 -0700)]
Fix for incorrect generation of NodeId which was preventing cleanup of nodes
correctly.

Change-Id: I4344f0a3629350f02958b953bbf7985291cd7a42
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoSlight simplification in OvsdbConnectionInstance 81/15781/1
Ed Warnicke [Thu, 26 Feb 2015 14:21:40 +0000 (07:21 -0700)]
Slight simplification in OvsdbConnectionInstance

Change-Id: If5b2350ec2d2cb228d17add95133cd4cc69602eb
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMinor fix to change log message from OvsdbNodeDataChangeListener to OvsdbManagedNodeD... 91/15791/1
Sharad Mishra [Thu, 26 Feb 2015 10:44:21 +0000 (02:44 -0800)]
Minor fix to change log message from OvsdbNodeDataChangeListener to OvsdbManagedNodeDataChangeListener

Change-Id: I6dd2a493b9e709931e52f5c0b452178202c85a35
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoUse neutron from new repo 53/15753/6
Ed Warnicke [Wed, 25 Feb 2015 21:11:37 +0000 (16:11 -0500)]
Use neutron from new repo

Change-Id: I03757e2cebacb3f819e5e8ea7ab0c545ea4053ae
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix TransactionBuilder to take OvsdbClient rather than OvsdbClientImpl 45/15745/1
Ed Warnicke [Wed, 25 Feb 2015 18:41:47 +0000 (11:41 -0700)]
Fix TransactionBuilder to take OvsdbClient rather than OvsdbClientImpl

Change-Id: Ife31f77ca624e25e51bcf9f2e64e198eb136641b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMoved extract* methods to TyperUtils 86/15686/2
Ed Warnicke [Tue, 24 Feb 2015 23:42:55 +0000 (16:42 -0700)]
Moved extract* methods to TyperUtils

This was discussed with shague on #opendaylight-ovsdb

Change-Id: I5b5eff8eae5644695fe7a6a2eb9e2030621bff35
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoChange signature of TransactionUtils to returns Maps keyed by UUID. 84/15684/2
Ed Warnicke [Tue, 24 Feb 2015 23:01:54 +0000 (16:01 -0700)]
Change signature of TransactionUtils to returns Maps keyed by UUID.

Change-Id: I1e1f47914b91bcb524b76f405d5c7ca76b918659
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMade TransactionUtils easier to use 79/15679/1
Ed Warnicke [Tue, 24 Feb 2015 18:37:41 +0000 (11:37 -0700)]
Made TransactionUtils easier to use

Change-Id: I74da5442f81f40312a62f161a74f303559f16a52
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoIntroducing AbstractTransactionCommand to make it easier to do commands 78/15678/1
Ed Warnicke [Tue, 24 Feb 2015 18:25:59 +0000 (11:25 -0700)]
Introducing AbstractTransactionCommand to make it easier to do commands

I found myself writing a lot of repetative code for TransactionCommands,
and so pulled it up into an AbstractTransactionCommand

Change-Id: Iddd6995146e9ddc4002b7e8c6791b1332198c361
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdded Removal of bridges from operational store 77/15677/2
Ed Warnicke [Tue, 24 Feb 2015 17:17:21 +0000 (10:17 -0700)]
Added Removal of bridges from operational store

Change-Id: I48d830e619fe982724d11ca66283bfd77ad5bf15
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoSwitch to command pattern and using transaction chains 75/15675/1
Ed Warnicke [Mon, 23 Feb 2015 21:55:49 +0000 (14:55 -0700)]
Switch to command pattern and using transaction chains

This patch does a few things:

1)  Switch to using command pattern with transaction chains
    to provider robust writing to the operational store
2)  Moved over the existing operational writing to using the command
    pattern
3)  Removed the bridges from the ovsdb node as they need to be
    separate topological nodes.

Change-Id: I9796d90a7cee483271134dc5abbc6097df4ce567
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRevert "Removing ovsdb plugin dependency on sal.utils classes" 41/15641/2
Sam Hague [Tue, 24 Feb 2015 04:06:43 +0000 (04:06 +0000)]
Revert "Removing ovsdb plugin dependency on sal.utils classes"

This reverts commit 9ab94103db38d59905e8706e9848ce992721e0eb.

Change-Id: I34b64fed8b937dde5247fcfdefe13a68882e61f9
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMove to use flow models from openflowplugin 43/15643/1
Sam Hague [Tue, 24 Feb 2015 04:58:32 +0000 (23:58 -0500)]
Move to use flow models from openflowplugin

Change-Id: I7328d44e05cee345e41229b0999c6651de09d83f
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFix for ovsdb parent pom version mismatch 33/15633/2
Sam Hague [Mon, 23 Feb 2015 21:43:46 +0000 (16:43 -0500)]
Fix for ovsdb parent pom version mismatch

Patch 2: retry

Change-Id: I70a1f7f94f93c928364d0e1d9c7fe97bb271c5dc
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Nit pick: fix spacing in getNode()"
Flavio Fernandes [Fri, 20 Feb 2015 16:44:59 +0000 (16:44 +0000)]
Merge "Nit pick: fix spacing in getNode()"

9 years agoMerge "Fetch managed node (bridge) details and augment to operational data store"
Sam Hague [Fri, 20 Feb 2015 16:35:00 +0000 (16:35 +0000)]
Merge "Fetch managed node (bridge) details and augment to operational data store"

9 years agoNit pick: fix spacing in getNode() 57/15557/1
Flavio Fernandes [Fri, 20 Feb 2015 15:10:11 +0000 (10:10 -0500)]
Nit pick: fix spacing in getNode()

Change-Id: Ia17d027c1f011abdf3783f3c59f1caa04cd68a52
Co-Author: Sam Hague <shague@redhat.com>
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Removing ovsdb plugin dependency on sal.utils classes"
Sam Hague [Fri, 20 Feb 2015 14:10:03 +0000 (14:10 +0000)]
Merge "Removing ovsdb plugin dependency on sal.utils classes"

9 years agoMerge "Workaround for Node.fromString"
Sam Hague [Fri, 20 Feb 2015 14:09:57 +0000 (14:09 +0000)]
Merge "Workaround for Node.fromString"

9 years agoRemoving ovsdb plugin dependency on sal.utils classes 20/15520/3
Sam Hague [Fri, 20 Feb 2015 03:05:13 +0000 (22:05 -0500)]
Removing ovsdb plugin dependency on sal.utils classes

This patch copies all the required classes (Status.java & StatusCode.java) from sal.utils and places them in plugin.api package.

Patch set 3: Add review comments.

Change-Id: I7e5ca9ef3480f4c3dcf604e1874f7e980681c2e8
Also-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFetch managed node (bridge) details and augment to operational data store 85/15385/3
Anil Vishnoi [Sun, 15 Feb 2015 23:38:20 +0000 (05:08 +0530)]
Fetch managed node (bridge) details and augment to operational data store

Patch 2: Fixed schema.openvswitch module loading issues

Change-Id: I5a8ab3b4ce73e7ae6b98895684f76bfae816f43d
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoWorkaround for Node.fromString 19/15519/1
Sam Hague [Fri, 20 Feb 2015 01:43:11 +0000 (20:43 -0500)]
Workaround for Node.fromString

Added getnode(id) API to plugin ConnectionService interface to get the node requested by the id.

Also found some cases in the northbound that were using the fromString so replaced them with getNode.

Change-Id: I47dd6bb6cb432d6309744dd0206412a8a6037281
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMigrate ovsdb to use features-test from odlparent 06/15506/1
Sam Hague [Thu, 19 Feb 2015 16:47:51 +0000 (11:47 -0500)]
Migrate ovsdb to use features-test from odlparent

Change-Id: I1e808c9f98bef104dabecf2d3fe8ae2381b9cc5e
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRemove IPlugin{in,out}Inventory* interfaces. 83/15483/1
Sam Hague [Thu, 19 Feb 2015 03:04:48 +0000 (22:04 -0500)]
Remove IPlugin{in,out}Inventory* interfaces.

This patch removes ovsdb plugin module's dependency on IPluginInInventory* and IPluginOutInventory* interfaces.

Patch has TODO item's that will be implemented and pushed in upcoming patches.

Change-Id: I69b9bab711d9e346629ede9ff8eec97989af31cc
Also-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agofix integration tests 78/15478/2
Flavio Fernandes [Wed, 18 Feb 2015 22:33:26 +0000 (17:33 -0500)]
fix integration tests

patch 2: only re-add pluginRepositories section

Change-Id: If8f31e0ff6e39cda01f49a8250ac492906039c8b
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Parsing bridge names on new Southbound, Yang changes"
Flavio Fernandes [Wed, 18 Feb 2015 20:43:45 +0000 (20:43 +0000)]
Merge "Parsing bridge names on new Southbound, Yang changes"

9 years agoParsing bridge names on new Southbound, Yang changes 30/15430/3
Reinaldo Penno [Tue, 17 Feb 2015 19:34:53 +0000 (11:34 -0800)]
Parsing bridge names on new Southbound, Yang changes

Change-Id: I8a0d1802c37c49b812ce5b5b008d7e22169b3655
Signed-off-by: Reinaldo Penno <rapenno@gmail.com>
9 years agoMerge "Fix of ovsdb conneciton listener"
Flavio Fernandes [Wed, 18 Feb 2015 18:15:20 +0000 (18:15 +0000)]
Merge "Fix of ovsdb conneciton listener"

9 years agoFix of ovsdb conneciton listener 46/15346/2
Hsin-Yi Shen [Mon, 16 Feb 2015 02:39:35 +0000 (18:39 -0800)]
Fix of ovsdb conneciton listener

For ssl connection, the notification of connected event to listeners should happen after ssl handshake is complete.

Signed-off-by: Hsin-Yi Shen <syshen66@gmail.com>
9 years agoClean up pom files. 45/15445/2
Sam Hague [Wed, 18 Feb 2015 03:36:45 +0000 (22:36 -0500)]
Clean up pom files.

- Add missing Copyright headers.
- Remove duplicated properties that are pulled from odlparent

Change-Id: Ia36dd455de988fb6be4f1a2d90cd7291878fe7d5
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Add karaf-based pax-exam so that net-virt can be tested."
Sam Hague [Tue, 17 Feb 2015 00:24:15 +0000 (00:24 +0000)]
Merge "Add karaf-based pax-exam so that net-virt can be tested."

9 years agoAdd karaf-based pax-exam so that net-virt can be tested. 90/15390/1
Sam Hague [Mon, 16 Feb 2015 23:08:48 +0000 (18:08 -0500)]
Add karaf-based pax-exam so that net-virt can be tested.

Use the following command to run the NetVirtIT test:

mvn -Dit.test=NetVirtIT verify -Pintegrationtest -Dovsdbserver.ipaddress=192.168.120.31 -Dovsdbserver.port=6640 -Pkarafit

This will start the test and bring up the ovsdb karaf distribution. You should first build the distribution and install it to your local m2 repo. When the odl-ovsdb-openstack feature is fully loaded you can then manual configure the bridge to connect to odl with ovs-vsctl set-manager tcp:192.168.120.1:6640.

By default the integration tests exclude NetVirtIt. This is because the current test cannot get service interfaces to make use of their services. An example is getting the connect interfce from the plugin to initiate and outgoing connection to an ovsdb node. The usual "ServiceHelper.getGlobalInstance" did not work in the karaf pax-exam container so another workaround needs to be found.

The test will wait for 10s for the connection from the ovsdb node. Look for the output: "Try to connect!" before connecting. This message indicates the odl-ovsdb-openstack feature is active and ready to receive connections. The timeout can be increased if needed.

Change-Id: I17a944542b564f456f841623083635ac9c4304d0
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRe-enabled southbound 77/15377/1
Ed Warnicke [Mon, 16 Feb 2015 19:21:17 +0000 (12:21 -0700)]
Re-enabled southbound

It appears to be working fine.

Change-Id: I8206a98461efcb344c3322a5aca16ceba759f975
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoUse odlparent for pax-exam dependencies. 74/15374/1
Sam Hague [Mon, 16 Feb 2015 18:55:23 +0000 (13:55 -0500)]
Use odlparent for pax-exam dependencies.

Change-Id: Ie2d44eee629327a3229df189ac9321632d587f4e
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBug 2707: Pipeline flows are not programmed because of failed onNodeUpdated call 70/15370/1
Sam Hague [Mon, 16 Feb 2015 16:43:24 +0000 (11:43 -0500)]
Bug 2707: Pipeline flows are not programmed because of failed onNodeUpdated call

Cause: we used the onNodeUdpated() OpendaylightInventoryListener interface to receive updates when openflow nodes were updated. If we thought it was the first time and the openflow node was just added we would then program the pipeline flows. ovsdb checked the FlowCapableNode in the datastore for the isPreset flag. It looks like there might have been some race condition where another writer like InventoryManager was updated the FlowCapablNode such that when ovsdb would do the above check isPresent would return true and ignore the update - and not program the pipeline flows.

Solution: replace the deprecated call with an mdsal flowCapablenode DataChangeListener. This ensures ovsdb will get the node when created.

Also added a couple log.info's to track when the nodes are added to help with future debugging.

Change-Id: Ib6867927cb1ce61670d7566ea40b88966243bdca
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRemove dependency on sfc-model to help with yangtools issues. 41/15341/1
Sam Hague [Sun, 15 Feb 2015 15:29:52 +0000 (10:29 -0500)]
Remove dependency on sfc-model to help with yangtools issues.

Also removed building southbound since it has issue with parent pom. Not sure if it is related to all the other build issues from the recent yangtools commits.

Change-Id: Id18ee252f1e619ee899702b0dadb9284db8310af
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Fix sonar code coverage for BridgeConfigurationManagerImpl.java"
Flavio Fernandes [Fri, 13 Feb 2015 21:23:56 +0000 (21:23 +0000)]
Merge "Fix sonar code coverage for BridgeConfigurationManagerImpl.java"

9 years agoFix sonar code coverage for BridgeConfigurationManagerImpl.java 83/15283/1
Sam Hague [Fri, 13 Feb 2015 20:39:21 +0000 (15:39 -0500)]
Fix sonar code coverage for BridgeConfigurationManagerImpl.java

Change-Id: I6c459945c7f1aac12ab2db8a7d89d1f08ff2272d
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdding adsal todo markers to track needed changes. 53/15253/1
Sam Hague [Fri, 13 Feb 2015 13:25:18 +0000 (08:25 -0500)]
Adding adsal todo markers to track needed changes.

Change-Id: Ib6d40782ff930c034bc1ab8a11a96bba883b04c9
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdd copyright header to files missing one 27/15227/1
Eric Multanen [Thu, 12 Feb 2015 16:00:43 +0000 (08:00 -0800)]
Add copyright header to files missing one

Change-Id: I6a65830729e6592e3dce11121cdd0983c553551e
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
9 years agoOVSDB MD-SAL SB - remove extra disconnected call 29/15129/2
Eric Multanen [Tue, 10 Feb 2015 22:52:38 +0000 (14:52 -0800)]
OVSDB MD-SAL SB - remove extra disconnected call

When deleting an active ODL connection to an OVS node
via restconf, the disconnect() call in
OvsdbConnectionManager.java called the disconnected()
method which resulted in two transactions to remove the
operational MD-SAL entry for the node.  Which resulted
in WARNings in the log.

Change-Id: I305be04a9217c03d646b103294e7f0d7eabf7df8
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
9 years agoAdded basic framework for getting requests for OvsdbManagedNodes 18/15118/3
Ed Warnicke [Tue, 10 Feb 2015 18:52:29 +0000 (11:52 -0700)]
Added basic framework for getting requests for OvsdbManagedNodes

Provides basic framework for getting requests for OvsdbManagedNodes so
we can translate them to transacts.

Change-Id: I5fa5e556894a4b542243039868fac6df5d8dc682
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge topics 'mdsal_ovsd_db', 'mdsal_ovsdb_sb'
Sam Hague [Wed, 11 Feb 2015 01:32:45 +0000 (01:32 +0000)]
Merge topics 'mdsal_ovsd_db', 'mdsal_ovsdb_sb'

* changes:
  Provide some simple getters for getting the client from the ConnectionManager
  Switch to using instanceidentifiers for managed-by and manages references

9 years agoMerge "MD-SAL OVSDB SB - handle deletion of Ovsdb Nodes"
Sam Hague [Wed, 11 Feb 2015 01:31:20 +0000 (01:31 +0000)]
Merge "MD-SAL OVSDB SB - handle deletion of Ovsdb Nodes"

9 years agoMerge "Basic wiring for OVSDB updates"
Sam Hague [Wed, 11 Feb 2015 01:26:32 +0000 (01:26 +0000)]
Merge "Basic wiring for OVSDB updates"

9 years agoMerge "Fix ovsdb-ovs-full-integration-daily"
Sam Hague [Tue, 10 Feb 2015 21:49:13 +0000 (21:49 +0000)]
Merge "Fix ovsdb-ovs-full-integration-daily"

9 years agoMerge "Remove ComponentActivatorAbstractBase from net-virt"
Sam Hague [Tue, 10 Feb 2015 21:47:19 +0000 (21:47 +0000)]
Merge "Remove ComponentActivatorAbstractBase from net-virt"

9 years agoFix ovsdb-ovs-full-integration-daily 19/15119/1
Flavio Fernandes [Tue, 10 Feb 2015 20:00:33 +0000 (15:00 -0500)]
Fix ovsdb-ovs-full-integration-daily

Fix issue introduced in https://git.opendaylight.org/gerrit/#/c/15105/
testGetOpenflowVersion() was not accounting for cases when OVS does not support OF13.

Change-Id: If468e0853ab9038a44c976371d1b99c15f589699
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoProvide some simple getters for getting the client from the ConnectionManager 16/15116/2
Ed Warnicke [Tue, 10 Feb 2015 18:11:37 +0000 (11:11 -0700)]
Provide some simple getters for getting the client from the ConnectionManager

Change-Id: I61908c46869a0427e506ac7770b8ec5fcb10dafa
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoSwitch to using instanceidentifiers for managed-by and manages references 15/15115/2
Ed Warnicke [Tue, 10 Feb 2015 18:10:45 +0000 (11:10 -0700)]
Switch to using instanceidentifiers for managed-by and manages references

This is done because instance-indentifiers are easier to work with :)

Change-Id: I7325caa20029a5ad07743d0455f7bc25e193ff5a
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix version used for ../commons/parent/commons 09/15109/1
Flavio Fernandes [Tue, 10 Feb 2015 14:12:16 +0000 (09:12 -0500)]
Fix version used for ../commons/parent/commons

Change-Id: I8a52c915073661c6ebcd1ca2404e8705e7e5acf8
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMD-SAL OVSDB SB - handle deletion of Ovsdb Nodes 77/14877/4
Eric Multanen [Wed, 4 Feb 2015 23:43:53 +0000 (15:43 -0800)]
MD-SAL OVSDB SB - handle deletion of Ovsdb Nodes

This is a first draft for handling deletion of
Ovsdb nodes that were added via restconf.

This first patch cheats to get things working.  Need
a method in disconnect() to find the Ovsdb client.

v2 - fixed problem lloking up Ovsdb client.
v3 - rebased against Ed's patch - gerrit 15043

Change-Id: Ie2804b50c5205c2d1d2ca44fa17a64db3518b8a2
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRemove ComponentActivatorAbstractBase from net-virt 05/15105/1
Flavio Fernandes [Tue, 10 Feb 2015 10:06:31 +0000 (05:06 -0500)]
Remove ComponentActivatorAbstractBase from net-virt

Change-Id: Ie173040211627cfa2c467247fd164aa0965f539a
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Ref: https://git.opendaylight.org/gerrit/#/c/15034/

9 years agoBasic wiring for OVSDB updates 43/15043/2
Ed Warnicke [Mon, 9 Feb 2015 01:55:10 +0000 (18:55 -0700)]
Basic wiring for OVSDB updates

This patch wires in OVSDB updates via monitor, and hands
them off to a callback that (to date) logs them.

I've tried it out with some simple cases, and it appears to
be working.

Change-Id: I1387283054f68f036fe4b4a8a5f81bb17e02aa6e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Fix namespaces for dpdk yang files"
Flavio Fernandes [Mon, 9 Feb 2015 17:20:24 +0000 (17:20 +0000)]
Merge "Fix namespaces for dpdk yang files"

9 years agoMerge "Remove ComponentActivatorAbstractBase from plugin"
Flavio Fernandes [Mon, 9 Feb 2015 16:32:06 +0000 (16:32 +0000)]
Merge "Remove ComponentActivatorAbstractBase from plugin"

9 years agoFix namespaces for dpdk yang files 44/15044/1
Ed Warnicke [Mon, 9 Feb 2015 02:00:31 +0000 (19:00 -0700)]
Fix namespaces for dpdk yang files

Change-Id: I93bcd51d3f0941601d8e4d244db33bdd662d4b5e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRemove ComponentActivatorAbstractBase from plugin 34/15034/3
Sam Hague [Sun, 8 Feb 2015 04:28:48 +0000 (23:28 -0500)]
Remove ComponentActivatorAbstractBase from plugin

Patch Set 3: remove some unused imports.

Change-Id: Ib656201f3a2d5598b96e13774620e283c6547114
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Remove openflow10"
Sam Hague [Sat, 7 Feb 2015 20:17:02 +0000 (20:17 +0000)]
Merge "Remove openflow10"

9 years agoRevert "Revert "Adding support for DPDK datapath_type and port_types."" 04/15004/2
Ed Warnicke [Fri, 6 Feb 2015 23:11:46 +0000 (23:11 +0000)]
Revert "Revert "Adding support for DPDK datapath_type and port_types.""

This reverts commit 96cabf057a4ab117c5bf6f615f00841ca262494c.

Change-Id: Ib62866eed9f8407ddc38a098d26201571c0f6fa4
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Re-enable southbound build."
Sam Hague [Fri, 6 Feb 2015 23:09:41 +0000 (23:09 +0000)]
Merge "Re-enable southbound build."

9 years agoRe-enable southbound build. 86/14986/2
Ed Warnicke [Fri, 6 Feb 2015 19:13:07 +0000 (12:13 -0700)]
Re-enable southbound build.

After some investigation, this turns out to be a deeply adverse interaction
between pax-exam 4.4.0 (and 4.0.0-4.4.0) and mirrors in the infra.

Since I believe we need to go to at least pax-exam 4.0.0 to get to karaf
3.0.2 to get to Java 8 (or so I recall from talking to Robert), the mirror
thing in infra has been fixed (nobodies preferred fix).

This patch should now verify, and the build should be restored.

Change-Id: I993eae3cfe999faa5a6262e61144bf60e5be261c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Revert "Adding support for DPDK datapath_type and port_types.""
Sam Hague [Fri, 6 Feb 2015 21:20:38 +0000 (21:20 +0000)]
Merge "Revert "Adding support for DPDK datapath_type and port_types.""

9 years agoRemove openflow10 93/14993/1
Flavio Fernandes [Fri, 6 Feb 2015 20:55:52 +0000 (15:55 -0500)]
Remove openflow10

Follow up from https://git.opendaylight.org/gerrit/#/c/14968/
to remove dead code newly made.

Also re-enabled test in NeutronIT: testGetOpenflowVersion()

Change-Id: I705ab9e6046947c20349a2fb6906ca9d248e8085
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoRevert "Adding support for DPDK datapath_type and port_types." 91/14991/1
Ed Warnicke [Fri, 6 Feb 2015 20:34:39 +0000 (20:34 +0000)]
Revert "Adding support for DPDK datapath_type and port_types."

It appears this patch only passed verify because southbound was not building.

This reverts commit feec58a6b62fde434e7972b172f254a996bea6c6.

Change-Id: Ica3daccfe0554f885f6ecbcb5f06013fb4824e6d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Remove of10provider"
Flavio Fernandes [Fri, 6 Feb 2015 20:13:37 +0000 (20:13 +0000)]
Merge "Remove of10provider"

9 years agoRemove of10provider 68/14968/2
Sam Hague [Fri, 6 Feb 2015 14:54:55 +0000 (09:54 -0500)]
Remove of10provider

This helps to remove the switchmanager and forwardingrulesmanager adsal dependencies. switchmanager is still needed by net-virt so that will be fully removed in a later commit.

Patch set 2: Reenable the NeutronIt and OvsdbNorthboundIT
             Add fix for previous commit with uriInfo that was breaking the OvsdbNorthboundIT
             Incorporate review comments.

Change-Id: I7ae8b30784d2d6d9f34639ed420805a8cb34afc7
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdding support for DPDK datapath_type and port_types. 41/14641/5
Sharad Mishra [Fri, 30 Jan 2015 18:03:21 +0000 (10:03 -0800)]
Adding support for DPDK datapath_type and port_types.

This patch creates yang models to support datapath and port types.
datapath-port-types.yang is a general purpose datapath and port types model.
dpdk.yang is an extension to add dpdk specific ports and datapath_types.

Change-Id: Iffbf04631a5546cdc1b8f73bafc53ff5ca65d7f1
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoRemove sal.connectionservice 33/14933/9
Sam Hague [Thu, 5 Feb 2015 18:39:53 +0000 (13:39 -0500)]
Remove sal.connectionservice

Patch Set 4: Add ConnectionConstants.
Patch Set 5: Add pom files.

Change-Id: Ifde85d6a76fbec683f7cb7563802ca8e61c30e9c
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFix for OVSDB compilation failure 56/14956/1
Reinaldo Penno [Fri, 6 Feb 2015 05:59:01 +0000 (21:59 -0800)]
Fix for OVSDB compilation failure

- Legacy distribution was removed but top level pom still had child module
  which causes a fresh tree to fail compilation.

Change-Id: I0b258da4a1516035954a56c913a8368694e5300f
Signed-off-by: Reinaldo Penno <rapenno@gmail.com>
9 years agoMerge "REVERT-ME: neuter southbound module."
Flavio Fernandes [Fri, 6 Feb 2015 03:56:54 +0000 (03:56 +0000)]
Merge "REVERT-ME: neuter southbound module."

9 years agoREVERT-ME: neuter southbound module. 52/14952/2
Flavio Fernandes [Fri, 6 Feb 2015 03:10:56 +0000 (22:10 -0500)]
REVERT-ME: neuter southbound module.

Change-Id: I37c819bdde192a64ce27436b45f13e6509404a87
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoRemove legacy distribution 44/14944/2
Ed Warnicke [Thu, 5 Feb 2015 22:59:48 +0000 (15:59 -0700)]
Remove legacy distribution

I think (I checked with flaviof on IRC) this is just
making build times longer and is not used.  If so,
this patch should make builds faster.

If its doing something useful, let me know ;)

Change-Id: I950f2e0404b1eceb9708e47ab154865ff01c12ed
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoSonarBugFix: 98/14798/2
Bindya Narayan [Wed, 4 Feb 2015 00:31:22 +0000 (16:31 -0800)]
SonarBugFix:
Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
9 years agoSonarBugFix:GenericTableSchema 97/14797/3
Bindya Narayan [Wed, 4 Feb 2015 00:22:21 +0000 (16:22 -0800)]
SonarBugFix:GenericTableSchema
Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
9 years agoSonar bug Fixes 93/14793/3
Bindya Narayan [Tue, 3 Feb 2015 23:59:26 +0000 (15:59 -0800)]
Sonar bug Fixes

Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
9 years agoSonarBug:Remove unused variables 58/14858/3
Bindya Narayan [Wed, 4 Feb 2015 07:54:27 +0000 (23:54 -0800)]
SonarBug:Remove unused variables

Conflicts:
northbound/src/main/java/org/opendaylight/ovsdb/northbound/OvsdbNorthboundV3.java

Change-Id: I4bbdcc9517966f91230987b09ae7cd27f6d845c2
Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Add more detail to trace logging in JsonRpcEndpoint"
Sam Hague [Thu, 5 Feb 2015 23:25:25 +0000 (23:25 +0000)]
Merge "Add more detail to trace logging in JsonRpcEndpoint"

9 years agoMerge "BUG-1173: do not mention guava.version"
Flavio Fernandes [Thu, 5 Feb 2015 17:09:45 +0000 (17:09 +0000)]
Merge "BUG-1173: do not mention guava.version"

9 years agoAdd more detail to trace logging in JsonRpcEndpoint 27/14927/1
Sam Hague [Thu, 5 Feb 2015 16:31:08 +0000 (11:31 -0500)]
Add more detail to trace logging in JsonRpcEndpoint

Change-Id: I4ecf87c4c855a137d069507d251e6e0839970cc1
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Fix for Sonar bugs Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>"
Sam Hague [Thu, 5 Feb 2015 03:27:19 +0000 (03:27 +0000)]
Merge "Fix for Sonar bugs Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>"

9 years agoMerge "Rough musings towards an MD-SAL OVSDB SB"
Sam Hague [Thu, 5 Feb 2015 02:54:34 +0000 (02:54 +0000)]
Merge "Rough musings towards an MD-SAL OVSDB SB"

9 years agoBUG-1173: do not mention guava.version 35/14835/1
Robert Varga [Wed, 4 Feb 2015 15:49:13 +0000 (16:49 +0100)]
BUG-1173: do not mention guava.version

Guava dependency is declared from odlparent, no need for version here.

Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix for Sonar bugs 90/14790/2
Bindya Narayan [Tue, 3 Feb 2015 23:11:27 +0000 (15:11 -0800)]
Fix for Sonar bugs
Signed-off-by: Bindya Narayan <bindya.narayan@intel.com>
9 years agoRough musings towards an MD-SAL OVSDB SB 61/14261/20
Ed Warnicke [Mon, 19 Jan 2015 20:17:53 +0000 (13:17 -0700)]
Rough musings towards an MD-SAL OVSDB SB

This patch is incomplete, it only manages to accept
ovsdb connections and log them, but its a start.

PatchSet2: Added a simple starting model around tunneling
PatchSet3: Added additional tunnel info
PatchSet4: Added ovsdb.yang model.  Separated tunnel into tunnel.yang
PatchSet5: Renamed tunnel.yang to overlay.yang.  Added topology-type info.
PatchSet6: Added in dummy DataChangeListener for OvsdbNodes.
           Moved mapping functions into a mapping class.
           Handled tracking of OvsdbClients
PatchSet7:  Responded to comments:
            Fixed whitespace
            Fixed parent for aggregator
            Fixed features from odl-southbound- to odl-ovsdb-southbound-
PatchSet10: Added DataChangeListner to listen for new ovsdb-nodes in topology
            and connect to them.
PatchSet15: Response to Colin's comments
PatchSet18: Fixed feature dependencies.  Depends on patch
            https://git.opendaylight.org/gerrit/#/c/14791/ in controller
PatchSet19: Fixed small error in startup order

Change-Id: I13179ec4a1c338ae239f79c0812adf4bc4d6e76d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRemove plugin projects dependency on ad-sal clustering. 02/14802/1
Anil Vishnoi [Wed, 4 Feb 2015 00:51:32 +0000 (16:51 -0800)]
Remove plugin projects dependency on ad-sal clustering.
Currently plugin code is not using any feature of clustering in the existing code. Removing this unnecessary dependency

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoMerge "Fix 'Row cannot be cast to Interface' exceptions"
Sam Hague [Sun, 1 Feb 2015 16:50:57 +0000 (16:50 +0000)]
Merge "Fix 'Row cannot be cast to Interface' exceptions"

9 years agoFix 'Row cannot be cast to Interface' exceptions 66/14666/1
Cédric Ollivier [Sun, 1 Feb 2015 09:38:25 +0000 (10:38 +0100)]
Fix 'Row cannot be cast to Interface' exceptions

This patch modifies NetworkHandler and PortHandler to call
ovsdbConfigurationService.getTypedRow()

Change-Id: Ifef438257091c56db05508fcad3b8973fd93a7e5
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
9 years agoMerge "Remove deprecated comment."
Sam Hague [Sat, 31 Jan 2015 20:44:17 +0000 (20:44 +0000)]
Merge "Remove deprecated comment."

9 years agoMerge "Added unit test BridgeConfigurationManagerImpl.java"
Sam Hague [Sat, 31 Jan 2015 17:09:06 +0000 (17:09 +0000)]
Merge "Added unit test BridgeConfigurationManagerImpl.java"

9 years agoRemove deprecated comment. 61/14661/1
Sam Hague [Sat, 31 Jan 2015 16:50:14 +0000 (11:50 -0500)]
Remove deprecated comment.

Change-Id: I49b9028958c25cf44ae2b8d9129194239358011f
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdded unit test BridgeConfigurationManagerImpl.java 19/13719/3
Marcus Koontz [Tue, 9 Dec 2014 19:14:04 +0000 (11:14 -0800)]
Added unit test BridgeConfigurationManagerImpl.java

Patch Set 2: Added dependency for tests to pom.xml
Patch Set 3: Add review comments.

Change-Id: I8bc96fc2dee23e8d7f7b28cb033d6a25ca417297
Signed-off-by: Marcus Koontz <marcus.g.koontz@intel.com>
9 years agoAdded unit test LoadBalancerConfiguration.java 20/13720/3
Marcus Koontz [Tue, 9 Dec 2014 19:14:40 +0000 (11:14 -0800)]
Added unit test LoadBalancerConfiguration.java

Patch Set 2: Rebase
Patch Set 3: Add review comments.

Signed-off-by: Marcus Koontz <marcus.g.koontz@intel.com>
Change-Id: I4d743389eacd7b3d7c2f4f6174ceab90e760c75e

9 years agoBug-2658 - Remove adsal and migrate to mdsal 57/14657/1
Sam Hague [Sat, 31 Jan 2015 03:24:29 +0000 (22:24 -0500)]
Bug-2658 - Remove adsal and migrate to mdsal

Clean up pom file dependencies.

Change-Id: I3b715ad3353fa269f2b9880a30ab8f1fe4720d1f
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBUg-2658: Remove adsal and migrate to mdsal 50/14650/2
Sam Hague [Fri, 30 Jan 2015 21:48:50 +0000 (16:48 -0500)]
BUg-2658: Remove adsal and migrate to mdsal

Remove networkconfiguration.

Change-Id: I571a39a7b933ef59634e10e8ebf8d052c1c31b45
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBUG-2658: Remove adsal and migrate to mdsal 46/14646/2
Sam Hague [Fri, 30 Jan 2015 19:59:32 +0000 (14:59 -0500)]
BUG-2658: Remove adsal and migrate to mdsal

The patch removes the deprecated BridgeDomain api.

Change-Id: I6e731183cb1c97e2c0e62ac90759d96a97bbb087
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBUG-2658: Remove adsal and migrate to mdsal 34/14634/2
Sam Hague [Fri, 30 Jan 2015 15:24:29 +0000 (10:24 -0500)]
BUG-2658: Remove adsal and migrate to mdsal

This patch removes the deprecated connection and configuration services.

Change-Id: I7fb47f6bff838a591fa9405d50a3753815e4b246
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBUG-2658: Remove adsal and migrate to mdsal 17/14617/5
Sam Hague [Thu, 29 Jan 2015 23:36:18 +0000 (18:36 -0500)]
BUG-2658: Remove adsal and migrate to mdsal

This commit covers removing adsal-compatibility.

patchset 2: Remove adsal-compatibility from ovs-sfc features
patchset 3: Really remove the adsal-compatibility from ovs-sfc features.
patchset 4: Apparently not
patchset 5: Trying again

Change-Id: I7f011820488a1fa4a1e29967cf251640562e0b89
Signed-off-by: Sam Hague <shague@redhat.com>