openflowplugin.git
8 years agoBUG-4340: raise test coverage to 80% - transaction related 81/27281/1
Jozef Gloncak [Tue, 22 Sep 2015 13:28:55 +0000 (15:28 +0200)]
BUG-4340: raise test coverage to 80% - transaction related

 - transactionChainManager related tests

Change-Id: If3aa1910b88a11c4b8e0d82eece0aebfe6595e7c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoBUG-4340: raise test coverage to 80% - device related 80/27280/1
Jozef Gloncak [Tue, 22 Sep 2015 13:28:50 +0000 (15:28 +0200)]
BUG-4340: raise test coverage to 80% - device related

 - packetInLimiter related tests
 - deviceContextImpl related tests
 - deviceManager related test

Change-Id: Ie306aa8a500598241eb16f285a845da18f4bd5fe
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoBUG-4340: raise test coverage to 80% - int.registry related 79/27279/1
Jozef Gloncak [Tue, 22 Sep 2015 13:28:33 +0000 (15:28 +0200)]
BUG-4340: raise test coverage to 80% - int.registry related

 - internal flow/group/meter registry related tests

Change-Id: Id31a0fa1f3dac287cccc3151fa609ec2223e4b09
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoBUG-4340: raise test coverage to 80% - clean disabled tests 78/27278/1
Jozef Gloncak [Tue, 22 Sep 2015 13:28:26 +0000 (15:28 +0200)]
BUG-4340: raise test coverage to 80% - clean disabled tests

 - removed ignored/disabled tests

Change-Id: I971639ec7a1ba195cfa5d6b635d39285c6c1a6db
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMerge "Use odlparent configuration for jacoco"
michal rehak [Thu, 17 Sep 2015 10:56:29 +0000 (10:56 +0000)]
Merge "Use odlparent configuration for jacoco"

8 years agoMerge "Refactoring of 'extractIpv4Mask' method"
michal rehak [Thu, 17 Sep 2015 10:36:20 +0000 (10:36 +0000)]
Merge "Refactoring of 'extractIpv4Mask' method"

8 years agoMerge "Removed useless method"
michal rehak [Thu, 17 Sep 2015 10:35:20 +0000 (10:35 +0000)]
Merge "Removed useless method"

8 years agoMerge "Removed useless variable"
michal rehak [Thu, 17 Sep 2015 10:34:53 +0000 (10:34 +0000)]
Merge "Removed useless variable"

8 years agoMerge "Refactoring: shortening of match methods"
michal rehak [Thu, 17 Sep 2015 10:34:39 +0000 (10:34 +0000)]
Merge "Refactoring: shortening of match methods"

8 years agoMerge "Convert features to features-parent"
Anil Vishnoi [Wed, 16 Sep 2015 16:55:21 +0000 (16:55 +0000)]
Merge "Convert features to features-parent"

8 years agoIgnored .checkstyle files 96/25296/2
Icaro Camelo [Fri, 14 Aug 2015 13:52:18 +0000 (09:52 -0400)]
Ignored .checkstyle files

Change-Id: Ifcfb778139d61f87cf505082672a74327be77001
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoExtracted constant 95/25295/2
Icaro Camelo [Thu, 13 Aug 2015 20:41:50 +0000 (16:41 -0400)]
Extracted constant

Change-Id: If26302b301ed581ae9e5f5df768ca9a37f3f2b35
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoMerge "Removed unused fields"
michal rehak [Wed, 16 Sep 2015 16:10:30 +0000 (16:10 +0000)]
Merge "Removed unused fields"

8 years agoConvert features to features-parent 98/26098/6
Robert Varga [Wed, 17 Jun 2015 00:15:19 +0000 (02:15 +0200)]
Convert features to features-parent

Switches from hand-written features.xml, to a processed template,
lowering the need for magic properties.

Additional changes:
 - migrated application and extensions features
 - fixed legacy
 - removed duplicate specified dependency version
 - cleaned properties
 - removed outdated version for xml-apis dependency
 - included new extensions/feature-li (pom+features)

(based on commit b4a79dbdfdc7dc00d3c1a477ad57d7c4192839fe)

Change-Id: I7089c1ee27eca228d05ec8942812a0466f71c153
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG 4270 - Add missing versions, dependencies 64/26764/2
Jozef Gloncak [Thu, 10 Sep 2015 10:51:15 +0000 (12:51 +0200)]
BUG 4270 - Add missing versions, dependencies

Change-Id: I01a5fe9cec90c7009fd0dd8f7507513ab4a4acd4
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMerge "BUG 4270 - adding reference to Li bundle to Li Nicira extension."
Anil Vishnoi [Thu, 10 Sep 2015 08:17:19 +0000 (08:17 +0000)]
Merge "BUG 4270 - adding reference to Li bundle to Li Nicira extension."

8 years agoMerge "Migration to use MD-SAL Project"
michal rehak [Thu, 10 Sep 2015 07:14:34 +0000 (07:14 +0000)]
Merge "Migration to use MD-SAL Project"

8 years agoBUG 4270 - adding reference to Li bundle to Li Nicira extension. 55/26755/3
Jozef Gloncak [Wed, 9 Sep 2015 13:59:52 +0000 (15:59 +0200)]
BUG 4270 - adding reference to Li bundle to Li Nicira extension.

Change-Id: I14b1abf3b63c92e20bb65da2587f8e0260ad234b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMigration to use MD-SAL Project 61/26361/3
Tony Tkacik [Wed, 2 Sep 2015 14:13:30 +0000 (16:13 +0200)]
Migration to use MD-SAL Project

Change-Id: I8be5de8f8ea89d7e03f925d8a0da5a15e0a11adf
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoRemoved legacy AD-SAL compatibility 42/26642/2
Tony Tkacik [Tue, 8 Sep 2015 08:58:07 +0000 (10:58 +0200)]
Removed legacy AD-SAL compatibility

AD-SAL is not part of beryllium, so dependencies
used by AD-SAL adapter are not available in
controller, autorelease and offline mode.

Since this code is not supported, lets remove it
to decrease technical debt.

Change-Id: Ifb4b9e7ec04b00566d421d0089e1dd629ee755d8
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoMigrate restconf dependencies 11/26511/1
Tomas Cere [Fri, 4 Sep 2015 12:46:16 +0000 (14:46 +0200)]
Migrate restconf dependencies

Change-Id: I4ca3d812e80172c9398cbd6043fa6b710cae57cd
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoRemoved unused fields 94/25294/2
Icaro Camelo [Thu, 13 Aug 2015 20:38:31 +0000 (16:38 -0400)]
Removed unused fields

Change-Id: Ia020ef62e922d047c5540f3f6a01d9b70167a21b
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoUse odlparent configuration for jacoco 04/26304/2
Thanh Ha [Wed, 2 Sep 2015 03:53:55 +0000 (23:53 -0400)]
Use odlparent configuration for jacoco

Change-Id: I9724253d6a7a51e844b7833f36124722358a338d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "BUG-4123: Li:flow statistics are not passed into DS/operational"
Anil Vishnoi [Fri, 28 Aug 2015 12:22:31 +0000 (12:22 +0000)]
Merge "BUG-4123: Li:flow statistics are not passed into DS/operational"

8 years agoMerge "update nagasena dependencies for IT"
Anil Vishnoi [Fri, 28 Aug 2015 12:21:31 +0000 (12:21 +0000)]
Merge "update nagasena dependencies for IT"

8 years agoMerge "BUG-4085: Li: support flowRemoved notifications when SM is off"
Anil Vishnoi [Fri, 28 Aug 2015 12:19:24 +0000 (12:19 +0000)]
Merge "BUG-4085: Li: support flowRemoved notifications when SM is off"

8 years agoMerge "BUG-4085: Li: provisioning translators"
Anil Vishnoi [Fri, 28 Aug 2015 12:18:29 +0000 (12:18 +0000)]
Merge "BUG-4085: Li: provisioning translators"

8 years agoMerge "BUG-4084: Li:Save meters in operational DS based on barrier success"
michal rehak [Fri, 28 Aug 2015 11:48:38 +0000 (11:48 +0000)]
Merge "BUG-4084: Li:Save meters in operational DS based on barrier success"

8 years agoMerge "Fix pep8 violations in odl_meter_test"
michal rehak [Fri, 28 Aug 2015 11:41:17 +0000 (11:41 +0000)]
Merge "Fix pep8 violations in odl_meter_test"

8 years agoMerge "Fix pep8 violations in xml_validator"
michal rehak [Fri, 28 Aug 2015 11:41:12 +0000 (11:41 +0000)]
Merge "Fix pep8 violations in xml_validator"

8 years agoBUG-4084: Li:Save meters in operational DS based on barrier success 71/25471/8
Jozef Gloncak [Wed, 19 Aug 2015 12:19:28 +0000 (14:19 +0200)]
BUG-4084: Li:Save meters in operational DS based on barrier success

ItemLifeCycleListener also added to SalMeterServiceImpl class to be able
persist information about add/delete/update of meter to operational DS when
statistic collecting is switched off.

Change-Id: I9176353a498d76f735d9a089c4e3e088efd668cd
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMerge "BUG-4084: Li: Log unsuccessful submiting of write transactiion"
michal rehak [Fri, 28 Aug 2015 09:21:22 +0000 (09:21 +0000)]
Merge "BUG-4084: Li: Log unsuccessful submiting of write transactiion"

8 years agoBUG-4085: Li: support flowRemoved notifications when SM is off 12/26012/4
Michal Rehak [Tue, 25 Aug 2015 17:54:55 +0000 (19:54 +0200)]
BUG-4085: Li: support flowRemoved notifications when SM is off

 - attach flowRemoved to itemLifecycleSource

Change-Id: Ide24af418963a46ab1d12997caab1aacfc9b87da
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4085: Li: provisioning translators 11/26011/3
Michal Rehak [Wed, 26 Aug 2015 10:44:18 +0000 (12:44 +0200)]
BUG-4085: Li: provisioning translators

 - changed match conversion to returning builder
 - added special flowRemoved message translators

Change-Id: I3d431ff1fea3fef26157f96a16d21cfc900b898f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4084: Li: Log unsuccessful submiting of write transactiion 78/25578/6
Jozef Gloncak [Fri, 21 Aug 2015 13:39:55 +0000 (15:39 +0200)]
BUG-4084: Li: Log unsuccessful submiting of write transactiion

If some exception occures during transaction submiting it is
logged (until now it was silently ignored).

Change-Id: I576572949259e9dd41be3efd6bd6a0a0a07955ee
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoBUG-4084: Li:Save groups in operational DS based on barrier success 65/25465/11
Jozef Gloncak [Wed, 19 Aug 2015 10:13:17 +0000 (12:13 +0200)]
BUG-4084: Li:Save groups in operational DS based on barrier success

ItemLifeCycleListener also added to SalGroupServiceImpl class to be able
persist information about add/delete/update of grouping to operational DS.

Change-Id: Ia2347af3133d7c68f54f206683d5dc981e81f9dd
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4084: Li:Save flows in operational based on barrier success 78/25378/7
Jozef Gloncak [Tue, 18 Aug 2015 13:10:09 +0000 (15:10 +0200)]
BUG-4084: Li:Save flows in operational based on barrier success

 - added ItemLifeCycleSource as the basic unit sourcing changes for
   DS/operational
 - this unit is provided by registered rpc services and if statistics
   are disabled then those units are listened to in order to keep device
   reflection in DS up to date
 - TODO: this covers flows only, groups and meters are on the line

 - from Jozef Gloncak: small fix of failing junit test
 - from Jozef Gloncak: change in test TimeCounterTest:
     Time marks are set in times 2 ms, 4 ms, 9 ms.
     Waited average time are 2/1 = 2 ms, 4/2 = 2 ms, 9/3 = 3 ms
     But this times are only theoretical if whole test is executed
     without latency and atomically. Therefore awaited average times
     can't be compared to exact values of awaited average time.
     (therefore == was replaced with >=)

Change-Id: Ie52ad4421745b09db68dec5c9b1be1b64d04d697
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMerge "BUG-4177: Li - flowMod result ignores errors from device"
Anil Vishnoi [Fri, 28 Aug 2015 07:22:32 +0000 (07:22 +0000)]
Merge "BUG-4177: Li - flowMod result ignores errors from device"

8 years agoMerge "Add tox.ini to check for pep8 violations"
michal rehak [Fri, 28 Aug 2015 07:20:12 +0000 (07:20 +0000)]
Merge "Add tox.ini to check for pep8 violations"

8 years agoFix pep8 violations in odl_meter_test 38/26138/1
Thanh Ha [Thu, 27 Aug 2015 22:34:33 +0000 (18:34 -0400)]
Fix pep8 violations in odl_meter_test

Change-Id: I8289a7c77ececc1f4d58919ca8c48bea3664dff9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix pep8 violations in xml_validator 16/26116/3
Thanh Ha [Thu, 27 Aug 2015 21:52:45 +0000 (17:52 -0400)]
Fix pep8 violations in xml_validator

Change-Id: Ibe4afe4d4602549b0c00e4d222fbc59edb49d305
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd tox.ini to check for pep8 violations 15/26115/3
Thanh Ha [Thu, 27 Aug 2015 21:54:02 +0000 (17:54 -0400)]
Add tox.ini to check for pep8 violations

Change-Id: I1d39fb8a2e5b96aafe8167fdde400641acb44f5d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix typos and reformat document 17/26117/1
Thanh Ha [Thu, 27 Aug 2015 22:04:18 +0000 (18:04 -0400)]
Fix typos and reformat document

Change-Id: I6774f0ee2034c5f04c4fe3c21a1ddd1c8eac2704
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoupdate nagasena dependencies for IT 34/26034/1
Michal Rehak [Wed, 26 Aug 2015 15:17:03 +0000 (17:17 +0200)]
update nagasena dependencies for IT

 - based on commit 660539660393f1739de7956255f5d2abe54e259b (stable/lithium)
 - on master there is no more dependency to netconf stuff
   so we keep defining latest nagasena depdendecy locally

Change-Id: I8bedea3927dee66df9432b7df7f3bcf411f375be
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4177: Li - flowMod result ignores errors from device 01/25901/2
Michal Rehak [Mon, 24 Aug 2015 16:37:39 +0000 (18:37 +0200)]
BUG-4177: Li - flowMod result ignores errors from device

 - added errors from original partial rpcResults to final rpcResul
 - adapted unit tests

Change-Id: I43964c8f7afdfb4e3e748a33b68b7117fe95d710
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4083: Li: knob to disable statistics collecting 98/25298/3
Jozef Gloncak [Mon, 24 Aug 2015 11:41:05 +0000 (13:41 +0200)]
BUG-4083: Li: knob to disable statistics collecting

 - added rpc for get and change the work mode of statistics-manager
 - minor changes regarding collection scheduling (adaptive timeCouter)

Change-Id: Ie4bdfb493951b28f027e85cb8beeb456bc730c18
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoBUG-4083: Li: Enabling polling of statistics via config subsystem. 62/25862/2
Jozef Gloncak [Mon, 24 Aug 2015 10:01:47 +0000 (12:01 +0200)]
BUG-4083: Li: Enabling polling of statistics via config subsystem.

New leaf >is-statistics-polling-off< was added to
openflow-plugin-impl.yang. Now it is possible to set statistic
gathering (ON|OFF) via configuration of 42-openflowplugin-new.xml -
add <is-statistics-polling-off>true|false</is-statistics-polling-off>
xml element to
configuration/data/modules/module/name=openflow-plugin-provider-impl

Change-Id: I3f8a8cee35f389a8804bb0234c61de686b5273a4
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoRefactoring of 'extractIpv4Mask' method 45/25445/1
Icaro Camelo [Tue, 18 Aug 2015 16:34:18 +0000 (12:34 -0400)]
Refactoring of 'extractIpv4Mask' method

Change-Id: Ifa574330303a44546e4612f3ceb0e8b5240c617e
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemoved useless method 44/25444/1
Icaro Camelo [Tue, 18 Aug 2015 16:27:21 +0000 (12:27 -0400)]
Removed useless method

Change-Id: Ia1d267b81db82abe06e31af604e83bc56aa7a866
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemoved useless variable 43/25443/1
Icaro Camelo [Tue, 18 Aug 2015 16:25:32 +0000 (12:25 -0400)]
Removed useless variable

Change-Id: I23cfe98cd7de3db459506ea3bacea012568cf408
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRefactoring: shortening of match methods 42/25442/1
Icaro Camelo [Tue, 18 Aug 2015 16:20:43 +0000 (12:20 -0400)]
Refactoring: shortening of match methods

Change-Id: I2f83670e27c19cb819ab49370fa1c412326ddcd5
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoFixed constant pattern name 41/25441/1
Icaro Camelo [Tue, 18 Aug 2015 16:05:48 +0000 (12:05 -0400)]
Fixed constant pattern name

Change-Id: Ib6dd1d74990250829b8e9b7a11c549d843af74d7
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemoved useless boolean object instantiation 40/25440/1
Icaro Camelo [Tue, 18 Aug 2015 15:47:52 +0000 (11:47 -0400)]
Removed useless boolean object instantiation

Change-Id: I6a89c599f8ab667d1ee0908097904c0c8061d7c7
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemoved commented code 39/25439/1
Icaro Camelo [Tue, 18 Aug 2015 15:45:48 +0000 (11:45 -0400)]
Removed commented code

Change-Id: I750f42463060526f32c851c4c6095fe8bacc0898
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoFixed magic numbers 76/25376/1
Icaro Camelo [Mon, 17 Aug 2015 18:03:39 +0000 (14:03 -0400)]
Fixed magic numbers

Change-Id: I2076bcc6bfad08c48b64b015c64b93f5e5cc3ab9
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoUsing equals() method to compare objects 93/25293/1
Icaro Camelo [Thu, 13 Aug 2015 20:31:19 +0000 (16:31 -0400)]
Using equals() method to compare objects

Change-Id: I12145b03232a587033dcfad04188bd5e4b8de340
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemoved commented code 92/25292/1
Icaro Camelo [Thu, 13 Aug 2015 20:21:18 +0000 (16:21 -0400)]
Removed commented code

Change-Id: I8c94ea7e7edc3051bd744eeb0470d40342aed9a8
Signed-off-by: Icaro Camelo <icamelo@inocybe.com>
8 years agoRemove references to netconf 21/24721/2
Maros Marsalek [Mon, 3 Aug 2015 13:02:04 +0000 (15:02 +0200)]
Remove references to netconf

Netconf is no longer a required dependency for every project as its being
pulled out of the controller project.

Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoBUG-4123: Li:flow statistics are not passed into DS/operational 90/25190/1
Michal Rehak [Tue, 11 Aug 2015 15:47:35 +0000 (17:47 +0200)]
BUG-4123: Li:flow statistics are not passed into DS/operational

 - added corresponding augmentation when transforming flow for DS

Change-Id: I49f96faa9d2587baf2e0cad28f061a2bdd0d2619
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "Resolution for Bug 3957"
michal rehak [Mon, 10 Aug 2015 12:13:40 +0000 (12:13 +0000)]
Merge "Resolution for Bug 3957"

8 years agoResolution for Bug 3957 11/25111/1
Sunaina [Mon, 10 Aug 2015 08:51:29 +0000 (14:21 +0530)]
Resolution for Bug 3957

Change-Id: I3b45e5c13b422584d6aa5ed4677c6e70b6258e46
Signed-off-by: Sunaina <sunaina.khanna@tcs.com>
8 years agoFix license header violations in legacy 64/25064/1
Thanh Ha [Sun, 9 Aug 2015 22:48:20 +0000 (18:48 -0400)]
Fix license header violations in legacy

Change-Id: I4a028d0ffce310ee1859a245af440b71e9cc3f7a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in samples 63/25063/1
Thanh Ha [Sun, 9 Aug 2015 22:48:08 +0000 (18:48 -0400)]
Fix license header violations in samples

Change-Id: I490856731032fe5bb4e009e234a3ceddb7ea0c18
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in test-provider 62/25062/1
Thanh Ha [Sun, 9 Aug 2015 22:41:28 +0000 (18:41 -0400)]
Fix license header violations in test-provider

Change-Id: I6a03dda5120ce151d7c2615a61fb08812cd7f98d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in test-common 61/25061/1
Thanh Ha [Sun, 9 Aug 2015 22:35:10 +0000 (18:35 -0400)]
Fix license header violations in test-common

Change-Id: Iabc6631a52d28502a392bd894b74bb0e48a5f2cc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in applications 60/25060/1
Thanh Ha [Sun, 9 Aug 2015 22:32:00 +0000 (18:32 -0400)]
Fix license header violations in applications

Change-Id: I3cdee24a89daaa84c8016d084ce5fd6820d8e1bf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in extensions/openflowplugin 59/25059/1
Thanh Ha [Sun, 9 Aug 2015 22:22:01 +0000 (18:22 -0400)]
Fix license header violations in extensions/openflowplugin

Change-Id: I207ce541e33b4686ffbc70b637684ac6c0f0b784
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in extensions/openflowjava 58/25058/1
Thanh Ha [Sun, 9 Aug 2015 22:15:27 +0000 (18:15 -0400)]
Fix license header violations in extensions/openflowjava

Change-Id: I5a98e7a825b6f0dadaf69b7a3aed4c247de08e7a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in openflowplugin-impl 57/25057/1
Thanh Ha [Sun, 9 Aug 2015 22:06:40 +0000 (18:06 -0400)]
Fix license header violations in openflowplugin-impl

Change-Id: I78583a6850bec6e2d4231469951bce773b02ab4b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in openflowplugin 56/25056/1
Thanh Ha [Sun, 9 Aug 2015 22:03:27 +0000 (18:03 -0400)]
Fix license header violations in openflowplugin

Change-Id: I875803a56f7d9841bffc7acc9a06c488e0bfa010
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in openflowplugin-api 55/25055/1
Thanh Ha [Sun, 9 Aug 2015 21:54:18 +0000 (17:54 -0400)]
Fix license header violations in openflowplugin-api

Change-Id: If831f8a9c155c9f5fc362ed1d04c663556249adf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Coverage - karaf commands - ResetSessionStat"
Abhijit Kumbhare [Thu, 6 Aug 2015 18:49:53 +0000 (18:49 +0000)]
Merge "Coverage - karaf commands - ResetSessionStat"

8 years agoMerge "BUG-4065: Karaf command ResetSessionStats resets wrong counter"
Abhijit Kumbhare [Thu, 6 Aug 2015 18:48:38 +0000 (18:48 +0000)]
Merge "BUG-4065: Karaf command ResetSessionStats resets wrong counter"

8 years agoMerge "Coverage - karaf commands - ofp/impl/karaf"
Abhijit Kumbhare [Wed, 5 Aug 2015 13:58:37 +0000 (13:58 +0000)]
Merge "Coverage - karaf commands - ofp/impl/karaf"

8 years agoMerge "Coverage - rpc manager and context"
Abhijit Kumbhare [Tue, 4 Aug 2015 16:22:41 +0000 (16:22 +0000)]
Merge "Coverage - rpc manager and context"

8 years agoMerge "BUG-4068: RpcContextImpl doesn't close rpcRegistrations correctly"
Abhijit Kumbhare [Tue, 4 Aug 2015 16:09:18 +0000 (16:09 +0000)]
Merge "BUG-4068: RpcContextImpl doesn't close rpcRegistrations correctly"

8 years agoMerge topic 'UnitTestCoverage'
Abhijit Kumbhare [Tue, 4 Aug 2015 15:59:03 +0000 (15:59 +0000)]
Merge topic 'UnitTestCoverage'

* changes:
  Coverage - common package
  Added OFPM_ALL constant

8 years agoMerge "Coverage - AbstractRequestCallback."
michal rehak [Fri, 31 Jul 2015 16:15:00 +0000 (16:15 +0000)]
Merge "Coverage - AbstractRequestCallback."

8 years agoMerge "Coverage - SalEchoServiceImplTest."
michal rehak [Fri, 31 Jul 2015 13:08:07 +0000 (13:08 +0000)]
Merge "Coverage - SalEchoServiceImplTest."

8 years agoMerge "Coverage - NodeConfigServiceImpl."
michal rehak [Fri, 31 Jul 2015 13:07:50 +0000 (13:07 +0000)]
Merge "Coverage - NodeConfigServiceImpl."

8 years agoCoverage - AbstractRequestCallback. 02/24702/1
Jozef Gloncak [Fri, 31 Jul 2015 13:05:10 +0000 (15:05 +0200)]
Coverage - AbstractRequestCallback.

Increase code coverage for AbstractRequestCallback class.

Change-Id: I6d796e083980bb7db340facb867968f735ae0bbf
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - NodeConfigServiceImpl. 00/24700/1
Jozef Gloncak [Fri, 31 Jul 2015 12:09:05 +0000 (14:09 +0200)]
Coverage - NodeConfigServiceImpl.

Increase code coverage for NodeConfigServiceImpl.

Change-Id: I0cce5a9e3cde42bf79a3bbf3b457450be1eb9f30
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - SalEchoServiceImplTest. 96/24696/1
Jozef Gloncak [Fri, 31 Jul 2015 11:30:41 +0000 (13:30 +0200)]
Coverage - SalEchoServiceImplTest.

Change-Id: Ib630506804ff5528f0a96f5417164854eb4646d3
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - SalGroupServiceImpl. 94/24694/2
Jozef Gloncak [Fri, 31 Jul 2015 09:33:58 +0000 (11:33 +0200)]
Coverage - SalGroupServiceImpl.

Increase of code coverage for class SalGroupServiceImplTest.

Change-Id: Ia171a6a2c41c65a1d4e1772269473919c32a1a32
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoMerge "Coverage - SalMeterServiceImpl."
michal rehak [Fri, 31 Jul 2015 08:28:02 +0000 (08:28 +0000)]
Merge "Coverage - SalMeterServiceImpl."

8 years agoCoverage - SalMeterServiceImpl. 88/24688/1
Jozef Gloncak [Fri, 31 Jul 2015 07:39:38 +0000 (09:39 +0200)]
Coverage - SalMeterServiceImpl.

Increase code coverage for SalMeterServiceImpl class.

Change-Id: I27850e93dde5a44ff0a04f2e6142f66ad29f787e
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - SalPortServiceImpl. 29/24629/2
Jozef Gloncak [Thu, 30 Jul 2015 13:46:10 +0000 (15:46 +0200)]
Coverage - SalPortServiceImpl.

Increase code coverage for SalPortServiceImpl class.

Change-Id: I0ca4e870b5f1a35758381d033dcf1a18d5a87f01
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - ancestor mocking class for services testing. 28/24628/3
Jozef Gloncak [Thu, 30 Jul 2015 13:39:21 +0000 (15:39 +0200)]
Coverage - ancestor mocking class for services testing.

New ancestor class is added for easier testing of service classes.

Change-Id: I769aea6caeea4785714bdce1d5f449a0e9fa6384
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - common package 32/24632/1
Michal Rehak [Thu, 30 Jul 2015 16:01:30 +0000 (18:01 +0200)]
Coverage - common package

Change-Id: I2f3f8f1f5fa4695989990d6b1f2b1079cf0efa4d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoAdded OFPM_ALL constant 31/24631/1
Michal Rehak [Thu, 30 Jul 2015 16:00:17 +0000 (18:00 +0200)]
Added OFPM_ALL constant

 - this constant represents all meters for stat
   requests commands
 - replaced wrong usage in MultipartRequestInputFactory

Change-Id: If3e8e7caad445aaa173b7a267bf341f6346dee93
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoCoverage - MultipartRequestOnTheFlyCallback. 25/24625/1
Jozef Gloncak [Thu, 30 Jul 2015 12:14:23 +0000 (14:14 +0200)]
Coverage - MultipartRequestOnTheFlyCallback.

Increase of code coverage for class MultipartRequestOnTheFlyCallback.

Change-Id: Ieb5719d540122bfc3969fece77d1b96f42d1596f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
8 years agoCoverage - rpc manager and context 21/24621/1
Michal Rehak [Thu, 30 Jul 2015 08:55:19 +0000 (10:55 +0200)]
Coverage - rpc manager and context

Change-Id: I8ee20f13633e2010767758447a66b80cb026faeb
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4068: RpcContextImpl doesn't close rpcRegistrations correctly 20/24620/1
Michal Rehak [Thu, 30 Jul 2015 08:53:33 +0000 (10:53 +0200)]
BUG-4068: RpcContextImpl doesn't close rpcRegistrations correctly

 - fixed onDeviceContextClosed() method

Change-Id: I934abf198cc0101a53c9f4651d0ccad019c93985
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoCoverage - karaf commands - ResetSessionStat 09/24609/3
Michal Rehak [Wed, 29 Jul 2015 14:53:11 +0000 (16:53 +0200)]
Coverage - karaf commands - ResetSessionStat

Change-Id: I56704760a5897f8a89fea035053d255a82ccae5c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBUG-4065: Karaf command ResetSessionStats resets wrong counter 08/24608/3
Michal Rehak [Wed, 29 Jul 2015 14:51:08 +0000 (16:51 +0200)]
BUG-4065: Karaf command ResetSessionStats resets wrong counter

 - copy-paste error - resetting wrong counter
 - added missing reset method into SessionStatistics
 - fixed the target of counter reset in ResetSessionStatsComandProvider

Change-Id: I0e15e3e82508cd8d5883bdd870839d90bfb8ec4c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoCoverage - karaf commands - ofp/impl/karaf 07/24607/3
Michal Rehak [Wed, 29 Jul 2015 14:30:37 +0000 (16:30 +0200)]
Coverage - karaf commands - ofp/impl/karaf

Change-Id: I0db686de47ebcfb90bf31143f1cc7c1632de39b7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "BUG-4034: Missing barrier after flow remove"
Abhijit Kumbhare [Wed, 29 Jul 2015 13:27:45 +0000 (13:27 +0000)]
Merge "BUG-4034: Missing barrier after flow remove"

8 years agoMerge "Coverage - SalTableServiceImpl."
michal rehak [Wed, 29 Jul 2015 13:26:29 +0000 (13:26 +0000)]
Merge "Coverage - SalTableServiceImpl."

8 years agoMerge "BUG-4032: Missing topology-lldp-discovery config"
Abhijit Kumbhare [Wed, 29 Jul 2015 13:25:02 +0000 (13:25 +0000)]
Merge "BUG-4032: Missing topology-lldp-discovery config"

8 years agoCoverage - MessageIntelligenceAgencyImpl. 66/24566/3
Jozef Gloncak [Mon, 27 Jul 2015 09:11:45 +0000 (11:11 +0200)]
Coverage - MessageIntelligenceAgencyImpl.

Increase code coverage for MessageIntelligenceAgencyImpl.

Change-Id: I16000bb415f1b58e0b94113f5dc9b27c6e0fb1c1
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>