ovsdb.git
9 years agoMerge "Cleanup features.xml files" into topic/netvirtsb
Sam Hague [Fri, 15 May 2015 01:20:59 +0000 (01:20 +0000)]
Merge "Cleanup features.xml files" into topic/netvirtsb

9 years agoCleanup features.xml files 59/20459/1
Sam Hague [Fri, 15 May 2015 01:19:05 +0000 (21:19 -0400)]
Cleanup features.xml files

Change-Id: I9d63cea9b341979f95b632c2a19193ddf8af8f1b
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMake NeutronL3Adapter node filter out non br-int bridges 38/20438/3
Flavio Fernandes [Thu, 14 May 2015 21:19:06 +0000 (17:19 -0400)]
Make NeutronL3Adapter node filter out non br-int bridges

Patch 2: use MdsalUtils.getBridge()
Patch 3: remove unused import

Change-Id: I4daf0d086e156d7540b7dd3b829a9fbf8783cd1f
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoDo-Not-Merge-It-Yet : Removed dependency over netvirt.api#OvsdbConnectionService 22/20422/2
Anil Vishnoi [Thu, 14 May 2015 18:23:33 +0000 (23:53 +0530)]
Do-Not-Merge-It-Yet : Removed dependency over netvirt.api#OvsdbConnectionService
Instead using NodeCacheManager service
This patch builds fine.

Todo: Testing network delete with this patch

Change-Id: Ia1c848d4f2effaedd29929fd8a034d89c6aed0a9
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRevert "custom logging--do not merge" 31/20431/2
Anil Vishnoi [Thu, 14 May 2015 19:51:32 +0000 (19:51 +0000)]
Revert "custom logging--do not merge"

This reverts commit 3fd5fa34e138be2e6fa773a57b8384353946397c.

Change-Id: I88352e97f1f87d0c81e5b3f8ea54e8d250819d9d
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFix flow cleanup when on port delete 11/20411/4
Anil Vishnoi [Thu, 14 May 2015 12:06:07 +0000 (17:36 +0530)]
Fix flow cleanup when on port delete

Change-Id: Ie1308fce961d6eac9948630d285c96a679e3ce29
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agocustom logging--do not merge 10/20410/2
Anil Vishnoi [Thu, 14 May 2015 12:04:50 +0000 (17:34 +0530)]
custom logging--do not merge

Change-Id: I8ebe65c26888e796a984296756c1ab1448055d49
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoAdd netvirt integration tests 27/20427/1
Sam Hague [Thu, 14 May 2015 19:23:29 +0000 (15:23 -0400)]
Add netvirt integration tests

Change-Id: I3fb27e0bbfb41251859a8eda3ee90aff1cb27645
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdd some debugging for vlan case 87/20387/1
Sam Hague [Thu, 14 May 2015 14:25:24 +0000 (10:25 -0400)]
Add some debugging for vlan case

Change-Id: Ib84d1f73da44364a9648209eef45ccef6c3173ec
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge branch 'master' into topic/netvirtsbmerge 62/20362/1
Sam Hague [Thu, 14 May 2015 11:50:37 +0000 (07:50 -0400)]
Merge branch 'master' into topic/netvirtsbmerge

Conflicts:
southbound/southbound-it/src/test/java/org/opendaylight/ovsdb/southbound/it/SouthboundIT.java

Change-Id: I2f883829e029c074fc564f589805a924b3b514e0
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Refactor OpenVSwitchUpdateCommand to improve readability."
Sam Hague [Thu, 14 May 2015 11:24:36 +0000 (11:24 +0000)]
Merge "Refactor OpenVSwitchUpdateCommand to improve readability."

9 years agoMerge "Allow terminationPoints to not need an interfaceType"
Flavio Fernandes [Thu, 14 May 2015 01:20:03 +0000 (01:20 +0000)]
Merge "Allow terminationPoints to not need an interfaceType"

9 years agoMerge "Bug 3136: Delete output port from instruction should use order instead of...
Sam Hague [Thu, 14 May 2015 01:03:22 +0000 (01:03 +0000)]
Merge "Bug 3136: Delete output port from instruction should use order instead of index"

9 years agoMerge "Bug 3147 OVSDB Bridge update external_ids"
Sam Hague [Thu, 14 May 2015 01:02:36 +0000 (01:02 +0000)]
Merge "Bug 3147 OVSDB Bridge update external_ids"

9 years agoAllow terminationPoints to not need an interfaceType 15/20315/1
Sam Hague [Thu, 14 May 2015 00:56:58 +0000 (20:56 -0400)]
Allow terminationPoints to not need an interfaceType

Change-Id: I3cb09cb16535fc5e23e3a5f976d0095a16208db2
Signed-off-by: Sam Hague <shague@redhat.com>
(cherry picked from commit 82fdc597e0aa3d66481432d91a18646ed1fde1b7)

9 years agoAllow terminationPoints to not need an interfaceType 14/20314/1
Sam Hague [Thu, 14 May 2015 00:56:58 +0000 (20:56 -0400)]
Allow terminationPoints to not need an interfaceType

Change-Id: I3cb09cb16535fc5e23e3a5f976d0095a16208db2
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agovlan fixes 13/20313/1
Sam Hague [Thu, 14 May 2015 00:56:27 +0000 (20:56 -0400)]
vlan fixes

Change-Id: I76a0e55f0801d1ad02ba0fc3e155153b5aadd730
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFixed illegalStateException while creating tunnel termination point 04/20304/1
Anil Vishnoi [Wed, 13 May 2015 22:50:46 +0000 (04:20 +0530)]
Fixed illegalStateException while creating tunnel termination point

Change-Id: I5877034bf70a2e1c80bd18600b12f7dd9807a863
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRefactor OpenVSwitchUpdateCommand to improve readability. 01/20301/1
Ed Warnicke [Wed, 13 May 2015 22:20:43 +0000 (15:20 -0700)]
Refactor OpenVSwitchUpdateCommand to improve readability.

Note:  This is *only* extracting methods so we can keep track
of what we are doing.

Change-Id: Ia09180f131c77a6ba9b00fb73009f0c7c3fe3d5b
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agoFixed tunnel port configuration 87/20287/2
Anil Vishnoi [Wed, 13 May 2015 19:21:46 +0000 (00:51 +0530)]
Fixed tunnel port configuration

Change-Id: I1119289749aa2b025afb90f47d37ccf67e1d416c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoBug 3147 OVSDB Bridge update external_ids 47/19947/11
Ryan Goulding [Thu, 7 May 2015 11:48:45 +0000 (07:48 -0400)]
Bug 3147 OVSDB Bridge update external_ids

Fix to properly propagate external_ids and other updates to OVS.  SouthboundIT
tests are added to test this functionality for bridge external_ids.

Change-Id: I7aded71307f87c0d19165367b8336b3cb1f64f14
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoFix ofPort and ovsdbNode to bridgeNode issues 69/20269/1
Sam Hague [Wed, 13 May 2015 16:04:04 +0000 (12:04 -0400)]
Fix ofPort and ovsdbNode to bridgeNode issues

Change-Id: I855b3b509bd15ddec6865c347e7eaef28e089054
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFix getOtherCOnfig from ovsdbNode 62/20262/1
Anil Vishnoi [Wed, 13 May 2015 14:05:40 +0000 (19:35 +0530)]
Fix getOtherCOnfig from ovsdbNode

Change-Id: I50aeb3077038d2c08c4aed45638c994953cf9a1b
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFixes bridge name comparison in isNodeTunnelReady 58/20258/1
Anil Vishnoi [Wed, 13 May 2015 13:34:53 +0000 (19:04 +0530)]
Fixes bridge name comparison in isNodeTunnelReady

Change-Id: I6fecda39ea79a522651f2240b19fbe718c51c796
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoAdd break in loop 53/20253/1
Sam Hague [Wed, 13 May 2015 12:51:46 +0000 (08:51 -0400)]
Add break in loop

Change-Id: I08de718832b6d99c1425c7f520b01c8d9fbcc2f2
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMinor fixes 48/20248/2
Anil Vishnoi [Wed, 13 May 2015 12:36:07 +0000 (18:06 +0530)]
Minor fixes

Change-Id: I125fc9b322520dfdff2f83c29a92e0c62118b6bd
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemove internal vlan processing 45/20245/1
Sam Hague [Wed, 13 May 2015 12:32:35 +0000 (08:32 -0400)]
Remove internal vlan processing

Change-Id: I5b277a8abcf2ae675b0d5a6afb84074e3155c7f9
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBug 3136: Delete output port from instruction should use order instead of index 97/19797/4
Flavio Fernandes [Thu, 7 May 2015 11:55:08 +0000 (20:55 +0900)]
Bug 3136: Delete output port from instruction should use order instead of index

Added comments to better explain the impmlementation.

The removeOutputPortFromInstructions was implemented under the assumption that
list index and order of action are equal. This could lead to action list where
order is not rebuilt properly.

Also, if removing port is not found in action list, the implementation would
cause the removal of the flow; when in fact it should leave list as is.

Change-Id: Id42d592db52c83897fd731f3bbef0434cc83d435
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Also-By: shc411 <jung33@gmail.com>
9 years agoMerge branch 'master' into topic/netvirtsbmerge 06/20206/1
Sam Hague [Wed, 13 May 2015 01:19:04 +0000 (21:19 -0400)]
Merge branch 'master' into topic/netvirtsbmerge

Change-Id: I1b55ec30b080038499f65246ab79716c52984f87
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoChange NodeCacheManager to use Map rather than List 05/20205/2
Sam Hague [Wed, 13 May 2015 00:12:16 +0000 (20:12 -0400)]
Change NodeCacheManager to use Map rather than List

- Also a fix for external-ids to use the right key
- moved OvsdbDataChangeListener logging to trace level
- updated SouthboundIt#testNetVirt to add a port
- change getControllerTarget to use the local_ip from the connectionInfo

Change-Id: Ibc4d1794f882f7b07c75213704bd220c76c90866
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoOffload data change event processing to separate pool 94/20194/1
Anil Vishnoi [Tue, 12 May 2015 23:35:13 +0000 (05:05 +0530)]
Offload data change event processing to separate pool

Change-Id: I2a8630a2b43541a49c81e12715bdb033c2905575
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoAnil noticed there was a race condition here where we might write 88/20188/6
Ed Warnicke [Tue, 12 May 2015 22:27:11 +0000 (15:27 -0700)]
Anil noticed there was a race condition here where we might write
an ovsdb-node to the operatational store before recording the
TransactInvoker we needed for people to be able to use it to write to
ovsdb.  This fixes that by imposing the order:

1)  Record the TransactInvoke for the ovsdb-node (internally)
2)  Write the ovsdb-node to OPER
3)  Register callbacks for monitors from ovsdb

Change-Id: I55202678521065b1a8c2f018a9f229b6be263a48
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agoEnabled bridge config clean up from config data store on ovsdb node disconnect 92/20192/1
Anil Vishnoi [Tue, 12 May 2015 23:34:19 +0000 (05:04 +0530)]
Enabled bridge config clean up from config data store on ovsdb node disconnect

Change-Id: I35c5c471f2a31215da9513a7a370f8e87ec9a829
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemoved unused import - causing build failure 99/20099/1
Anil Vishnoi [Tue, 12 May 2015 10:18:42 +0000 (15:48 +0530)]
Removed unused import - causing build failure

Change-Id: Ia9f36d5c776564b3d1f3fcc113aff83e2214344c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFixing sonar issues. Amending earlier changes 03/20003/2
evvy [Tue, 12 May 2015 08:37:49 +0000 (14:07 +0530)]
Fixing sonar issues. Amending earlier changes

Change-Id: I5e68b6795c10ed4ff83e7da293105525e9cf4f44
Signed-off-by: evvy <dhiraviam.natarajan@gmail.com>
9 years agoMerge branch 'master' into topic/netvirtsbmerge 62/20062/1
Sam Hague [Mon, 11 May 2015 22:28:19 +0000 (18:28 -0400)]
Merge branch 'master' into topic/netvirtsbmerge

Conflicts:
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbConnectionInstance.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbConnectionManager.java

Change-Id: Ibcf01b02b36b0ae366f00ae8f4f3e4a0efcb3854
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRemove SouthboundMapper and SouthboundConstants dependencies 61/20061/1
Sam Hague [Mon, 11 May 2015 21:32:53 +0000 (17:32 -0400)]
Remove SouthboundMapper and SouthboundConstants dependencies

Change-Id: Ia061c66350df94a1df440c2baaa232253c3a3f87
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoExtra changes for SouthboundIT 60/20060/1
Sam Hague [Mon, 11 May 2015 21:32:07 +0000 (17:32 -0400)]
Extra changes for SouthboundIT

Change-Id: Ie2c8f7127e6a30cfd7f575bd5935170ff7e291cd
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFixed process{bridge,termiantion-point, connection-attributes} update 53/20053/2
Anil Vishnoi [Mon, 11 May 2015 21:06:07 +0000 (02:36 +0530)]
Fixed process{bridge,termiantion-point, connection-attributes} update
command to send the udpated Node rather then the original node.

Change-Id: I06cddf4f107d3ef4c9315e0def415f78cab3aa25
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFix race condition in initial connection. 50/20050/5
Ed Warnicke [Mon, 11 May 2015 18:56:09 +0000 (11:56 -0700)]
Fix race condition in initial connection.

We must register the OvsdbConnectionCreateCommand prior
to registerCallback or we will get race conditions.

*Before* any bridge information can be successfully written
to the operational datastore, the OvsdbNode *must* be written.
The txInvoker guarantees writes occur in the order they were
provided to *it*.

If we have:

  txInvoker.invoke(new OvsdbNodeCreateCommand(key, null,null));
  registerCallBack();

We can guarantee that, and thus guarantee we will not have race conditions.

However, if we reverse that:

  registerCallBack();
  txInvoker.invoke(new OvsdbNodeCreateCommand(key, null,null));

We are guarenteed to have race conditions, as the results of the original
monitor dump get written to the datastore before the OvsdbNode gets written.

Please note: ovsdb is actively broken out of the box due to this race
conditions, so this must be corrected ASAP.

Change-Id: Id71221f7665ece5ec4b2eb9a0b39465618bada01
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agoAdd break and null condition to MdsalUtils#getExternalId 52/20052/1
Alexis de Talhouët [Mon, 11 May 2015 19:55:30 +0000 (15:55 -0400)]
Add break and null condition to MdsalUtils#getExternalId

Change-Id: If552086747c6e4e16a4195094b7ce48e59a1a638
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
9 years agoAdding break in processOvsdbNodeEvent 47/20047/1
Anil Vishnoi [Mon, 11 May 2015 18:22:01 +0000 (23:52 +0530)]
Adding break in processOvsdbNodeEvent

Change-Id: I254fc4186f0124f1283a82d8103c8e5484a3edf0
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoUse new bridge dataChangeListener events 44/20044/1
Sam Hague [Mon, 11 May 2015 16:09:58 +0000 (12:09 -0400)]
Use new bridge dataChangeListener events

Change-Id: I8af330766243f177d708a9be06c25900f1c50346
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFixed instanceof comparison for processOvsdbConnectionAttributeUpdates 37/20037/1
Anil Vishnoi [Mon, 11 May 2015 16:17:24 +0000 (21:47 +0530)]
Fixed instanceof comparison for processOvsdbConnectionAttributeUpdates

Change-Id: I411e95ec17255af89987734205700d334ec21e89
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFixed instanceof comparison for iid 34/20034/2
Anil Vishnoi [Mon, 11 May 2015 15:58:48 +0000 (21:28 +0530)]
Fixed instanceof comparison for iid

Change-Id: I62c9ece787800302c92657877ed51db99cfc2c84
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemove duplication call for OvsdbNode augmentation 08/20008/2
Anil Vishnoi [Mon, 11 May 2015 11:23:44 +0000 (16:53 +0530)]
Remove duplication call for OvsdbNode augmentation

Change-Id: I405e09ced0747369085ffb0c81f010e10e73a0d9
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoClient should be added to cache before we push the 55/19955/2
Anil Vishnoi [Fri, 8 May 2015 21:56:55 +0000 (03:26 +0530)]
Client should be added to cache before we push the
info(OvsdbNodeAugmentation) to operational data store.
With the existing implementation we were putting task
in invoker queue to dump the data to operational data
store and then registtering for the connection callback.
After that it's adding client to cache. So if invoker
writes the data to operational data store before
it adds client to cache, any code listening to
OvsdbNodeAugmentaiton, might not be able to do any
operation if that key is not there in connection
manager cache. It works if invoker loose the race
of putting data to operational data store, it fails if
it succeed.

Change-Id: Ic73c5b7bbe0f94b04bf932b67b872099f2c27b5c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
(cherry picked from commit 77af48ad9d278b2a7e6d54442bd23bff313e08ee)

9 years agoClient should be added to cache before we push the 56/19956/1
Anil Vishnoi [Fri, 8 May 2015 21:56:55 +0000 (03:26 +0530)]
Client should be added to cache before we push the
info(OvsdbNodeAugmentation) to operational data store.
With the existing implementation we were putting task
in invoker queue to dump the data to operational data
store and then registtering for the connection callback.
After that it's adding client to cache. So if invoker
writes the data to operational data store before
it adds client to cache, any code listening to
OvsdbNodeAugmentaiton, might not be able to do any
operation if that key is not there in connection
manager cache. It works if invoker loose the race
of putting data to operational data store, it fails if
it succeed.

Change-Id: Ic73c5b7bbe0f94b04bf932b67b872099f2c27b5c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoAdd NeutronL3Adapter back now that neutron wires correctly 51/19951/1
Sam Hague [Fri, 8 May 2015 20:32:26 +0000 (16:32 -0400)]
Add NeutronL3Adapter back now that neutron wires correctly

Change-Id: Ia9cd61d11454b34f01ea7fe7675030bee8759ef4
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge branch 'master' into topic/netvirtsb_merge 50/19950/1
Sam Hague [Fri, 8 May 2015 20:28:28 +0000 (16:28 -0400)]
Merge branch 'master' into topic/netvirtsb_merge

Conflicts:
southbound/southbound-it/src/test/java/org/opendaylight/ovsdb/southbound/it/SouthboundIT.java

Change-Id: Ieb1fe28a53b303e576cb060ff751cf02e1762ff0
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "MdsalUtils#getOtherConfig() & MdsalUtils#getExternalIds()." into topic/netvirtsb
Sam Hague [Fri, 8 May 2015 17:26:12 +0000 (17:26 +0000)]
Merge "MdsalUtils#getOtherConfig() & MdsalUtils#getExternalIds()." into topic/netvirtsb

9 years agoMerge "Fixed few things: ** Added support for deleting bridge from config data store...
Sam Hague [Fri, 8 May 2015 17:24:47 +0000 (17:24 +0000)]
Merge "Fixed few things: ** Added support for deleting bridge from config data store to keep configuration sane *.* Fixed bridge creation (it was not creating integration bridge when second compute node connects" into topic/netvirtsb

9 years agoMerge "Fixing log level : Too much log making debugging hard" into topic/netvirtsb
Sam Hague [Fri, 8 May 2015 17:23:50 +0000 (17:23 +0000)]
Merge "Fixing log level : Too much log making debugging hard" into topic/netvirtsb

9 years agoMerge "Implemented getAllBridgedOnOvsNode" into topic/netvirtsb
Sam Hague [Fri, 8 May 2015 17:23:24 +0000 (17:23 +0000)]
Merge "Implemented getAllBridgedOnOvsNode" into topic/netvirtsb

9 years agoMdsalUtils#getOtherConfig() & MdsalUtils#getExternalIds(). 04/19904/7
Alexis de Talhouët [Fri, 8 May 2015 15:15:27 +0000 (11:15 -0400)]
MdsalUtils#getOtherConfig() & MdsalUtils#getExternalIds().

Patch Set 1: useless formatting
Patch Set 2: remove trailing space
Patch Set 3&4: MdsalUtils#getOtherConfig()
Patch Set 5: remove trailing space
Patch Set 6: MdsalUtils#getExternalIds()

Change-Id: Ie5db49990f413f12052cdb44f82a0b4a0b3ea51b
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
9 years agoFixed few things: 00/19900/2
Anil Vishnoi [Fri, 8 May 2015 13:03:15 +0000 (18:33 +0530)]
Fixed few things:
** Added support for deleting bridge from config data store
to keep configuration sane
*.* Fixed bridge creation (it was not creating integration bridge
when second compute node connects

Change-Id: I4233886f875b188f7d5d7e68fe8e0076b4365d82
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFixing log level : Too much log making debugging hard 96/19896/1
Anil Vishnoi [Fri, 8 May 2015 12:11:42 +0000 (17:41 +0530)]
Fixing log level : Too much log making debugging hard

Change-Id: Ic62bd38b888ca98befb3cff623c12a1f28544300
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoImplemented getAllBridgedOnOvsNode 67/19867/2
Sharad Mishra [Thu, 7 May 2015 14:26:34 +0000 (07:26 -0700)]
Implemented getAllBridgedOnOvsNode

Change-Id: I00fc9b1c4b8e90752eb7cd0ed1eaa31d78c3bc59
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoImplemented addPatchTerminationPoint() 70/19870/3
Sharad Mishra [Thu, 7 May 2015 15:05:40 +0000 (08:05 -0700)]
Implemented addPatchTerminationPoint()

Change-Id: I709b608f2dc6776de2159677dbcb99737f1ca5e2
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoMdsalUtils : Delete termination point from bridge 56/19856/2
Anil Vishnoi [Thu, 7 May 2015 21:29:26 +0000 (02:59 +0530)]
MdsalUtils : Delete termination point from bridge

Change-Id: If5af04f6baffbb65959d4859c56a43a6c1c2a276
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoReenable neutron I*Aware services 55/19855/1
Sam Hague [Thu, 7 May 2015 21:11:43 +0000 (17:11 -0400)]
Reenable neutron I*Aware services

Change-Id: I322a25efbff708327204c6264423f6848f4fb56f
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Remove mdsal-node utils" into topic/netvirtsb
Sam Hague [Thu, 7 May 2015 20:57:46 +0000 (20:57 +0000)]
Merge "Remove mdsal-node utils" into topic/netvirtsb

9 years agoMdsalUtils : Implemented create tunnel termination point on bridge node 54/19854/1
Anil Vishnoi [Thu, 7 May 2015 20:51:56 +0000 (02:21 +0530)]
MdsalUtils : Implemented create tunnel termination point on bridge node

Change-Id: I639a73d30f4a69d0596a8fa889c5e9d7ab4acd52
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoMdsalUtils : Add internal termination point on ovsdb bridge 52/19852/1
Anil Vishnoi [Thu, 7 May 2015 20:21:35 +0000 (01:51 +0530)]
MdsalUtils : Add internal termination point on ovsdb bridge

Change-Id: I0cb0ef73d4fcf6740dd0d45539eb24ada08a5cd0
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemove mdsal-node utils 34/19834/1
Sam Hague [Thu, 7 May 2015 18:38:28 +0000 (14:38 -0400)]
Remove mdsal-node utils

Change-Id: I234a6cc985846ebe0dc1f66debba8ea38f72e9a4
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRefactor MdSalUtils class to 23/19823/3
Anil Vishnoi [Thu, 7 May 2015 16:24:11 +0000 (21:54 +0530)]
Refactor MdSalUtils class to

*.* Clean up the duplication methods
*.* Refactor methods to avoid confusion whether it's reading from data store
or extracting from provided method
*.* Arranged code for better readability

Change-Id: Ib1a35ce76549c437f30b5eff7bb62959a21b676e
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemove lib and schema from netvirt 30/19830/2
Sam Hague [Thu, 7 May 2015 17:44:40 +0000 (13:44 -0400)]
Remove lib and schema from netvirt

Change-Id: I687fca4b90b7d5a78cb7879e3cf21f50c61a7129
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMdSalUtils : Implemented getPorts from {node, operational data store} 20/19820/1
Anil Vishnoi [Thu, 7 May 2015 15:28:24 +0000 (20:58 +0530)]
MdSalUtils : Implemented getPorts from {node, operational data store}

Change-Id: I2fd2f552960c99012d743c2863690568ea0f49c1
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoSouthboundIT tests for Bridge external_ids and other_config 95/19795/1
Ryan Goulding [Thu, 7 May 2015 11:48:45 +0000 (07:48 -0400)]
SouthboundIT tests for Bridge external_ids and other_config

Tests create, read and delete functionality for bridge external_ids and
other_config.  Future changesets will utilize work here to test update
of bridges.

Change-Id: Icd45d19c58e4838415cccb06a3d4f08b117d678f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoFixed OvsdbDataChangeListner bridge update processing 89/19789/1
Anil Vishnoi [Thu, 7 May 2015 10:50:54 +0000 (16:20 +0530)]
Fixed OvsdbDataChangeListner bridge update processing

Change-Id: Ie3414edce90795ce72823bbd8e93b0b4ce605c03
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoMerge "Southbound-IT: add test to verify dpdk enabled switch."
Sam Hague [Thu, 7 May 2015 00:29:22 +0000 (00:29 +0000)]
Merge "Southbound-IT: add test to verify dpdk enabled switch."

9 years agoImplemented processing of Bridge Update 62/19762/1
Sharad Mishra [Wed, 6 May 2015 18:17:53 +0000 (11:17 -0700)]
Implemented processing of Bridge Update

Change-Id: I5d3c212950a37df81fc717b77f0b36fb826a969a
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoKeep netvirt pom exporting packages 61/19761/1
Sam Hague [Thu, 7 May 2015 01:18:39 +0000 (21:18 -0400)]
Keep netvirt pom exporting packages

Change-Id: Ie54bf4a0d7a09bacbceecf9b48d5276b22c582ac
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge branch 'master' into topic/netvirtsb_merge 60/19760/1
Sam Hague [Thu, 7 May 2015 00:55:25 +0000 (20:55 -0400)]
Merge branch 'master' into topic/netvirtsb_merge

Conflicts:
openstack/net-virt/pom.xml
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NetworkingProviderManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/TenantNetworkManager.java

Change-Id: I26a8d6fba1f59504bd16da60168a420118d6c558
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoQuick and Dirty fix for bridge controller ip address 54/19754/1
Anil Vishnoi [Wed, 6 May 2015 23:00:24 +0000 (04:30 +0530)]
Quick and Dirty fix for bridge controller ip address
Rather the using the hardcoded value, using the  local host ip address.
This is dirty fix, we should remove it once we get the valid fix using
the connectionInfo local ip address. I think local ip address issues is now
fixed for conncetion-info, so we can probably use that. We need to merge the
 master to netvirtsb branch, that will bring that fix.
With this fix, netvirt create br-int and install all the pipeline flow
successfully.

Change-Id: If9d4e1289e0bb8c2a2888801f3c219f01f9a962d
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoOvsdbDataChangeListner : Implemented processing of openvswitch (ovsdb connection... 48/19748/1
Anil Vishnoi [Wed, 6 May 2015 20:12:56 +0000 (01:42 +0530)]
OvsdbDataChangeListner : Implemented processing of openvswitch (ovsdb connection) updates

Change-Id: Iea1b2a4ec804afce8801ec916a08b4bc5bbe3632
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoWorkaround for INeutron bundles not letting services start 39/19739/2
Sam Hague [Wed, 6 May 2015 18:52:08 +0000 (14:52 -0400)]
Workaround for INeutron bundles not letting services start

Change-Id: I204c3a39f0843180915a02dcbd3287c61aa1eafc
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoOvsdbDataChangeListner : Implemented processing of port/interface update 38/19738/1
Anil Vishnoi [Wed, 6 May 2015 18:28:42 +0000 (23:58 +0530)]
OvsdbDataChangeListner : Implemented processing of port/interface update

Change-Id: Ic61f5f2c0b426b988882f9bef7553143e9c537e7
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoOvsdbDataChangeListner : Implemented processing of bridge deletion 30/19730/1
Anil Vishnoi [Wed, 6 May 2015 17:01:26 +0000 (22:31 +0530)]
OvsdbDataChangeListner : Implemented processing of bridge deletion

Change-Id: If94b5fcd6e2af2c564637d7740f48f18733686fd
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoOvsdbDataChangeListener : Implemented processing of new bridge creation 28/19728/1
Anil Vishnoi [Wed, 6 May 2015 16:21:49 +0000 (21:51 +0530)]
OvsdbDataChangeListener : Implemented processing of new bridge creation

Change-Id: I8053f7be5b89c8a4d409ba245e509fac68d783b3
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoFix SouthboundIT by disconnecting after each test 27/19727/1
Ryan Goulding [Wed, 6 May 2015 16:01:51 +0000 (12:01 -0400)]
Fix SouthboundIT by disconnecting after each test

SouthboundIT requires disconnection from OVSDB after each test.

Change-Id: Ifb916f103e94d53049f684a64b87c0ed1fc2efd6
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoOvsdbDataChangeListener : Implemented ovsdb node disconnection processing 15/19715/1
Anil Vishnoi [Wed, 6 May 2015 13:37:49 +0000 (19:07 +0530)]
OvsdbDataChangeListener : Implemented ovsdb node disconnection processing

Change-Id: I7edcfb0e8dd6528d6a1aaf870f71b38eca542b8c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoOvsdbDataChangeListener : Implemented port (termination point) delete event processing 11/19711/2
Anil Vishnoi [Wed, 6 May 2015 13:12:03 +0000 (18:42 +0530)]
OvsdbDataChangeListener : Implemented port (termination point) delete event processing

Change-Id: I6cd3ef89927aaae829815b2a9c625b6f89907162
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoSouthbound-IT: add test to verify dpdk enabled switch. 35/19635/7
Ryan Goulding [Tue, 5 May 2015 15:22:57 +0000 (11:22 -0400)]
Southbound-IT: add test to verify dpdk enabled switch.

This test will

1. Check if it is a DPDK node.
2. Test exits if its not a DPDK node. If DPDK node then,
3. Create a netdev bridge.
4. Verifies that a netdev bridge was created.
5. Creates a dpdk port.
6. Verifies that a dpdk port was added.
7. deletes bridge and disconnects node.
8. Test fails if any of the 3-7 step fails.

Change-Id: I58e10ba18ed82193782b981ed35b22ee0e14fd62
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoovsdbDataChangeListener : Implemented Termination point creation processing 06/19706/2
Anil Vishnoi [Wed, 6 May 2015 12:16:15 +0000 (17:46 +0530)]
ovsdbDataChangeListener : Implemented Termination point creation processing
Patch 2: rebased patch

Change-Id: I03c440609b838177f990a471ed609467d7e581be
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoRemove OvsdbConfigurationService 98/19698/1
Sam Hague [Wed, 6 May 2015 11:12:49 +0000 (07:12 -0400)]
Remove OvsdbConfigurationService

Change-Id: Ie33affff9de47120bc0d5d134edcdbcf96a2c5ee
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoFix javadoc JDK8 compatibility 83/19683/2
Robert Varga [Tue, 5 May 2015 14:58:01 +0000 (16:58 +0200)]
Fix javadoc JDK8 compatibility

JDK8 is more picky about javadoc correctness -- fix it up so we can pass
compilation.

Change-Id: Iae446e890afe91c6ca0b670c2ea53f18793b5e99
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoSort reported nodes 82/19682/2
Robert Varga [Tue, 5 May 2015 14:57:26 +0000 (16:57 +0200)]
Sort reported nodes

The order of the nodes is asserted by the unit tests -- make sure this
is predictable across JDK versions.

Change-Id: I804024fe66530aa380dbd48907268fc12a4d3085
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove explicit export-package 88/19688/1
Robert Varga [Wed, 6 May 2015 09:05:40 +0000 (11:05 +0200)]
Remove explicit export-package

net-virt-providers/OF13Provider requires the
org.opendaylight.ovsdb.openstack.netvirt package to be visible. Instead
of hard-coding the exported packages, allow the bundle plugin to decide
what to export.

Change-Id: Iac66eeaf70854712b9dc5917c748d519178968e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "User provided bridge external-ids not making to operational/OVSDB."
Flavio Fernandes [Wed, 6 May 2015 00:37:58 +0000 (00:37 +0000)]
Merge "User provided bridge external-ids not making to operational/OVSDB."

9 years agoAdd missing handleInterfaceDelete for tunnel case 19/19619/1
Sam Hague [Tue, 5 May 2015 12:51:25 +0000 (08:51 -0400)]
Add missing handleInterfaceDelete for tunnel case

Change-Id: I9259fc0d377724c2e7c9959a547b255f37439960
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoSouthboundHandler@processOpenVSwitchUpdate 18/19618/1
Sam Hague [Tue, 5 May 2015 12:47:56 +0000 (08:47 -0400)]
SouthboundHandler@processOpenVSwitchUpdate

Change-Id: I23c622889236310850c6b0dd5d944479a21b7574
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRemove old interface delete row processing 17/19617/1
Sam Hague [Tue, 5 May 2015 12:38:07 +0000 (08:38 -0400)]
Remove old interface delete row processing

Change-Id: I2dccab918622e4c4877c4106813bdf78010f0014
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoupdate NetvirtIT to include remove of flowCapableNode processing 16/19616/1
Sam Hague [Tue, 5 May 2015 12:26:22 +0000 (08:26 -0400)]
update NetvirtIT to include remove of flowCapableNode processing

Change-Id: Idbcb4117af744d57a014866d0d10325a13e9d91b
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoSouthboundHandler#triggerUpdates 15/19615/1
Sam Hague [Tue, 5 May 2015 12:24:03 +0000 (08:24 -0400)]
SouthboundHandler#triggerUpdates

Change-Id: Ia2455649badbec3814ad384be743fadfd8fb071d
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoRemove FlowCapableNodeDataChangeListener 09/19609/1
Sam Hague [Tue, 5 May 2015 12:07:03 +0000 (08:07 -0400)]
Remove FlowCapableNodeDataChangeListener

Change-Id: I737cef9874c5ac15a2805d2e4b08aba5b371c1d6
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdd SouthboundHandler#processBridgeUpdate 06/19606/1
Sam Hague [Tue, 5 May 2015 11:59:11 +0000 (07:59 -0400)]
Add SouthboundHandler#processBridgeUpdate

Change-Id: I1a9161fa03f9cd8778973879e40aac6bf3283a70
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoUser provided bridge external-ids not making to operational/OVSDB. 36/19636/2
Sharad Mishra [Tue, 5 May 2015 07:20:50 +0000 (00:20 -0700)]
User provided bridge external-ids not making to operational/OVSDB.

When setting up a new bridge with user provided external-ids to
config datastore, these external-ids get dropped and only the iid
shows up as bridge external-id in ovsdb/oper datastore. This patch
fixes that issue.

Change-Id: I04676e166cab96323aff0ce5747a950c111da99c
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
9 years agoFixing issue with interface update. 67/19567/1
Amit Mandke [Tue, 5 May 2015 01:15:33 +0000 (18:15 -0700)]
Fixing issue with interface update.
Currently by mistake it updates the port uuid (in operation tp) using interface uuid.

Change-Id: Ia4f3dfdb676c377dab83dda11148222640e6bf78
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoMerge "Fix for bridge other config in mdsal."
Sam Hague [Tue, 5 May 2015 00:57:27 +0000 (00:57 +0000)]
Merge "Fix for bridge other config in mdsal."