openflowplugin.git
7 years agoImplement SalExperimenterMpMessageService 68/47668/1
Tomas Slusny [Thu, 27 Oct 2016 12:35:19 +0000 (14:35 +0200)]
Implement SalExperimenterMpMessageService

Add missing implementation for experimenter multipart message
RPC service and register it as routed RPC implementation

Resolves: bug 6820

Change-Id: I5646f93dd6375b729e995a9e60e6d688f1508559
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.tech>
7 years agoImprove cleanup after device disconnected event 90/46390/24
Tomas Slusny [Mon, 3 Oct 2016 15:43:08 +0000 (17:43 +0200)]
Improve cleanup after device disconnected event

- Ensure that all contexts are removed from managers at once
  at end of disconnect chain right before unregistration from
  cluster singleton service
- Prevent closing some services multiple times during device
  disconnect chain
- Prevent some NPEs in DeviceInitializationUtils what was caused
  by connecting and disconnecting device with no time in between
- Unify all openflow managers to implement OFPManager interface
- Ensure that when we will fail to set device to SLAVE we will wait
  until device is removed from operational DS and then continue

Resolves: bug 6672
See also: bug 6710, bug 5271

Change-Id: I3845c7d2a9147125b185d3abcc3fc8dd63ba5da8
Depends-On: I15f89cbd43310b0a8e4b7ac78595eeaaa82a65ee
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "BUG-6890:"
Jozef Bacigal [Mon, 24 Oct 2016 11:14:53 +0000 (11:14 +0000)]
Merge "BUG-6890:"

7 years agoFix direct statistics 14/47414/1
miroslav.macko [Mon, 24 Oct 2016 09:14:37 +0000 (11:14 +0200)]
Fix direct statistics

- Initialize statistics gathering

Resolves: bug 7007

Change-Id: I0970b3c690f0771dbd1637405e3064a984b1ef4c
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
7 years agoBug: 6930 Notiifcation-suppliers was broken 66/46866/10
GauravBhagwani [Thu, 13 Oct 2016 08:09:34 +0000 (13:39 +0530)]
Bug: 6930 Notiifcation-suppliers was broken

Review contains changes required for making notification-supplier as per
Blueprint Injection method
- Removed Config Subsystem parts - Yang, Config XML, Modules/ModuleFactory
- Added Blueprint XML for notification-supplier
- Removed Config Dependency from features Pom
- Removed references to Config XML

Change-Id: Ifbdcb21140903a668ad0b8dd6e2df666b7e3e37f
Signed-off-by: GauravBhagwani <gaurav.bhagwani@ericsson.com>
7 years agoBUG-6890: 02/47002/8
Shuva Kar [Mon, 17 Oct 2016 08:57:59 +0000 (14:27 +0530)]
BUG-6890:

Fix to provide default values for configurable parameters by
handling the NumberFormatException in case the configurable
parameters are either null or absent

Change-Id: Idb37565167778a900732df2dfef428847b0efd3b
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoFix flow matching function 38/47138/3
miroslav.macko [Tue, 18 Oct 2016 17:06:30 +0000 (19:06 +0200)]
Fix flow matching function

- If flow is not present in DeviceFlowRegistry,
  don't write to operational DS.
- Update SalFlowService "update" method
- Update Unit tests

Resolves: bug 6917

Change-Id: If07e94be2d2e8564a2d39d88aec0ea5ea6ac7d19
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
7 years agoMerge "BUG-6890: Edit to cfg file reflecting that statistics collection is turned...
Jozef Bacigal [Thu, 20 Oct 2016 13:06:08 +0000 (13:06 +0000)]
Merge "BUG-6890: Edit to cfg file reflecting that statistics collection is turned on by default"

7 years agoRevert "Revert "Move the Openflow connections blueprint to OpenflowJava project"" 17/47117/8
Michal Polkorab [Wed, 19 Oct 2016 13:04:51 +0000 (15:04 +0200)]
Revert "Revert "Move the Openflow connections blueprint to OpenflowJava project""

This reverts commit e84b8d9e2c0e38a950db4295a61b24dd77538e01.

Change-Id: I1c79ddcb0041d4599e82fa5f6ed227d530dfab97
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
7 years agoMerge "Remove RoleManager and RoleContext"
Shuva Jyoti Kar [Thu, 20 Oct 2016 07:05:20 +0000 (07:05 +0000)]
Merge "Remove RoleManager and RoleContext"

7 years agoBUG-6890: Edit to cfg file reflecting that statistics 67/47067/1
Shuva Kar [Tue, 18 Oct 2016 11:31:06 +0000 (17:01 +0530)]
BUG-6890: Edit to cfg file reflecting that statistics
collection is turned on by default

Change-Id: I8a97cb11b1b98189a04daed50961b4a912113749
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoRemove RoleManager and RoleContext 03/47003/2
Jozef Bacigal [Mon, 17 Oct 2016 10:25:32 +0000 (12:25 +0200)]
Remove RoleManager and RoleContext

- no more functionality for role manager (after Singleton changes)
- all remain functionality from role-mng and ctx were moved to device-mgn and ctx

Change-Id: I1cc1ef23c45da7b9a4288194caa7f88f7534e409
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBUG-6890: Updated the cfg file with detailed description 93/46993/2
Shuva Kar [Mon, 17 Oct 2016 05:55:36 +0000 (11:25 +0530)]
BUG-6890: Updated the cfg file with detailed description
of usage

Change-Id: Ibe772a29107296cb96cf4aa48c1d3cb2dee4f3b2
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBUG-6890: Enabling statistics collection through a config 18/46718/4
Shuva Kar [Mon, 10 Oct 2016 08:40:27 +0000 (14:10 +0530)]
BUG-6890: Enabling statistics collection through a config
parameter in openflowplugin.cfg

Change-Id: If7dbedd50d7f23a075c53279654e36d33b212867
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBUG-6890: Enabling echo timout configurable through 17/46717/3
Shuva Kar [Mon, 10 Oct 2016 08:27:43 +0000 (13:57 +0530)]
BUG-6890: Enabling echo timout configurable through
config file

Change-Id: I3ff729b418809e8342a491ac6ab2a102f5a1ffe5
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBUG-6890: Enabling barrier configurability through 14/46714/3
Shuva Kar [Mon, 10 Oct 2016 07:11:03 +0000 (12:41 +0530)]
BUG-6890: Enabling barrier configurability through
cfg file

Change-Id: Iaada857a439c7774c6e31c27cc7be1b26c68ad1b
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoRevert "Move the Openflow connections blueprint to OpenflowJava project" 52/46952/1
Jozef Bacigal [Fri, 14 Oct 2016 13:20:40 +0000 (15:20 +0200)]
Revert "Move the Openflow connections blueprint to OpenflowJava project"

This reverts commit f44ebeb5ca3e25ff4c863f374ed8b9b33466e991.

Change-Id: Ib95293482546888bbe678bf60c29c14fe4f972b3
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoMerge "Optimize LLDP packet check"
Jozef Bacigal [Fri, 14 Oct 2016 06:23:25 +0000 (06:23 +0000)]
Merge "Optimize LLDP packet check"

7 years agoMerge "BUG-6890: Enabling statistics rpc config through openflowplugin.cfg"
Jozef Bacigal [Fri, 14 Oct 2016 06:10:51 +0000 (06:10 +0000)]
Merge "BUG-6890: Enabling statistics rpc config through openflowplugin.cfg"

7 years agoBUG-6890: Enabling statistics rpc config through 10/46710/6
Shuva Kar [Mon, 10 Oct 2016 04:39:42 +0000 (10:09 +0530)]
BUG-6890: Enabling statistics rpc config through
openflowplugin.cfg

Change-Id: I54d1de2eac18b5cde38150cbdc21174d7111f740
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoMove the Openflow connections blueprint to OpenflowJava project 19/46519/2
Mohamed El-Serngawy [Tue, 4 Oct 2016 20:50:37 +0000 (16:50 -0400)]
Move the Openflow connections blueprint to OpenflowJava project

This patch is related to https://git.opendaylight.org/gerrit/#/c/46518/
Moving the Openflow connections (defaultSwitchConnProvider and legacySwitchConnProvider)
blueprint to OpenflowJava project as its config data model "openflow-switch-connection-provider-impl"
exist in OpenflowJava project

Change-Id: Ic6db83e98d57cf17ef5883d64755118214815731
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
7 years agoOptimize LLDP packet check 28/46728/3
miroslav.macko [Fri, 7 Oct 2016 09:19:57 +0000 (11:19 +0200)]
Optimize LLDP packet check

Deserialize only LLDP packets.

See also: bug 1462

Change-Id: Ibdd2f3eb0dfe784fd235e51a591da64971c2afd3
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
7 years agoBug 6745 SimplifiedOperationalListener optimation 94/46394/6
miroslav.macko [Mon, 3 Oct 2016 16:07:15 +0000 (18:07 +0200)]
Bug 6745 SimplifiedOperationalListener optimation

- optimize processNodeModification method
- update test

Change-Id: I941a84bff4322c2b2b64f8404791ec6d00a9d200
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
7 years agoMerge "Bug 6745 Do not skip first data for reconciliation"
Jozef Bacigal [Mon, 3 Oct 2016 07:33:05 +0000 (07:33 +0000)]
Merge "Bug 6745 Do not skip first data for reconciliation"

7 years agoBug 6745 Do not skip first data for reconciliation 54/46254/2
Andrej Leitner [Wed, 28 Sep 2016 12:45:46 +0000 (14:45 +0200)]
Bug 6745 Do not skip first data for reconciliation

 - we can accept first modification since all statistics
   are intentionally collected in one step on startup
 - added test
 - updated comments

Change-Id: I94590fb268accb0237260a09d184c2cecd1fb324
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoFix unregistering of cluster services 21/46321/2
Tomas Slusny [Fri, 30 Sep 2016 11:16:17 +0000 (13:16 +0200)]
Fix unregistering of cluster services

When unregistering cluster singleton services, check if we are not
already in unregistering phase, and if yes, skip this process. Also,
chain stopClusterServices futures properly, so Singleton will know, when
to finish unregistering.

See also: bug 6672

Change-Id: I07e077eb7dd655b6af9e4e3ee61e46163b8538b0
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoCreate SemaphoreKeeper inside decorators 44/46244/1
Andrej Leitner [Wed, 28 Sep 2016 07:17:40 +0000 (09:17 +0200)]
Create SemaphoreKeeper inside decorators

Change-Id: I29fb2da53d32b331459a4492ca15a4081ea79195
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "Bug 6745 Improve compression queue locking and handle InterruptedException"
Jozef Bacigal [Wed, 28 Sep 2016 07:57:51 +0000 (07:57 +0000)]
Merge "Bug 6745 Improve compression queue locking and handle InterruptedException"

7 years agoMerge "Revert "Bug 6745 Do not ignore syncup return value""
Jozef Bacigal [Tue, 27 Sep 2016 13:39:08 +0000 (13:39 +0000)]
Merge "Revert "Bug 6745 Do not ignore syncup return value""

7 years agoBug 6745 Improve compression queue locking and handle InterruptedException 22/46222/1
Andrej Leitner [Tue, 27 Sep 2016 12:13:29 +0000 (14:13 +0200)]
Bug 6745 Improve compression queue locking and handle InterruptedException

 - compression queue could be locked per device and not for every change
   since there is only one entry per device in it
 - IE handled in one place

Change-Id: Ic28b448d619c663757f391e7a443b28c8f6a871d
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoAdd finals and move thread name constant to provider 95/46195/3
Andrej Leitner [Mon, 26 Sep 2016 14:24:18 +0000 (16:24 +0200)]
Add finals and move thread name constant to provider

 - add onDTC annotations
 - code cleanup

Change-Id: I585d08e67138805672d19293892358205650c998
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoRevert "Bug 6745 Do not ignore syncup return value" 10/46210/1
Andrej Leitner [Tue, 27 Sep 2016 06:59:17 +0000 (08:59 +0200)]
Revert "Bug 6745 Do not ignore syncup return value"

This reverts commit df561a83c33b7af9818d8d0d0e8e6b00f7a37a93.

Change-Id: I9133264ba297bf4293a50e26e1d2e1051df1f093
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "Bug 6745 Set compression semaphore to fair"
Jozef Bacigal [Mon, 26 Sep 2016 15:32:46 +0000 (15:32 +0000)]
Merge "Bug 6745 Set compression semaphore to fair"

7 years agoMerge "Bug 6745 Do not ignore syncup return value"
Jozef Bacigal [Mon, 26 Sep 2016 15:32:41 +0000 (15:32 +0000)]
Merge "Bug 6745 Do not ignore syncup return value"

7 years agoMerge "Bug 6745 Remove thread renaming and unnecessary logging"
Jozef Bacigal [Mon, 26 Sep 2016 15:32:34 +0000 (15:32 +0000)]
Merge "Bug 6745 Remove thread renaming and unnecessary logging"

7 years agoMerge "Bug 6745 Fix replacing in compression queue"
Jozef Bacigal [Mon, 26 Sep 2016 14:53:55 +0000 (14:53 +0000)]
Merge "Bug 6745 Fix replacing in compression queue"

7 years agoBug 6745 Set compression semaphore to fair 82/46182/2
Andrej Leitner [Mon, 26 Sep 2016 10:55:43 +0000 (12:55 +0200)]
Bug 6745 Set compression semaphore to fair

 - prevent changing the order of incoming changes

Change-Id: If7df69334b2ff8217986cd933e25463cb6e90171
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6745 Do not ignore syncup return value 81/46181/2
Andrej Leitner [Mon, 26 Sep 2016 09:40:18 +0000 (11:40 +0200)]
Bug 6745 Do not ignore syncup return value

Change-Id: Ide811a0db0d684dc3b37ea3f6707d779162cb87f
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6745 Remove thread renaming and unnecessary logging 80/46180/2
Andrej Leitner [Mon, 26 Sep 2016 08:05:36 +0000 (10:05 +0200)]
Bug 6745 Remove thread renaming and unnecessary logging

 - change name format for thread pool
 - remove thread renaming and useless logging
 - remove duplicit time logging
 - update return values

Change-Id: I78abca1870d278c162a7f717ff800dd37c1d4234
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6745 Fix replacing in compression queue 68/46168/3
Andrej Leitner [Mon, 26 Sep 2016 08:29:26 +0000 (10:29 +0200)]
Bug 6745 Fix replacing in compression queue

 When there were more changes in a row on startup it could happend
 that the first syncup entry (config-operational) was not updated
 but replaced with following config-config changes. Therefore we need
 to update syncup entry in compression queue everytime when new config
 diff is comming (not only if config-config entry resides there).

Change-Id: I9d73fb348f5e1ace1b138052bcd2a5614946efa9
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoWrite SwitchFeatures to operational datastore 67/46167/1
Tomas Slusny [Mon, 26 Sep 2016 08:34:02 +0000 (10:34 +0200)]
Write SwitchFeatures to operational datastore

Ensures that SwitchFeatures are written to operational
datastore during device initialization in Lithium design.

Fixes: bug 6764
Change-Id: Ib32f15b73febe4d9115884d418bfe87b8e716635
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoRemove reference to sal-inmemory-datastore config system file 27/44627/3
Alexis de Talhouët [Wed, 24 Aug 2016 20:42:20 +0000 (16:42 -0400)]
Remove reference to sal-inmemory-datastore config system file

As it was removed from the controller

Change-Id: Ied428beee2f46cfd000afcf9ca56e0f25c8c5594
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
7 years agoRemove excessive (trace) logging in FRS 72/45972/7
Andrej Leitner [Wed, 21 Sep 2016 12:34:38 +0000 (14:34 +0200)]
Remove excessive (trace) logging in FRS

 - removed not so necessary logging + some updates
 - added some finals
 - simplify statements

Change-Id: I0db57a38a45efd6bb8334a9f05cdba991bff556d
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "BUG-6118: making the OFentityListener aware of the InJeopardy() flag"
Anil Vishnoi [Wed, 21 Sep 2016 07:09:23 +0000 (07:09 +0000)]
Merge "BUG-6118: making the OFentityListener aware of the InJeopardy() flag"

7 years agoMerge "ClusterSingletonService cleaning FRM/FRS"
Jozef Bacigal [Wed, 21 Sep 2016 06:52:28 +0000 (06:52 +0000)]
Merge "ClusterSingletonService cleaning FRM/FRS"

7 years agoMerge "Create DeviceMasterShipManager before forwarders"
Jozef Bacigal [Wed, 21 Sep 2016 06:38:47 +0000 (06:38 +0000)]
Merge "Create DeviceMasterShipManager before forwarders"

7 years agoFix translation to *packet.received.MatchBuilder 69/45869/2
Tomas Slusny [Tue, 20 Sep 2016 07:22:45 +0000 (09:22 +0200)]
Fix translation to *packet.received.MatchBuilder

Fix incorrect cast of *flow.MatchBuilder to
*packet.received.MatchBuilder in Helium plugin, what
was causing PacketInTranslator to be broken.

Fixes: bug 6456
Change-Id: I9e42402a3599dd2e0a91381019c4ca86e8294aa2
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoCreate DeviceMasterShipManager before forwarders 77/45877/2
Tomas Slusny [Tue, 20 Sep 2016 09:11:16 +0000 (11:11 +0200)]
Create DeviceMasterShipManager before forwarders

This prevents NPE when forwarder receives DataTreeChange
event faster thatn DeviceMasterShipManager is created.

Fixes: bug 6459
Change-Id: Ifb9d4520b58d9f5fc265934968386641c60772ef
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "Bug 6749: Set the openflow connection config at xml file"
Shuva Jyoti Kar [Tue, 20 Sep 2016 11:14:42 +0000 (11:14 +0000)]
Merge "Bug 6749: Set the openflow connection config at xml file"

7 years agoBug 6749: Set the openflow connection config at xml file 58/45758/2
melserngawy [Fri, 16 Sep 2016 21:15:51 +0000 (17:15 -0400)]
Bug 6749: Set the openflow connection config at xml file

Set the openflow connections (default and legacy) inital configuration
to xml file to be able to change it after starting the distribution

The openflow TLS configuration was missing in the blueprint,
add it with default values

Change-Id: Iad34bd3d7e237da52fe3193c4ad6d6ff2141358c
Signed-off-by: melserngawy <melserngawy@inocybe.com>
7 years agoUpdate comments and imports after DataChangeListener changes 37/45837/2
Andrej Leitner [Mon, 19 Sep 2016 16:40:43 +0000 (18:40 +0200)]
Update comments and imports after DataChangeListener changes

Change-Id: Ic8174cc2627deb12d48f6d41444f2e9b4dc60406
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "Update comments around flat-batch service"
Jozef Bacigal [Mon, 19 Sep 2016 12:33:38 +0000 (12:33 +0000)]
Merge "Update comments around flat-batch service"

7 years agoMerge "Convert openflowplugin-it to use DTCL instead of DCL"
Jozef Bacigal [Mon, 19 Sep 2016 12:32:48 +0000 (12:32 +0000)]
Merge "Convert openflowplugin-it to use DTCL instead of DCL"

7 years agoMerge "Update old links in code to deprecated DataChangeListener"
Jozef Bacigal [Mon, 19 Sep 2016 12:32:42 +0000 (12:32 +0000)]
Merge "Update old links in code to deprecated DataChangeListener"

7 years agoMerge "Convert OF samples to use DTCL instead of DCL"
Jozef Bacigal [Mon, 19 Sep 2016 12:32:36 +0000 (12:32 +0000)]
Merge "Convert OF samples to use DTCL instead of DCL"

7 years agoFix connection closing before initialization 26/45526/5
Tomas Slusny [Tue, 13 Sep 2016 06:26:15 +0000 (08:26 +0200)]
Fix connection closing before initialization

Check if connection is fully initialized when closing
objects created during initialization phase to prevent
NPEs, what can cause incorrect close of connection
and later program unstability.

Also, increase timeout to propagate role to 10 seconds
in case of slower machine.

Resolves: bug 5271
See also: bug 6672

Change-Id: I0f009edf5fe3b382e2bfee64f72036ba599ccc5d
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.tech>
7 years agoMerge "Bug 6665 Clean code"
Jozef Bacigal [Mon, 19 Sep 2016 08:30:48 +0000 (08:30 +0000)]
Merge "Bug 6665 Clean code"

7 years agoMerge "Bug 6665 - Fix switches scalability"
Jozef Bacigal [Mon, 19 Sep 2016 08:30:26 +0000 (08:30 +0000)]
Merge "Bug 6665 - Fix switches scalability"

7 years agoConvert openflowplugin-it to use DTCL instead of DCL 85/45585/5
Andrej Leitner [Wed, 14 Sep 2016 14:39:28 +0000 (16:39 +0200)]
Convert openflowplugin-it to use DTCL instead of DCL

Change-Id: I8a3f3b690bef5d29dcd9b51e243bd83ad5c501c6
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoUpdate old links in code to deprecated DataChangeListener 36/45536/3
Andrej Leitner [Tue, 13 Sep 2016 12:57:50 +0000 (14:57 +0200)]
Update old links in code to deprecated DataChangeListener

 - update old links to DataChangeListener in comments, logs,
   names of variables since DataTreeChangeListener is already used
 - optimize imports and cleanup

Change-Id: I20f3359f5f7c4bbd3af844bc45506a5575c98285
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoConvert OF samples to use DTCL instead of DCL 83/45583/2
Andrej Leitner [Wed, 14 Sep 2016 14:25:50 +0000 (16:25 +0200)]
Convert OF samples to use DTCL instead of DCL

Change-Id: I53eebe8672996ed4351240a8c649e6c2815e8a0c
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "Bug 6633 : NXM_OF_IN_PORT support in openflowplugin"
Shuva Jyoti Kar [Thu, 15 Sep 2016 16:15:15 +0000 (16:15 +0000)]
Merge "Bug 6633 : NXM_OF_IN_PORT support in openflowplugin"

7 years agoClusterSingletonService cleaning FRM/FRS 50/44850/2
Andrej Leitner [Tue, 30 Aug 2016 13:16:51 +0000 (15:16 +0200)]
ClusterSingletonService cleaning FRM/FRS

Change-Id: I7c9a31ccab5b7b79b318cc7b59742aa5652e41f8
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoUpdate comments around flat-batch service 34/45534/1
Andrej Leitner [Tue, 13 Sep 2016 12:16:26 +0000 (14:16 +0200)]
Update comments around flat-batch service

Change-Id: I62f3ccbf38fd6f5aeb830e55c5f60923c6f8e8da
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6665 Clean code 11/45411/3
Jozef Bacigal [Thu, 8 Sep 2016 14:56:30 +0000 (16:56 +0200)]
Bug 6665 Clean code

Change-Id: Ia87a66c37f906a3351f3a982209f6778f7c8a311
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBug 6665 - Fix switches scalability 84/45384/3
Jozef Bacigal [Thu, 8 Sep 2016 09:25:30 +0000 (11:25 +0200)]
Bug 6665 - Fix switches scalability

- Stop gathering services if going to be slave or disconected
- Duplicate code removed in role context
- Lifecycle service LOG info cleaning
- Propagate close even if we are in close state
- NPE in statistics manager
- Test correction

Change-Id: Iaad1a8ed4abc3d39014713ca018d6357f8a95267
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBug 6633 : NXM_OF_IN_PORT support in openflowplugin 92/45192/5
Chetan A G [Tue, 6 Sep 2016 04:21:48 +0000 (09:51 +0530)]
Bug 6633 : NXM_OF_IN_PORT support in openflowplugin

Description : OVS split-horizon logic will drop pkts by default if value
of in_port and out_port is same. But, if we have two vlan-trunk member
VM for which trunk interface is same, the connectivity between these two
VM cannot be established as OVS drops such packets. So, it is required to
override the value of in_port so that split_horizon check is bypassed.
Nicra NXM_OF_IN_PORT support is required in order to achieve this. The
in_port value will be overrriden using load(ex:
load:0x1->NXM_OF_IN_PORT[]).

Change-Id: Ica0a1b2da27fc189b8906462a4420473215a22af
Signed-off-by: xcheara <chetan.arakere@altencalsoftlabs.com>
7 years agoBUG-6595: Need more information in logging 23/45023/5
Shuva Kar [Thu, 1 Sep 2016 16:33:25 +0000 (22:03 +0530)]
BUG-6595: Need more information in logging

Enabling port information in the logging to
understand better which port status addition
is failing

Change-Id: I9eb116fa58e85ddb711ca423071ee1d78a088f19
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoMerge "Bug 6554 Fix rejecting connections"
Jozef Bacigal [Wed, 7 Sep 2016 06:23:56 +0000 (06:23 +0000)]
Merge "Bug 6554 Fix rejecting connections"

7 years agoMerge "Bug 6176 - Decrease logging level in Sal-F/G/M-Service and use synchronized...
Jozef Bacigal [Wed, 7 Sep 2016 06:23:45 +0000 (06:23 +0000)]
Merge "Bug 6176 - Decrease logging level in Sal-F/G/M-Service and use synchronized BiMap"

7 years agoBug 6554 Fix rejecting connections 64/44664/10
Jozef Bacigal [Mon, 22 Aug 2016 11:42:50 +0000 (13:42 +0200)]
Bug 6554 Fix rejecting connections

- two way device context close removed
- txManager lambda improvements
- txManager logs improvements
- device context lazy initialization
- role context close improvement

Change-Id: I1a9f5890f267ada9a2978f9a92f792ab2411c1aa
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBUG-6118: making the OFentityListener aware of the InJeopardy() flag 53/40953/5
Shuva Kar [Tue, 28 Jun 2016 15:52:31 +0000 (21:22 +0530)]
BUG-6118: making the OFentityListener aware of the InJeopardy() flag

Change-Id: I8e489b9afd7f433b924e009fe8ba64166b7c146e
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBug 6542 FRS - prevent concurrent reconciliation node config add 10/44710/5
Andrej Leitner [Fri, 26 Aug 2016 11:18:03 +0000 (13:18 +0200)]
Bug 6542 FRS - prevent concurrent reconciliation node config add

 - unregister for reconciliation if there was an attempt but no
   config present for node
 - when node config is added essentially reconciliation is done
 - junit updates

Change-Id: Ic8f759e1638285ef7e82a35a0c9d330a2b0340e7
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6176 - Decrease logging level in Sal-F/G/M-Service and use synchronized BiMap 68/44868/5
Andrej Leitner [Tue, 30 Aug 2016 15:09:28 +0000 (17:09 +0200)]
Bug 6176 - Decrease logging level in Sal-F/G/M-Service and use synchronized BiMap

 - decrease logging level to prevent overloading of netty
   thread with logging errors (seen in troughput test)
 - despite the fact that unsuccesful RPCresult brings errors
   from device there is no reason for throwing error since
   it is not error of karaf ot OFP itself (therefore debug)
 - change BiMap to synchronized because of ConcurrentModificationException
   seen in tests

Change-Id: Ia37212647a9c119ecd51d6685ea8fffb8ee94a39
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6524 FlowDescriptor instead of SwitchFlowId in FRS 62/44662/3
Andrej Leitner [Wed, 24 Aug 2016 14:10:27 +0000 (16:10 +0200)]
Bug 6524 FlowDescriptor instead of SwitchFlowId in FRS

Change-Id: Ibb02c310be27f02c7543e157d2f5e7ca7cc430a8
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6513 Remove FD from registry immediately 56/44556/6
Andrej Leitner [Tue, 23 Aug 2016 13:15:14 +0000 (15:15 +0200)]
Bug 6513 Remove FD from registry immediately

 - remove FlowDescriptor from DeviceFlowRegistry immeadiately
   instead of marking it as to-be-removed
 - updated tests

Change-Id: I269a510fa67b6d04181039515aaefda90b53b827
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoMerge "Bug 6465 Controller goes into slave mode"
Shuva Jyoti Kar [Mon, 22 Aug 2016 06:23:20 +0000 (06:23 +0000)]
Merge "Bug 6465 Controller goes into slave mode"

7 years agoBug 6465 Controller goes into slave mode 46/44146/7
Jozef Bacigal [Wed, 17 Aug 2016 11:52:50 +0000 (13:52 +0200)]
Bug 6465 Controller goes into slave mode

- Changed lifecycle service in order to
create lazy initilization of context in cluster
- Removed clustering initialization per context
- Changed reconnect strategy if not in disconnecting state
- Some performance improvements
- Removed OFManager general API

Change-Id: I37e8f99a0590633a3e5c179b092c6b1c65e9cb1d
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoMerge "BUG-6458:"
Shuva Jyoti Kar [Fri, 19 Aug 2016 01:24:35 +0000 (01:24 +0000)]
Merge "BUG-6458:"

7 years agoBUG-6458: 44/44244/8
Shuva Kar [Thu, 18 Aug 2016 11:00:27 +0000 (16:30 +0530)]
BUG-6458:

The issue occurred since during update the older
flowregistry key wasnot getting removed when the
newer one was getting stored. This was because the
match/priority/cookie all forms part of the flow-registry
key.

Change-Id: Ibed34e79b6310723f7c8078bf54b8a2b4f9ab2b2
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBUG-5464,5954: making table features configurable for the Li plugin. 21/42821/17
Shuva Kar [Sat, 30 Jul 2016 11:28:10 +0000 (16:58 +0530)]
BUG-5464,5954: making table features configurable for the Li plugin.
DEFAULT will be OFF, can be TURNED ON.

Change-Id: I22a7ad0cb74515d7c203f851a62be0b4a896ea1d
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoMerge "Bug 6366 - of-switch-config-pusher - DTCL instead of DTL"
Shuva Jyoti Kar [Wed, 17 Aug 2016 14:16:05 +0000 (14:16 +0000)]
Merge "Bug 6366 - of-switch-config-pusher - DTCL instead of DTL"

7 years agoMerge "Bug 5596 Singleton API test"
Shuva Jyoti Kar [Wed, 17 Aug 2016 12:13:55 +0000 (12:13 +0000)]
Merge "Bug 5596 Singleton API test"

7 years agoMerge "Adding learn action"
Anil Vishnoi [Tue, 16 Aug 2016 15:13:02 +0000 (15:13 +0000)]
Merge "Adding learn action"

7 years agoBug 5596 Singleton API test 59/44059/1
Jozef Bacigal [Tue, 16 Aug 2016 12:01:00 +0000 (14:01 +0200)]
Bug 5596 Singleton API test

- added missing test for lifecycle service
- added missing test for role context

Change-Id: I306a668fa7748c3b1ee658f5225ba64bea6412e9
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoMerge "Bug 6374 topology-manager - DTCL instead of DTL"
Shuva Jyoti Kar [Tue, 16 Aug 2016 07:04:54 +0000 (07:04 +0000)]
Merge "Bug 6374 topology-manager - DTCL instead of DTL"

7 years agoMerge "Removed duplicate declaration in pom.xml."
Shuva Jyoti Kar [Tue, 16 Aug 2016 05:44:32 +0000 (05:44 +0000)]
Merge "Removed duplicate declaration in pom.xml."

7 years agoMerge "Bug 6278: Switch to use odlparent's karaf-parent"
Shuva Jyoti Kar [Mon, 15 Aug 2016 15:42:03 +0000 (15:42 +0000)]
Merge "Bug 6278: Switch to use odlparent's karaf-parent"

7 years agoMerge "SONAR TD - Remove unused fields, fix naming"
Shuva Jyoti Kar [Mon, 15 Aug 2016 14:44:31 +0000 (14:44 +0000)]
Merge "SONAR TD - Remove unused fields, fix naming"

7 years agoMerge "SONAR TD - StatisticsContextImpl, StatisticsManagerImpl"
Shuva Jyoti Kar [Mon, 15 Aug 2016 14:41:12 +0000 (14:41 +0000)]
Merge "SONAR TD - StatisticsContextImpl, StatisticsManagerImpl"

7 years agoMerge "SONAR TD - FlatBatchUtil, DeviceInitializationUtils"
Shuva Jyoti Kar [Mon, 15 Aug 2016 14:00:10 +0000 (14:00 +0000)]
Merge "SONAR TD - FlatBatchUtil, DeviceInitializationUtils"

7 years agoMerge "Removed unused logger and fixed javadoc links"
Jozef Bacigal [Mon, 15 Aug 2016 13:51:34 +0000 (13:51 +0000)]
Merge "Removed unused logger and fixed javadoc links"

7 years agoMerge "Bug 6380 lldp-speaker - DTCL instead of DTL"
Jozef Bacigal [Mon, 15 Aug 2016 13:51:30 +0000 (13:51 +0000)]
Merge "Bug 6380 lldp-speaker - DTCL instead of DTL"

7 years agoMerge "Sonar - technical debt of FRS app"
Shuva Jyoti Kar [Mon, 15 Aug 2016 13:50:21 +0000 (13:50 +0000)]
Merge "Sonar - technical debt of FRS app"

7 years agoBug 6278: Switch to use odlparent's karaf-parent 23/42723/2
Ryan Goulding [Thu, 28 Jul 2016 16:01:29 +0000 (12:01 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: If65dbe7d41cee7f14f56479634627d107df50d6f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoMerge "SONAR TD - Group actions redundancy"
Jozef Bacigal [Mon, 15 Aug 2016 13:28:34 +0000 (13:28 +0000)]
Merge "SONAR TD - Group actions redundancy"

7 years agoMerge "SONAR TD - Sal*ServiceImpl"
Jozef Bacigal [Mon, 15 Aug 2016 13:25:00 +0000 (13:25 +0000)]
Merge "SONAR TD - Sal*ServiceImpl"

7 years agoMerge "SONAR TD - AbstractService"
Jozef Bacigal [Mon, 15 Aug 2016 12:56:49 +0000 (12:56 +0000)]
Merge "SONAR TD - AbstractService"

7 years agoMerge "SONAR TD - *ToNotificationTransformer private constr."
Jozef Bacigal [Mon, 15 Aug 2016 12:54:00 +0000 (12:54 +0000)]
Merge "SONAR TD - *ToNotificationTransformer private constr."

7 years agoMerge "Technical debt MeterUtil, GroupUtil, FlowUtil"
Jozef Bacigal [Mon, 15 Aug 2016 12:52:10 +0000 (12:52 +0000)]
Merge "Technical debt MeterUtil, GroupUtil, FlowUtil"