openflowplugin.git
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 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 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"

7 years agoMerge "Drop Felix Gogo"
Jozef Bacigal [Mon, 15 Aug 2016 12:50:06 +0000 (12:50 +0000)]
Merge "Drop Felix Gogo"

7 years agoSONAR TD - StatisticsContextImpl, StatisticsManagerImpl 46/42046/4
Tomas Slusny [Tue, 19 Jul 2016 12:51:28 +0000 (14:51 +0200)]
SONAR TD - StatisticsContextImpl, StatisticsManagerImpl

- Reduced cyclomatic complexity of
  StatisticsContextImpl.chooseStat
- Reduced cyclomatic complexity of
  StatisticsManagerImpl.pollStatistics
- Fixed naming of instance fields to match
  '^[a-z][a-zA-Z0-9]*$' expression

Change-Id: Ieb9d06cda534b01240ba2a952c927667ece5565b
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "Bug 5596 - restart devices management improvement"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:50 +0000 (12:29 +0000)]
Merge "Bug 5596 - restart devices management improvement"

7 years agoMerge "Bug 6357 - FRM integration with singleton"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:42 +0000 (12:29 +0000)]
Merge "Bug 6357 - FRM integration with singleton"

7 years agoMerge "Bug 5596 Initial commit failed"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:35 +0000 (12:29 +0000)]
Merge "Bug 5596 Initial commit failed"

7 years agoMerge "DeviceFlowRegistry - prevent NPE"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:29 +0000 (12:29 +0000)]
Merge "DeviceFlowRegistry - prevent NPE"

7 years agoMerge "Bug 5596 Changes when closing device"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:22 +0000 (12:29 +0000)]
Merge "Bug 5596 Changes when closing device"

7 years agoMerge "Bug 5596 Cleaning lifecycle conductor"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:15 +0000 (12:29 +0000)]
Merge "Bug 5596 Cleaning lifecycle conductor"

7 years agoMerge "Bug 5596 Cleaning part 4"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:09 +0000 (12:29 +0000)]
Merge "Bug 5596 Cleaning part 4"

7 years agoMerge "Bug 5596 Cleaning part 3"
Jozef Bacigal [Mon, 15 Aug 2016 12:29:01 +0000 (12:29 +0000)]
Merge "Bug 5596 Cleaning part 3"

7 years agoMerge "Bug 5596 Cleaning part 2"
Jozef Bacigal [Mon, 15 Aug 2016 12:28:54 +0000 (12:28 +0000)]
Merge "Bug 5596 Cleaning part 2"

7 years agoMerge "Bug 5596 Cleaning part 1"
Jozef Bacigal [Mon, 15 Aug 2016 12:28:46 +0000 (12:28 +0000)]
Merge "Bug 5596 Cleaning part 1"

7 years agoMerge "Bug 5596 Added cluster provider"
Jozef Bacigal [Mon, 15 Aug 2016 12:28:40 +0000 (12:28 +0000)]
Merge "Bug 5596 Added cluster provider"

7 years agoSonar - technical debt of FRS app 41/43741/4
Andrej Leitner [Mon, 8 Aug 2016 09:39:02 +0000 (11:39 +0200)]
Sonar - technical debt of FRS app

Change-Id: I2951c3e85f3599aec951844289de22e25b652a36
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6374 topology-manager - DTCL instead of DTL 30/43530/9
Andrej Leitner [Tue, 9 Aug 2016 16:15:02 +0000 (18:15 +0200)]
Bug 6374 topology-manager - DTCL instead of DTL

 - topology-manager app converted to use DataTreeChangeListener
   instead of deprecated DataChangeListener
 - updated tests

Change-Id: Ibc242d4dbd4238153813762bd8ed56510ccf2706
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoRemoved unused logger and fixed javadoc links 09/43609/2
Andrej Leitner [Wed, 10 Aug 2016 07:43:24 +0000 (09:43 +0200)]
Removed unused logger and fixed javadoc links

Change-Id: I595c97b39b6093d0b96f1f00a2bbc08274c8fda5
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 6380 lldp-speaker - DTCL instead of DTL 08/43608/3
Andrej Leitner [Wed, 10 Aug 2016 08:43:26 +0000 (10:43 +0200)]
Bug 6380 lldp-speaker - DTCL instead of DTL

 - lldp-speaker app converted to use DataTreeChangeListener
   instead of deprecated DataChangeListener
 - updated tests

Change-Id: I8d424e8bc6c93e2addc25a9149177ca6f7b90a27
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoSONAR TD - Group actions redundancy 62/43962/1
Tomas Slusny [Mon, 15 Aug 2016 11:38:13 +0000 (13:38 +0200)]
SONAR TD - Group actions redundancy

- Moved logic that converts list of action types to group actions bitmap
  to single method in GroupUtil

Change-Id: Ie8fc71945c4a5412c5adf88cb66d26f2d9a9a229
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoBug 6366 - of-switch-config-pusher - DTCL instead of DTL 03/43503/9
Andrej Leitner [Tue, 9 Aug 2016 12:19:17 +0000 (14:19 +0200)]
Bug 6366 - of-switch-config-pusher - DTCL instead of DTL

 - of-switch-config-pusher app converted to use DataTreeChangeListener
   instead of deprecated DataChangeListener
 - updated tests

Change-Id: Ic0f125ac87b52f67febbb16924227152a2bf7b25
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 5596 - restart devices management improvement 04/43704/3
Jozef Bacigal [Thu, 11 Aug 2016 10:54:43 +0000 (12:54 +0200)]
Bug 5596 - restart devices management improvement

Change-Id: I61b384062e780eec342d7b7eb0ffa05bc0f6c7de
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBug 6357 - FRM integration with singleton 36/43236/9
Andrej Leitner [Fri, 5 Aug 2016 11:03:20 +0000 (13:03 +0200)]
Bug 6357 - FRM integration with singleton

 - using ClusterSingletonServiceProvider instead if EOS
 - junit tests update

Change-Id: I07033627ba08e64f58fff117be57dcfe0f030d52
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBug 5596 Initial commit failed 85/43585/6
Jozef Bacigal [Wed, 10 Aug 2016 08:25:08 +0000 (10:25 +0200)]
Bug 5596 Initial commit failed

- added closing connection after unsuccessful initial submit
- added enum with possible connection state after handshake

Change-Id: I62e06f8189dc593bc40267c96d253fdfe53b3a20
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoDeviceFlowRegistry - prevent NPE 73/42673/8
Tomas Slusny [Thu, 4 Aug 2016 11:33:55 +0000 (13:33 +0200)]
DeviceFlowRegistry - prevent NPE

- Added more nonNull filters to DeviceFlowRegistry.fillFromDatastore
- Added nonNull filters when printing debug info of added flows
  in LifecycleServiceImpl
- Added more JUnit tests to test fail cases of DeviceFlowRegistry.fill
- More detailed log output for DeviceFlowRegistry

Change-Id: Iec965c8a3cee8d2c0c3276a00a4494f786344e4e
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "Bug 6372 table-miss-enforcer - DTCL instead of DTL"
Shuva Jyoti Kar [Mon, 15 Aug 2016 08:43:07 +0000 (08:43 +0000)]
Merge "Bug 6372 table-miss-enforcer - DTCL instead of DTL"

7 years agoBug 5596 Changes when closing device 05/42605/23
Jozef Bacigal [Wed, 27 Jul 2016 07:25:48 +0000 (09:25 +0200)]
Bug 5596 Changes when closing device

- speed up device closing process
- prevent to wait for closing device context
- log improvements
- Added nonNull filters when filling DeviceFlowRegistry
- Updated unit tests to test for above case

Change-Id: Ib6b22b1622f2eb6f97101719c3f746c129d05499
Signed-off-by: Jozef Bacigal <jozef.bacigal@pantheon.tech>
7 years agoBug 5596 Cleaning lifecycle conductor 67/42567/18
Jozef Bacigal [Tue, 26 Jul 2016 13:18:41 +0000 (15:18 +0200)]
Bug 5596 Cleaning lifecycle conductor

- removed lifecycle conductor

Change-Id: I7143726358c7d2145e2109e269e8d50e2c865a1f
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 5596 Cleaning part 4 46/42546/17
Jozef Bacigal [Mon, 25 Jul 2016 14:46:25 +0000 (16:46 +0200)]
Bug 5596 Cleaning part 4

Change-Id: I967cab5cb220bfbd91ff32552c0d9e8e157ab0fd
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 5596 Cleaning part 3 80/42480/17
Jozef Bacigal [Mon, 25 Jul 2016 13:41:35 +0000 (15:41 +0200)]
Bug 5596 Cleaning part 3

- Role Context
- Role Manager
- Rpc Context
- Rpc Manager

Change-Id: If9a144950a86abfef51fb3cb70c2a22e52e7fa37
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 5596 Cleaning part 2 73/42473/17
Jozef Bacigal [Mon, 25 Jul 2016 12:44:08 +0000 (14:44 +0200)]
Bug 5596 Cleaning part 2

- Statistics Context
- Statistics Manager

Change-Id: I29fc3c358207039184811e09d5c98368656a9ee0
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 5596 Cleaning part 1 65/42465/17
Jozef Bacigal [Mon, 25 Jul 2016 12:00:28 +0000 (14:00 +0200)]
Bug 5596 Cleaning part 1

- Device Context
- Device Manager
- Device State

Change-Id: I85a1269f1acc17a3e09cbe1d92fb993a9be5a4da
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoSONAR TD - FlatBatchUtil, DeviceInitializationUtils 56/42956/3
Tomas Slusny [Tue, 2 Aug 2016 10:58:01 +0000 (12:58 +0200)]
SONAR TD - FlatBatchUtil, DeviceInitializationUtils

- Removed unused fields
- Reduced cyclomatic complexity of code
- Added private constructor to DeviceInitializationUtils

Change-Id: I280c9534ad87a6d6826e2a209d07edb1ff25c624
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoBug 5596 Added cluster provider 63/42463/15
Jozef Bacigal [Tue, 19 Jul 2016 13:45:12 +0000 (15:45 +0200)]
Bug 5596 Added cluster provider

Change-Id: I1954b28bfaaf026aebb171fb5c51ef26a6df585c
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 5596 Change of start up services 29/42029/14
Jozef Bacigal [Tue, 19 Jul 2016 07:35:06 +0000 (09:35 +0200)]
Bug 5596 Change of start up services

Change-Id: I6bae36251f4d01e6d851f8f09a976e790665ef20
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoAdding learn action 02/42702/17
Slava [Thu, 28 Jul 2016 12:27:28 +0000 (15:27 +0300)]
Adding learn action

Change-Id: Iab58e54230003dc8a5ea48bbc7a4d173c305cf8f
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoBug 5596 Created lifecycle service 68/41968/12
Jozef Bacigal [Mon, 18 Jul 2016 13:46:41 +0000 (15:46 +0200)]
Bug 5596 Created lifecycle service

- created general API for cluster services
- changed OFPContext and OFPManager API

Change-Id: I6506a1dcc328e98aca21446d46b8dd09445a4b61
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoBug 6133 - and more improvements 89/42289/11
Jozef Bacigal [Fri, 22 Jul 2016 07:54:24 +0000 (09:54 +0200)]
Bug 6133 - and more improvements

- LOGs improvements
- RoleContext closing speed up
- Race condition for protocol v 1.0
- OVS remains in disconected state bug 6133

Change-Id: I220c9ab84357c58c4b6887bec76fe274fec7a03f
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
7 years agoSONAR TD - Sal*ServiceImpl 35/43035/3
Tomas Slusny [Wed, 3 Aug 2016 11:51:46 +0000 (13:51 +0200)]
SONAR TD - Sal*ServiceImpl

- Changes some anonymous classes to named inner classes
- Shortened big lambda in SalFlatBatchService

Change-Id: I04d9f73ba92928144b2de1d2a86b8c4feac0ad22
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "Bug5822:Ensuring that the flowId, is unique for a flow in a table"
Anil Vishnoi [Thu, 11 Aug 2016 15:54:40 +0000 (15:54 +0000)]
Merge "Bug5822:Ensuring that the flowId, is unique for a flow in a table"

7 years agoMerge "Fix Ipv6 format compression"
Jozef Bacigal [Thu, 11 Aug 2016 15:12:52 +0000 (15:12 +0000)]
Merge "Fix Ipv6 format compression"

7 years agoMerge "Support new matches and actions in ovs nsh patch"
Shuva Jyoti Kar [Thu, 11 Aug 2016 14:51:53 +0000 (14:51 +0000)]
Merge "Support new matches and actions in ovs nsh patch"

7 years agoFix Ipv6 format compression 41/43641/5
Andrej Leitner [Wed, 10 Aug 2016 15:07:15 +0000 (17:07 +0200)]
Fix Ipv6 format compression

 - removed regex and replaced with existing methods
 - altered method that compresses Ipv6Address to take it
   as argument and not to accept any string
 - used Ipv6Address instead of String
 - updated IpConversionUtilTest
 - fixed yang descriptions

Change-Id: I303d3f3c68bf463de9f017e0e65ec36adaf4e489
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoBug5822:Ensuring that the flowId, is unique for a flow 51/42851/15
Shuva Kar [Sun, 31 Jul 2016 14:07:24 +0000 (19:37 +0530)]
Bug5822:Ensuring that the flowId, is unique for a flow
in a table

* also optimising map/list accresses
*reducing addFlow rpc latency

Change-Id: Ida607fc7134c0488c7c3bcc82e38966be2325e71
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoBug 6372 table-miss-enforcer - DTCL instead of DTL 11/43511/2
Andrej Leitner [Tue, 9 Aug 2016 12:41:12 +0000 (14:41 +0200)]
Bug 6372 table-miss-enforcer - DTCL instead of DTL

 - table-miss-enforcer app converted to use DataTreeChangeListener
   instead of deprecated DataChangeListener
 - updated tests

Change-Id: I74c2c6755c1d6604a25bfee8d58d79787bef1c48
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
7 years agoBump versions by 0.1.0 for next dev cycle 37/43437/1
Thanh Ha [Mon, 8 Aug 2016 21:50:19 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I8fb4921f3cd33b250ba3d560cde52e60ba833e0e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Bug 5540 - ActionConvertor ordering"
Shuva Jyoti Kar [Mon, 8 Aug 2016 18:48:02 +0000 (18:48 +0000)]
Merge "Bug 5540 - ActionConvertor ordering"

7 years agoMerge "BUG-6354: Altering the log-level to trace for triggering the loop whilw retrie...
Shuva Jyoti Kar [Mon, 8 Aug 2016 13:24:51 +0000 (13:24 +0000)]
Merge "BUG-6354: Altering the log-level to trace for triggering the loop whilw retrieving the flowId."

7 years agoBug 5540 - ActionConvertor ordering 00/43300/1
Tomas Slusny [Mon, 8 Aug 2016 07:32:28 +0000 (09:32 +0200)]
Bug 5540 - ActionConvertor ordering

- Fixed ordering of actions in ActionConvertor

Change-Id: I84c7d8bebb3b6ded2f52d97ab45232daa71a75e7
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoMerge "Mask Support for TCP and UDP ports in nicira extension "
Anil Vishnoi [Sun, 7 Aug 2016 19:24:54 +0000 (19:24 +0000)]
Merge "Mask Support for TCP and UDP ports in nicira extension "

7 years agoBUG-6354: Altering the log-level to trace for triggering the 77/43277/2
Shuva Kar [Sun, 7 Aug 2016 09:30:29 +0000 (15:00 +0530)]
BUG-6354: Altering the log-level to trace for triggering the
loop whilw retrieving the flowId.

Change-Id: I9664bd98fd20d5e57dbd55aff4c9676306ae2dd8
Signed-off-by: Shuva Kar <shuva.jyoti.kar@ericsson.com>
7 years agoSupport new matches and actions in ovs nsh patch 37/37937/11
Yi Yang [Mon, 18 Apr 2016 01:47:05 +0000 (09:47 +0800)]
Support new matches and actions in ovs nsh patch

New matches: encap_eth_type, encap_eth_src, encap_eth_dst, nsh_np, nsh_mdtype, tun_gpe_np
New actions: push_nsh, pop_nsh
Rebase and change topic back to 37937
Fixed some Unit test failures

Change-Id: I20dbc6e1c04de34d3221b6cbfa652aafe75e5510
Signed-off-by: Yi Yang <yi.y.yang@intel.com>
7 years agoBug 6259 - ArbitraryBitMask compare 33/43233/2
Tomas Slusny [Fri, 5 Aug 2016 12:56:30 +0000 (14:56 +0200)]
Bug 6259 - ArbitraryBitMask compare

- Updated MatchComparatorHelper to compare properly
  address-no-mask + arbitrary-bitmask fields with
  ipv4/6-source

Change-Id: Id58a715769c16cc443547055ee770b5306f210ae
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
7 years agoSONAR TD - Remove unused fields, fix naming 59/42959/2
Tomas Slusny [Tue, 2 Aug 2016 11:11:11 +0000 (13:11 +0200)]
SONAR TD - Remove unused fields, fix naming

- Added private constructor to EventsTimeCounter
- Removed unused fields
- Fixed naming of constants

Change-Id: I4321e2b75af71abb3473eef5e5cc6b92e36c76c4
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>