openflowplugin.git
9 years agoAutomatic installation of rest in karaf openflowplugin distribution 80/16680/1
Jozef Gloncak [Tue, 17 Mar 2015 09:57:38 +0000 (10:57 +0100)]
installation of rest in karaf openflowplugin distribution

Change-Id: I2bceb097ecd7d83977fc2ad3572bef8c2b5b0858
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBug-2827: role switch proposal 95/16495/1
Martin Bobak [Mon, 1 Dec 2014 13:36:16 +0000 (14:36 +0100)]
Bug-2827: role switch proposal

- stub for entry point where propagation of role change should start
- logic for pushing role to device with failover
- added tests
- role change logic wired to openflowpluginprovider
  (change can by invoked via configsubsystem)
- added max retry limit
- comments worked in
- rebased
- comments worked in (whitespace, 1 method rename)
- worked-in configSubsystem change

Change-Id: I942d4b0e297543324c5fa0495f078834bee44899
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFix of port-number model 81/16481/1
Michal Rehak [Fri, 13 Mar 2015 13:33:55 +0000 (14:33 +0100)]
Fix of port-number model

 - reason: default union builder changed name (caused by generators change)
   (avoiding anonymous inner type is safer way)
 - fix:
   - promoted port-number inner type to typedef
   - renamed type in order to avoid name collisions (with leaf name and inet type)

Change-Id: I30b0532b5c74d52aa74b334e5f6d017cc116915f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2315: Remove dependency to OFJava-impl 89/12689/4
Michal Rehak [Fri, 31 Oct 2014 13:37:21 +0000 (14:37 +0100)]
BUG-2315: Remove dependency to OFJava-impl

- removed ofjava-impl deps (except distributions)

Change-Id: I75d4ef4e64b134322b9e7dae8d9b79ca4bba5c7f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoRevert "Bug-2827: role switch proposal" 17/16417/1
Ed Warnicke [Thu, 12 Mar 2015 21:37:24 +0000 (21:37 +0000)]
Revert "Bug-2827: role switch proposal"

This seems to be causing an NPE:
https://bugs.opendaylight.org/show_bug.cgi?id=2827#c2

Reverting to unblock downstream.

This reverts commit 9dd9664db32bd7fa972bd414fb4e02ec83ad8e83.
This reverts gerrithttps://git.opendaylight.org/gerrit/#/c/12644/

Change-Id: Iad8f2d5c840b203a04fa67d2be999bc74fc13d18
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug-2827: role switch proposal 44/12644/15
Martin Bobak [Mon, 1 Dec 2014 13:36:16 +0000 (14:36 +0100)]
Bug-2827: role switch proposal

- stub for entry point where propagation of role change should start
- logic for pushing role to device with failover
- added tests
- role change logic wired to openflowpluginprovider
  (change can by invoked via configsubsystem)
- added max retry limit
- comments worked in
- rebased
- comments worked in (whitespace, 1 method rename)

Change-Id: I6f43401821310c22a1b8b42c280e67f01ec9ed8f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agosquashed test fix 88/16388/2
Martin Bobak [Thu, 12 Mar 2015 13:06:39 +0000 (14:06 +0100)]
squashed test fix

 - remove import of non existing ForwardedBackwardsCompatibleDataBroker
 - fixed broken integration tests

Change-Id: Ia896dc5391624f4571f043abaf372536393e8751
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "BUG-2382: OutputActionBuilder.setOutputNodeConnector"
michal rehak [Mon, 9 Mar 2015 09:30:24 +0000 (09:30 +0000)]
Merge "BUG-2382: OutputActionBuilder.setOutputNodeConnector"

9 years agoMerge "BUG 2757 - %s in logger."
michal rehak [Mon, 9 Mar 2015 08:49:39 +0000 (08:49 +0000)]
Merge "BUG 2757 - %s in logger."

9 years agoMerge "BUG 2750 - remove of migrated class"
michal rehak [Mon, 9 Mar 2015 08:44:25 +0000 (08:44 +0000)]
Merge "BUG 2750 - remove of migrated class"

9 years agoMerge "BUG-2661: Sonar issues for ofp-extension-api"
michal rehak [Mon, 9 Mar 2015 08:40:23 +0000 (08:40 +0000)]
Merge "BUG-2661: Sonar issues for ofp-extension-api"

9 years agoBUG 2757 - %s in logger. 61/16061/4
Jozef Gloncak [Thu, 5 Mar 2015 07:04:49 +0000 (08:04 +0100)]
BUG 2757 - %s in logger.

%s was added to logger by mistake.

Change-Id: Iff37fcbba2508a8f15635d6cea4bc116da457a85
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2750 - remove of migrated class 17/15817/5
Jozef Gloncak [Fri, 27 Feb 2015 09:34:55 +0000 (10:34 +0100)]
BUG 2750 - remove of migrated class

REMARK:
can be merged after patch https://git.opendaylight.org/gerrit/#/c/15660/ (movement of functionality) will be merged.

Change-Id: Ibce31fe57ec53ffa566dcbad81706060c7c4a3a0
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoRemoval of obsolete distributions 42/16142/1
Michal Rehak [Fri, 6 Mar 2015 15:24:51 +0000 (16:24 +0100)]
Removal of obsolete distributions

 - distribution/base and distribution/cbench were based
   on controller's distribution/opendaylight which is already
   history.

Change-Id: Ia0df26094961d9b9f37268b56fea25ccbdac417e
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2382: OutputActionBuilder.setOutputNodeConnector 24/15824/2
Timotej Kubas [Fri, 27 Feb 2015 12:57:10 +0000 (13:57 +0100)]
BUG-2382: OutputActionBuilder.setOutputNodeConnector

 - use of OutputActionBuilder.setOutputNodeConnector in openflowplugin changed
   to proper form

Change-Id: I930aba68293a7498d0b2be61bf9a2c155637427a
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoBUG 2757 - repeating logging of warning. 86/16086/3
Jozef Gloncak [Thu, 5 Mar 2015 12:55:18 +0000 (13:55 +0100)]
BUG 2757 - repeating logging of warning.

Fixes repeating logging of warnings - "flow hashing hit a duplicate for"

Change-Id: I810def7f5c181ac962a18ec1544d2c6b2257ed35
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "BUG 2661 - sonar issues in openflowplugin artifact - anonymous class2."
michal rehak [Thu, 5 Mar 2015 13:53:50 +0000 (13:53 +0000)]
Merge "BUG 2661 - sonar issues in openflowplugin artifact - anonymous class2."

9 years agoMerge "BUG 2661 - sonar issues in openflowplugin artifact - anonymous class."
michal rehak [Thu, 5 Mar 2015 13:53:45 +0000 (13:53 +0000)]
Merge "BUG 2661 - sonar issues in openflowplugin artifact - anonymous class."

9 years agoBUG 2661 - sonar issues in openflowplugin artifact - anonymous class2. 74/16074/1
Jozef Gloncak [Thu, 5 Mar 2015 13:23:47 +0000 (14:23 +0100)]
BUG 2661 - sonar issues in openflowplugin artifact - anonymous class2.

Annonymous class was replaced with named inner class.

REMARK: it is possible that this commit will be reverted.

Change-Id: I57dc5f5e67497168b55e8b9da2d6eb49450303b8
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2661 - sonar issues in openflowplugin artifact - anonymous class. 73/16073/1
Jozef Gloncak [Thu, 5 Mar 2015 13:19:31 +0000 (14:19 +0100)]
BUG 2661 - sonar issues in openflowplugin artifact - anonymous class.

Annonymous class was replaced with named inner class.

REMARK: it is possible that this commit will be reverted.

Change-Id: Ice30fbe21ae160ec6b1004644d1c1397ac0bec56
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2661 - sonar issues in openflowplugin artifact2 53/15553/8
Jozef Gloncak [Fri, 20 Feb 2015 13:20:37 +0000 (14:20 +0100)]
BUG 2661 - sonar issues in openflowplugin artifact2

Some of sonar issues in openflowplugin artifact in package org.opendaylight.openflowplugin.openflow.md.core were solved.

Change-Id: Id2731f16cd5c026245cd6c3894dc1ca90b13c787
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2661 - sonar issues in statistics-manager 29/15729/8
Jozef Gloncak [Mon, 16 Feb 2015 11:44:56 +0000 (12:44 +0100)]
BUG 2661 - sonar issues in statistics-manager

Fixing mistakes in bd6bb42d1998d417581c5ffc28812ad3d9386320.

Breake FlowComparator class to:
- MatchComparatorFactory
- MatchComparatorFactory
- SimpleComparator
- FlowComparatorHelper
- FlowComparator

Adding unit tests which cover new static methods created during breakage mentioned above.

Change-Id: I42aa8c1cc8bd88deef0d0591551508df7ad40e7a
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG-2776: Mac Address masks in FlowRemovedTranslaton fails 30/15930/2
Michal Rehak [Mon, 2 Mar 2015 17:31:19 +0000 (18:31 +0100)]
BUG-2776: Mac Address masks in FlowRemovedTranslaton fails

 - replaced local join code with guava's BaseEncoding implementation

Change-Id: Iabb0b9b3820a92b922115f82763939457a10ea30
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoUse odlparent:features-test instead of yangtools:features-test. 99/15899/1
Michal Rehak [Mon, 2 Mar 2015 12:39:38 +0000 (13:39 +0100)]
Use odlparent:features-test instead of yangtools:features-test.

 - forgotten reference in surefire plugin configuration

Change-Id: Idb6144ea7dcb2f70c184c9cce7a1d6a598de529e
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "BUG 2754 - unit test cover for FlowComparator.StrIpToIntIp()"
michal rehak [Mon, 2 Mar 2015 12:27:14 +0000 (12:27 +0000)]
Merge "BUG 2754 - unit test cover for FlowComparator.StrIpToIntIp()"

9 years agoBug 2750 - migrate drop-test to drop-test-karaf. 60/15660/5
Jozef Gloncak [Tue, 24 Feb 2015 13:00:56 +0000 (14:00 +0100)]
Bug 2750 - migrate drop-test to drop-test-karaf.

Move methods _showDropStats(....) and _clearDropStats(....) from drop-test artifact to drop-test-karaf artifact.

Change-Id: Iaaa5cab7fd6f3774784a0121c7a98bbe3dbdfaae
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2754 - unit test cover for FlowComparator.StrIpToIntIp() 08/15708/6
Jozef Gloncak [Wed, 25 Feb 2015 09:17:38 +0000 (10:17 +0100)]
BUG 2754 - unit test cover for FlowComparator.StrIpToIntIp()

Cover FlowComparator.StrIpToIntIp() method with direct unit test in statistics-manager artifact.

Change-Id: I7b603fc036cfb89c41cf7e5533d2832c368c82c9
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "Bug 2753 : interface HandshakeManager moved to openflow-api"
michal rehak [Fri, 27 Feb 2015 13:24:37 +0000 (13:24 +0000)]
Merge "Bug 2753 : interface HandshakeManager moved to openflow-api"

9 years agoBug 2753 : interface HandshakeManager moved to openflow-api 69/15769/5
Martin Bobak [Thu, 26 Feb 2015 10:06:58 +0000 (11:06 +0100)]
Bug 2753 : interface HandshakeManager moved to openflow-api

Change-Id: Ib7274bf53477435ac8b0c7b43e6fbc0be757c7b0
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBUG 2661: Sonar issues for drop-test 58/15658/2
Timotej Kubas [Mon, 23 Feb 2015 15:10:46 +0000 (16:10 +0100)]
BUG 2661: Sonar issues for drop-test

- solving some technical debts in drop-test artifact

Change-Id: I3d6e42be72b9454b2f952b801d52938ef013fa69
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoMerge "Bug 2661 - method name should start with lower case letter"
michal rehak [Fri, 27 Feb 2015 09:23:48 +0000 (09:23 +0000)]
Merge "Bug 2661 - method name should start with lower case letter"

9 years agoMerge "BUG-1563 added default mac address and mac address for non-OF infrastructure...
michal rehak [Thu, 26 Feb 2015 13:34:52 +0000 (13:34 +0000)]
Merge "BUG-1563 added default mac address and mac address for non-OF infrastructure to config"

9 years agoBUG-1563 added default mac address and mac address for non-OF infrastructure to config 42/15742/2
ary [Wed, 25 Feb 2015 13:41:35 +0000 (14:41 +0100)]
BUG-1563 added default mac address and mac address for non-OF infrastructure to config

Signed-off-by: ary <jatoth@cisco.com>
Change-Id: I7872fb2801f88ce06db6240c1000eab89a7f4efe

9 years agoUse odlparent:features-test instead of yangtools:features-test. 28/15728/2
Michal Rehak [Wed, 25 Feb 2015 14:07:48 +0000 (15:07 +0100)]
Use odlparent:features-test instead of yangtools:features-test.

Change-Id: I8c6471cd980393e0f679ad007e521164c3a0cd41
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2661: Sonar issues for ofp-extension-api 62/15662/1
Timotej Kubas [Tue, 24 Feb 2015 13:45:42 +0000 (14:45 +0100)]
BUG-2661: Sonar issues for ofp-extension-api

- some technical debts in artifact ofp-extension-api solved

Change-Id: I356bbf05b813d146d9e06afcd28cec82dd8a762b
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoBUG 2661 - sonar issues in statistics-manager 59/15359/10
Jozef Gloncak [Mon, 16 Feb 2015 11:44:56 +0000 (12:44 +0100)]
BUG 2661 - sonar issues in statistics-manager

Removed some of sonar issues from statistics-manager artifact.

Change-Id: Ia69a3f37d0be625fc9003834dc25fc8a916816a0
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBug 2661 - method name should start with lower case letter 79/14679/11
Jozef Gloncak [Mon, 2 Feb 2015 12:05:09 +0000 (13:05 +0100)]
Bug 2661 - method name should start with lower case letter

Method names started with underscore

Change-Id: I650bc9b11b280a62bad270c30c681ce3c59483e9
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "BUG 2661 - sonar issues in openflowplugin-api"
michal rehak [Tue, 24 Feb 2015 12:04:28 +0000 (12:04 +0000)]
Merge "BUG 2661 - sonar issues in openflowplugin-api"

9 years agoBUG 2661 - sonar issues in openflowplugin artifact. 88/15488/7
Jozef Gloncak [Thu, 19 Feb 2015 07:50:35 +0000 (08:50 +0100)]
BUG 2661 - sonar issues in openflowplugin artifact.

Some of sonar issues in openflowplugin artifact in package
src.main.java.org.opendaylight.openflowplugin.openflow.md.core.sal.convertor
were solved

Change-Id: Ic795acae9159a7b67945f2db6d89b7918361b0ba
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2661 - sonar issues in openflowplugin-api 10/15410/5
Jozef Gloncak [Tue, 17 Feb 2015 12:38:37 +0000 (13:38 +0100)]
BUG 2661 - sonar issues in openflowplugin-api

Some of sonar issues in openflowplugin-api artifact

Change-Id: I8f4c04b6c5e1937e48986d40dda49c2a3544a2e1
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG-837: IT fix 35/15635/1
Michal Rehak [Mon, 23 Feb 2015 21:49:32 +0000 (22:49 +0100)]
BUG-837: IT fix

 - increased wait after handshake

Change-Id: I079d9798c42b15e76b95c440b5cbccb827fd49bd
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2637: Create features for migrated apps 63/14463/10
Michal Rehak [Fri, 23 Jan 2015 19:50:01 +0000 (20:50 +0100)]
BUG-2637: Create features for migrated apps

  - created features
  - replaced old md-sal flow* models
  - this change depends on disabling of apps and models in their
    old place in md-sal
  - fixed outdated dirty dependencies of features
  - added sal-compatibility
  - rebased
  - redirected features and IT to local models

see controller: https://git.opendaylight.org/gerrit/#/c/14464/

Change-Id: I6d7d4f1461bc7200e31736462a284ff94ed3b8f6
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoRe-enable running of SingleFeaturesTest 91/15591/1
Ed Warnicke [Sat, 21 Feb 2015 16:53:09 +0000 (09:53 -0700)]
Re-enable running of SingleFeaturesTest

For reasons I have not yet figured out, depending on the
yangtools version of features-test causes features tests
to no longer run.  This patch changes controller
to depending on the features-tests from odlparent

Change-Id: I70d6a8ea24d9b0546d9f9e94b65a0008f8a05708
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Remove repository and pluginRepository sections"
michal rehak [Wed, 18 Feb 2015 15:26:35 +0000 (15:26 +0000)]
Merge "Remove repository and pluginRepository sections"

9 years agoBUG 2661 - sonar issues in learning-switch 54/15454/2
Jozef Gloncak [Wed, 18 Feb 2015 07:24:35 +0000 (08:24 +0100)]
BUG 2661 - sonar issues in learning-switch

Some of sonar issues in learning-switch artifact were solved.

Change-Id: I423136cb503c8d9922eb7064ab2bd3eddd24d411
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agobug 2446 - High priority (control) queue stop reading from channel if is full 95/15195/4
ary [Thu, 12 Feb 2015 12:54:24 +0000 (13:54 +0100)]
bug 2446 - High priority (control) queue stop reading from channel if is full

this patch depends on https://git.opendaylight.org/gerrit/#/c/14438/

Signed-off-by: ary <jatoth@cisco.com>
Change-Id: Ie990b1987d2210ec520648e081bb250588f4f342

9 years agoRemove repository and pluginRepository sections 84/15284/1
Robert Varga [Fri, 13 Feb 2015 20:41:07 +0000 (21:41 +0100)]
Remove repository and pluginRepository sections

These sections have been moved to settings.xml, no need to carry them
here.

Change-Id: Idf669790957f7b9488f8e09c0c79bf56baa22f37
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-2661: Sonar issue"
michal rehak [Fri, 13 Feb 2015 17:13:43 +0000 (17:13 +0000)]
Merge "BUG-2661: Sonar issue"

9 years agoMerge "BUG 2661 - sonar issues in test-common artifact"
michal rehak [Fri, 13 Feb 2015 17:13:18 +0000 (17:13 +0000)]
Merge "BUG 2661 - sonar issues in test-common artifact"

9 years agoMerge "BUG-2661:Sonar issue"
michal rehak [Fri, 13 Feb 2015 16:54:14 +0000 (16:54 +0000)]
Merge "BUG-2661:Sonar issue"

9 years agoMerge "BUG-2706: Processing of messages from device starts too late"
michal rehak [Fri, 13 Feb 2015 16:53:45 +0000 (16:53 +0000)]
Merge "BUG-2706: Processing of messages from device starts too late"

9 years agoBUG 2661 - sonar issues in test-common artifact 80/14680/3
Jozef Gloncak [Mon, 2 Feb 2015 13:33:11 +0000 (14:33 +0100)]
BUG 2661 - sonar issues in test-common artifact

 - fixed atomic field updaters

Change-Id: Icdab410e12db4d1571e3d822dd9a796e0bcc5ff1
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "Remove ganymed dependency"
michal rehak [Fri, 13 Feb 2015 16:48:09 +0000 (16:48 +0000)]
Merge "Remove ganymed dependency"

9 years agoMerge "Remove unused version declarations"
michal rehak [Fri, 13 Feb 2015 16:48:00 +0000 (16:48 +0000)]
Merge "Remove unused version declarations"

9 years agoMerge "BUG-837: IT unstable"
Anil Vishnoi [Fri, 13 Feb 2015 16:25:05 +0000 (16:25 +0000)]
Merge "BUG-837: IT unstable"

9 years agoBug 2661 - printStackTrace() method call 73/14673/3
Jozef Gloncak [Mon, 2 Feb 2015 10:06:48 +0000 (11:06 +0100)]
Bug 2661 - printStackTrace() method call

Critical bug from sonar - printStackTrace() used. It was replaced with logger.

Change-Id: Id9aeb13c39f3cc659e267b472ca3886f7794e5fd
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "BUG 2280 - mac address mask translation."
michal rehak [Fri, 13 Feb 2015 15:00:04 +0000 (15:00 +0000)]
Merge "BUG 2280 - mac address mask translation."

9 years agoBUG-2661: Sonar issue 03/15203/1
Timotej Kubas [Thu, 12 Feb 2015 15:34:48 +0000 (16:34 +0100)]
BUG-2661: Sonar issue

- solving technical depth

Change-Id: Ic9b92f38d4aa52f091c84648da009e482b3eb101
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoBUG-2661:Sonar issue 02/15202/1
Timotej Kubas [Thu, 12 Feb 2015 14:42:40 +0000 (15:42 +0100)]
BUG-2661:Sonar issue

- introducing integration test for flow as a preparation for reducing complexity
  of test-provider

Change-Id: Ic87a91697f55dbd461517de4c79ff9fb11bc254a
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoBUG-2706: Processing of messages from device starts too late 98/15198/1
Timotej Kubas [Thu, 12 Feb 2015 12:32:00 +0000 (13:32 +0100)]
BUG-2706: Processing of messages from device starts too late

Change-Id: I60a1f70db1bfaa00d69a0b40965d8c7f5f730e88
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoRemove ganymed dependency 57/15057/1
Robert Varga [Mon, 9 Feb 2015 10:23:32 +0000 (11:23 +0100)]
Remove ganymed dependency

Ganymed is no longer used in Helium, so remove it from dependency tree.

Change-Id: I6b35d5e72c21b91bb71ba8f0dc2cba21cbec09b0
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove unused version declarations 07/14907/1
Robert Varga [Thu, 5 Feb 2015 10:00:04 +0000 (11:00 +0100)]
Remove unused version declarations

These versions are not referenced anywhere -- remove them.

Change-Id: Ic6616bb2b7efde2eefbdd3c9c60cb2f43785c85f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-2665: jacoco configuration 76/14776/2
Michal Rehak [Tue, 3 Feb 2015 12:27:16 +0000 (13:27 +0100)]
BUG-2665: jacoco configuration

 - removed experimental excludes
 - added global include configuration covering all packages from
   org.opendaylight.openflowplugin.*

Change-Id: Ic19d74766eebbedd963be40289f008e89c8b4be6
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-837: IT unstable 18/13618/2
Michal Rehak [Sun, 14 Dec 2014 09:27:46 +0000 (10:27 +0100)]
BUG-837: IT unstable

  - fixed threading and waiting for scenario execution
  - pulled simulator logic into common assistant class

Change-Id: Ic3373607033700179ed4a6097bd95c541e7c62f1
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "DO-NOT-MERGE-YET: Port description is not getting udpated when port removed...
Abhijit Kumbhare [Mon, 2 Feb 2015 13:09:40 +0000 (13:09 +0000)]
Merge "DO-NOT-MERGE-YET: Port description is not getting udpated when port removed from openflow switch"

9 years agoBug 2245 - OFJava corresponding change (package cycles decreased) 33/14633/2
Martin Uhlir [Fri, 30 Jan 2015 13:45:36 +0000 (14:45 +0100)]
Bug 2245 - OFJava corresponding change (package cycles decreased)

DO NOT MERGE UNTIL: https://git.opendaylight.org/gerrit/#/c/12321/ is merged
- decrease packages cycles

Change-Id: Ie9df1338e9ca77f085d002956f2aed716fea578a
Signed-off-by: Martin Uhlir <martin.uhlir@pantheon.sk>
9 years agoMerge "Bug 2245 - OFJava corresponding change (Sonar technical debt)"
michal rehak [Mon, 2 Feb 2015 09:59:20 +0000 (09:59 +0000)]
Merge "Bug 2245 - OFJava corresponding change (Sonar technical debt)"

9 years agoDO-NOT-MERGE-YET: Port description is not getting udpated when port removed from... 71/14671/1
Anil Vishnoi [Mon, 2 Feb 2015 08:26:40 +0000 (00:26 -0800)]
DO-NOT-MERGE-YET: Port description is not getting udpated when port removed from openflow switch

If user removed port from openflow switch, it generated port status message with reason - DELETE
But this message is not properly hooked to onNodeUpdateRemoved notification defined in inventory
models. This patch fixes the issue.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years ago BUG-2636: Wire sal-compatibility to local models 40/14640/1
Michal Rehak [Fri, 30 Jan 2015 17:44:17 +0000 (18:44 +0100)]
 BUG-2636: Wire sal-compatibility to local models

     - changed model version to match ofplugin
     - switched to local models
     - used temporary profile with dependencyManagement
       for migrated apps
     - temporary dependencyManagement moved to root pom

Change-Id: I7509dbe0718aaf38681cdc6ef3d3b6322b5eb1ff
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2659: Changes package names to ofPlugin naming strucuture 31/14631/2
Timotej Kubas [Thu, 29 Jan 2015 15:53:20 +0000 (16:53 +0100)]
BUG-2659: Changes package names to ofPlugin naming strucuture

Change-Id: I43a5b6b11b0e31fa7506f30c633bb7cd55622629
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoBUG-2613: Migrating sal-compatibility from controller project to openflowplugin 30/14630/2
Timotej Kubas [Thu, 29 Jan 2015 15:45:03 +0000 (16:45 +0100)]
BUG-2613: Migrating sal-compatibility from controller project to openflowplugin
          project

Following changes are done:
    *.* Moved all the bundle to openflowplugin/legacy directory
    *.* Fixed all the relavent pom files to successfully build the projects
    *.* Did not change bundle version of any of the project, just to avoid breaking any dependent project
    *.* Instead changed the bundle version in application pom.xml to 1.2.0 from 0.1.0, because all the
    dependenct child project is offset two bundles.
    Todo:
    *.* Change the package name of models and source code according to new location
    *.* Adapt downstream project in order to use these model projects
    *.* remove models from controller repository

    As of now all the bundles moved to openflowplugin contains all the commit that is pushed till
    following commit
    $ git log -1
    commit 6340a32c44b6a423d52fd98ce3c66bc480ab9246
    Merge: 94d7e66 4c90ff7
    Author: Tony Tkacik <ttkacik@cisco.com>
    Date:   Fri Jan 16 12:50:26 2015 +0000

        Merge "Fixed missing dependencies in netconf-netty-util."

Change-Id: I7e99e324d64cde29e01832c265341abd23ceb53e
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBug 2245 - OFJava corresponding change (Sonar technical debt) 67/14567/1
Martin Uhlir [Wed, 28 Jan 2015 14:07:35 +0000 (15:07 +0100)]
Bug 2245 - OFJava corresponding change (Sonar technical debt)

DO NOT MERGE UNTIL: https://git.opendaylight.org/gerrit/#/c/14496/ is merged
- Synchronized Stack data structure replaced by unsynchornized Deque

Change-Id: Idaf3e9f563d5a569aca6a2ec73cbe0dbd773cc72
Signed-off-by: Martin Uhlir <martin.uhlir@pantheon.sk>
9 years agoBUG 2280 - mac address mask translation. 45/14545/2
Jozef Gloncak [Tue, 27 Jan 2015 16:32:38 +0000 (17:32 +0100)]
BUG 2280 - mac address mask translation.

Added ODL to SAL mac addres mask translation.

Change-Id: I6288e5dfa4b9fe77b98f39549e95b9e56e944ab1
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "BUG-2363: Wire NSF apps to local models"
Anil Vishnoi [Tue, 27 Jan 2015 17:51:37 +0000 (17:51 +0000)]
Merge "BUG-2363: Wire NSF apps to local models"

9 years agoMerge "BUG 2281 - Incorrect IP address conversion"
michal rehak [Tue, 27 Jan 2015 17:19:47 +0000 (17:19 +0000)]
Merge "BUG 2281 - Incorrect IP address conversion"

9 years agoBUG 2281 - Incorrect IP address conversion 43/14543/1
Jozef Gloncak [Tue, 27 Jan 2015 14:28:17 +0000 (15:28 +0100)]
BUG 2281 - Incorrect IP address conversion

It looks like reported problem (do not cut the ip mask off) was fixed. Test is passing after uncommenting commented parts.

Change-Id: If81e4f675ac2bae25d57a18a14cf3e3802faecea
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 2280 - mask check in laye3Match. 82/14482/3
Jozef Gloncak [Mon, 26 Jan 2015 13:04:42 +0000 (14:04 +0100)]
BUG 2280 - mask check in laye3Match.

Only commented part of testing code was uncommented.

Change-Id: I2eb90e91d5bf1eeb52b071c2bac9a063e6092ab8
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG-2363: Wire NSF apps to local models 57/14457/3
Michal Rehak [Fri, 23 Jan 2015 17:24:38 +0000 (18:24 +0100)]
BUG-2363: Wire NSF apps to local models

 - changed model version to match ofplugin
 - switched apps to local models
 - introduced temporary profile with dependencyManagement
   for migrated apps

Change-Id: Ia8f43fc3e140cdcd1ef6359772b94a28c2abab63
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2645: Unit test failing 29/14529/1
Michal Rehak [Mon, 26 Jan 2015 17:45:03 +0000 (18:45 +0100)]
BUG-2645: Unit test failing

 - changed assertEquals to assertArrayEquals

Change-Id: I08a18f216c24e70d1594299481e5778e63b97073
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "BUG-2621: Change project/package names of migrated statistics-manager"
Anil Vishnoi [Fri, 23 Jan 2015 00:07:37 +0000 (00:07 +0000)]
Merge "BUG-2621: Change project/package names of migrated statistics-manager"

9 years agoMerge "BUG-2622: Change project/package names of migrated inventory-manager"
Anil Vishnoi [Thu, 22 Jan 2015 23:36:37 +0000 (23:36 +0000)]
Merge "BUG-2622: Change project/package names of migrated inventory-manager"

9 years agoBUG-2622: Change project/package names of migrated inventory-manager 97/14397/1
Michal Rehak [Thu, 22 Jan 2015 18:39:39 +0000 (19:39 +0100)]
BUG-2622: Change project/package names of migrated inventory-manager

  - changed package names to ofPlugin naming structure

Change-Id: Ifafe1caf3a81d70cb51fd8b79ed4395fbbdb5c63
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2621: Change project/package names of migrated statistics-manager 93/14393/1
Michal Rehak [Thu, 22 Jan 2015 17:20:26 +0000 (18:20 +0100)]
BUG-2621: Change project/package names of migrated statistics-manager

  - changed package names to ofPlugin naming structure
  - includes statistics-manager-config

Change-Id: I50b5c0736a9f69789a93f3ba63e5b488db9f88f8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2620: Change project/package names of migrated topoogy-manager 83/14383/1
Jozef Gloncak [Thu, 22 Jan 2015 14:58:51 +0000 (15:58 +0100)]
BUG-2620: Change project/package names of migrated topoogy-manager

  - changed package names to ofPlugin naming structure
  - includes topology-lldp-discovery

Change-Id: I2a28616e003ea24042cc64af8dcd2fc31c12bde9
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG-2615: Change project/package names of migrated FRM 79/14379/1
Martin Bobak [Thu, 22 Jan 2015 13:04:44 +0000 (14:04 +0100)]
BUG-2615: Change project/package names of migrated FRM

 - changed package names to ofPlugin naming structure

Change-Id: I2d27816dd1222219b0e8dea4e35dedc1f26e7751
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBUG-2613: Migrating Openflow Specific nsf-apps from controller project to openflowplu... 53/14353/2
Michal Rehak [Wed, 21 Jan 2015 19:05:18 +0000 (20:05 +0100)]
BUG-2613: Migrating Openflow Specific nsf-apps from controller project to openflowplugin project

    Following changes are done:
    *.* Moved all the bundle to openflowplugin/applications directory
    *.* Fixed all the relavent pom files to successfully build the projects

    Also minor cleanup was performed on poms of existing apps (remove duplicates, unifying).

    As of now all the bundles moved to openflowplugin contains all the commit that is pushed till
    following commit
    $ git log -1
    commit 6340a32c44b6a423d52fd98ce3c66bc480ab9246
    Merge: 94d7e66 4c90ff7
    Author: Tony Tkacik <ttkacik@cisco.com>
    Date:   Fri Jan 16 12:50:26 2015 +0000

Change-Id: I600f947e846cc0eadfcb8a9bc33cfc6b70addf4b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-2613: Migrating Openflow Specific models from controller project to openflowplugi... 44/14344/2
Jozef Gloncak [Wed, 21 Jan 2015 15:57:35 +0000 (16:57 +0100)]
BUG-2613: Migrating Openflow Specific models from controller project to openflowplugin project

    Following changes are done:
    *.* Moved all the bundle to openflowplugin/model directory
    *.* Fixed all the relavent pom files to successfully build the projects
    *.* Did not change bundle version of any of the project, just to avoid breaking any dependent project
    changed model to model-parent under the same group as underlying models

    As of now all the bundles moved to openflowplugin contains all the commit that is pushed till
    following commit
    $ git log -1
    commit 6340a32c44b6a423d52fd98ce3c66bc480ab9246
    Merge: 94d7e66 4c90ff7
    Author: Tony Tkacik <ttkacik@cisco.com>
    Date:   Fri Jan 16 12:50:26 2015 +0000

Change-Id: If689af7878164bf460115d53691bb8dbae490c04
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agobug 2493 - eliminate the use of xtend and remove dependecies 38/13738/3
ary [Wed, 17 Dec 2014 16:19:07 +0000 (11:19 -0500)]
bug 2493 - eliminate the use of xtend and remove dependecies

Signed-off-by: ary <jatoth@cisco.com>
Change-Id: I2b2c49d93daf90c90e024d3af727f87957a8427e

9 years agoMerge "Revert "BUG-2613: Migrating Openflow Specific NSF from controller project...
michal rehak [Wed, 21 Jan 2015 09:39:58 +0000 (09:39 +0000)]
Merge "Revert "BUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin project""

9 years agoRevert "BUG-2613: Migrating Openflow Specific NSF from controller project to openflow... 23/14323/1
Ed Warnicke [Wed, 21 Jan 2015 08:34:06 +0000 (08:34 +0000)]
Revert "BUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin project"

This reverts commit 7508539dcab1db1d5476baaf0200a322df7596b6.

Change-Id: I6068036341c51b110674080b2f56eed70916e319
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "BUG-2613: Migrating Openflow Specific NSF from controller project to openflowp...
michal rehak [Tue, 20 Jan 2015 21:46:02 +0000 (21:46 +0000)]
Merge "BUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin project"

9 years agoBUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin... 09/14209/3
Anil Vishnoi [Sun, 28 Dec 2014 17:16:52 +0000 (22:46 +0530)]
BUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin project

Following changes are done:
*.* Moved all the bundle to openflowplugin/application directory
*.* Fixed all the relavent pom files to successfully build the projects
*.* Did not change bundle version of any of the project, just to avoid breaking any dependent project
*.* Instead changed the bundle version in application pom.xml to 1.2.0 from 0.1.0, because all the
dependenct child project is offset two bundles.
Todo:
*.* Change the package name of models and source code according to new location
*.* Adapt downstream project in order to use these model projects
*.* remove models from controller repository

As of now all the bundles moved to openflowplugin contains all the commit that is pushed till
following commit
$ git log -1
commit 6340a32c44b6a423d52fd98ce3c66bc480ab9246
Merge: 94d7e66 4c90ff7
Author: Tony Tkacik <ttkacik@cisco.com>
Date:   Fri Jan 16 12:50:26 2015 +0000

    Merge "Fixed missing dependencies in netconf-netty-util."

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoMerge "Adding feature odl-openflowplugin-nxm-extensions and configs."
Ed Warnicke [Tue, 20 Jan 2015 18:33:49 +0000 (18:33 +0000)]
Merge "Adding feature odl-openflowplugin-nxm-extensions and configs."

9 years agoAdding feature odl-openflowplugin-nxm-extensions and configs. 34/13234/6
Srini Seetharaman [Sun, 30 Nov 2014 05:29:10 +0000 (21:29 -0800)]
Adding feature odl-openflowplugin-nxm-extensions and configs.

This is part of the effort to move of-extensions from
ovsdb project to the openflowplugin project.

 - moved nicira extensions into seaparate fatures depending on
   ofplugin features
 - renamed openflowplugin-extension-config to
   openflowplugin-extension-nicira-config
 - cleaned unused dependencies in ofplugin features
 - suqashed configSubsystem config files into one

Change-Id: I1f11f0dc87fef340f13e9e012e003fbda3124b04
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoThe high priority queue containing control messages is processed first(before data... 90/14290/1
ary [Tue, 20 Jan 2015 13:06:11 +0000 (14:06 +0100)]
The high priority queue containing control messages is processed first(before data queue) in PollableQueuesPriorityZipper, if it is not queue with high priority then is used addSource in PollableQueuesPriorityZipper for use the PollableQueuesZipper.

Signed-off-by: ary <jatoth@cisco.com>
9 years agoMerge "BUG2608: Using the right buffer id for no buffer"
Prasanna Huddar [Tue, 20 Jan 2015 05:06:09 +0000 (05:06 +0000)]
Merge "BUG2608: Using the right buffer id for no buffer"

9 years agoBUG2608: Using the right buffer id for no buffer 53/14253/2
Colin Dixon [Mon, 19 Jan 2015 15:34:26 +0000 (09:34 -0600)]
BUG2608: Using the right buffer id for no buffer

Using OFConstants.OFP_NO_BUFFER everywhere I could find. Also, fixing
some whitespace issues where I encountered them.

Change-Id: I0a1447d460981941ebce8a5f9db697eec7599b58
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding Nicira actions and match for NSH Index and path fields. 18/12418/3
Srini Seetharaman [Fri, 31 Oct 2014 17:01:23 +0000 (10:01 -0700)]
Adding Nicira actions and match for NSH Index and path fields.
match.nsi, match.nsp, action.set_nsi and action.set_nsp.
This is part of the consolidation of Nicira OF extensions from
the OVSDB project.

Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoPorting over the Nicira extension actions MULTIPATH and RESUBMIT from 17/12417/4
Srini Seetharaman [Thu, 30 Oct 2014 18:00:53 +0000 (11:00 -0700)]
Porting over the Nicira extension actions MULTIPATH and RESUBMIT from
the OVSDB project of-extensions folder to the OpenFlowPlugin project.
This is part of a consolidation effort.

Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 868: Replaced use of toInstance() for build(). 88/14188/1
Tony Tkacik [Fri, 16 Jan 2015 09:21:59 +0000 (10:21 +0100)]
Bug 868: Replaced use of toInstance() for build().

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>