openflowplugin.git
9 years agoPortTranslator modification 23/18023/4
Jozef Gloncak [Fri, 10 Apr 2015 09:52:11 +0000 (11:52 +0200)]
PortTranslator modification

Note: we've changed PortTranslator method input type
to PortGrouping from PortStatus.

Change-Id: I5dcae0ae781f6e2a6903fc368270ecc8b02059e0
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "Fix wrong order of coded row."
michal rehak [Fri, 10 Apr 2015 09:54:20 +0000 (09:54 +0000)]
Merge "Fix wrong order of coded row."

9 years agoFix wrong order of coded row. 80/18080/1
Jozef Gloncak [Fri, 10 Apr 2015 07:58:32 +0000 (09:58 +0200)]
Fix wrong order of coded row.

providerContext field was called earlier as was initiated

Change-Id: I17e4b5968aaf4f8b9cea8991e7ab1a632e021773
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoRemoved references to features-flow 78/18078/1
Tony Tkacik [Fri, 10 Apr 2015 07:32:59 +0000 (09:32 +0200)]
Removed references to features-flow

Change-Id: If76dc9b489b02a3b44c5ffd40c5e3186a20150a7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoBug 2957 - Added missing registration for Nicira match codecs 41/18041/1
Michal Polkorab [Thu, 9 Apr 2015 15:10:59 +0000 (17:10 +0200)]
Bug 2957 - Added missing registration for Nicira match codecs

Change-Id: I09ff58e4d7d2ec2c093a654c5b27d5d5428e97ba
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
9 years agoMerge "Implementing OFPT_PACKET_IN handler"
michal rehak [Thu, 9 Apr 2015 13:59:03 +0000 (13:59 +0000)]
Merge "Implementing OFPT_PACKET_IN handler"

9 years agoMerge "Added setNotificationService method to interfaces."
michal rehak [Thu, 9 Apr 2015 13:57:41 +0000 (13:57 +0000)]
Merge "Added setNotificationService method to interfaces."

9 years agoMerge "Implementing OFPT_PORT_STATUS handling method."
michal rehak [Thu, 9 Apr 2015 13:55:15 +0000 (13:55 +0000)]
Merge "Implementing OFPT_PORT_STATUS handling method."

9 years agoImplementing OFPT_PACKET_IN handler 18/18018/3
Jozef Gloncak [Thu, 9 Apr 2015 12:38:36 +0000 (14:38 +0200)]
Implementing OFPT_PACKET_IN handler

Implementing of processPacketInMessage() method in DeviceContextImpl

Change-Id: Ic225b6d08c75c68192cde07e97fb931f5dc2415e
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoAdded setNotificationService method to interfaces. 15/18015/4
Jozef Gloncak [Thu, 9 Apr 2015 12:15:56 +0000 (14:15 +0200)]
Added setNotificationService method to interfaces.

Change-Id: If03fbda8817ac8791f5774668d3d986dfb28e2b7
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoImplementing OFPT_PORT_STATUS handling method. 24/18024/1
Jozef Gloncak [Thu, 9 Apr 2015 08:32:51 +0000 (10:32 +0200)]
Implementing OFPT_PORT_STATUS handling method.

Implementation of processPortStatusMessage which handle OFPM_PORT_STATUS OF message.

Change-Id: Ia5929139a963803b99446b293d4d62fe6eb445e5
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoDeviceFlowRegistry holds FlowDescriptor instead of FlowId 14/18014/1
Martin Bobak [Thu, 9 Apr 2015 12:12:02 +0000 (14:12 +0200)]
DeviceFlowRegistry holds FlowDescriptor instead of FlowId

Change-Id: Ic6f2c7d0e7767a29be0e18fe0fd7514b196b80ae
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFlowRegistry renamed to DeviceFlowRegistry 12/18012/1
Martin Bobak [Thu, 9 Apr 2015 11:43:35 +0000 (13:43 +0200)]
FlowRegistry renamed to DeviceFlowRegistry

Change-Id: If54d4bbf6994368ccb517071f005c0a9958b250c
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoremoved chatty logging 08/18008/1
Martin Bobak [Thu, 9 Apr 2015 11:32:23 +0000 (13:32 +0200)]
removed chatty logging

Change-Id: Id62738c409036d3d965e894e87e63f6659f604cf
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext exposes delete operation for DS 90/17990/2
Martin Bobak [Thu, 9 Apr 2015 07:40:43 +0000 (09:40 +0200)]
DeviceContext exposes delete operation for DS

Change-Id: I0b88f9c6dc6a92fcb37252088470f7cbb4d5f021
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded javadoc to DeviceContext 89/17989/2
Martin Bobak [Thu, 9 Apr 2015 07:28:23 +0000 (09:28 +0200)]
added javadoc to DeviceContext

Change-Id: I159a6695016d4f90588e01157cbe33edd6ba95bd
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agohook add-flow future 86/17986/1
Martin Bobak [Wed, 8 Apr 2015 18:20:46 +0000 (20:20 +0200)]
hook add-flow future

 - flow future is considered successful when cancelled by barrier
   (currently (OF-1.0, OF-1.3) there is no positive confirmation
    of add flow in OF-spec)

Change-Id: I66fc03ca3635e893921120d478cc8b041278596a

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agotune up barrier management 85/17985/1
Martin Bobak [Wed, 8 Apr 2015 17:20:06 +0000 (19:20 +0200)]
tune up barrier management

 - barrier exposes cancellable timeout handle
 - fires only if there are outstanding requests present
 - does not store timer object into local field

Change-Id: I5eb71f170ef070fcf379e37bcb87e25fa20be040

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded logging information for chained future callback 40/17940/1
Martin Bobak [Wed, 8 Apr 2015 16:11:47 +0000 (18:11 +0200)]
added logging information for chained future callback

Change-Id: Ib4c703b677ea020be4da9e74872c2665db08b2a6
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadd flow to device flow registry when processing addFlow 39/17939/1
Martin Bobak [Wed, 8 Apr 2015 16:04:12 +0000 (18:04 +0200)]
add flow to device flow registry when processing addFlow

Change-Id: Ib5b934454f26bd7da112d5167feaeef374a80452
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Fix problem with ParentNodes"
michal rehak [Wed, 8 Apr 2015 16:02:43 +0000 (16:02 +0000)]
Merge "Fix problem with ParentNodes"

9 years agoFix problem with ParentNodes 36/17936/1
Vaclav Demcak [Wed, 8 Apr 2015 15:16:58 +0000 (17:16 +0200)]
Fix problem with ParentNodes

Note: DataStore transaction always fails if statistics are missing parent nodes.
So we have to prepare all nodes (empty Statistic Data containers) in preparation
data phase.

* add get Port desc process in DeviceManagerImpl
* add empty FlowStatData container for TableFeatures collecting process

Change-Id: I7aab73b846c5aba54a75d619920e487b9f2d337c
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agocorrect use of FlowHash#hashCode 31/17931/1
Martin Bobak [Wed, 8 Apr 2015 14:46:23 +0000 (16:46 +0200)]
correct use of FlowHash#hashCode

Change-Id: I8d4c8c9c661eb00c7afda381a80a77a7d1053fbf
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointroduced FlowUtils that creates alien ids 30/17930/1
Martin Bobak [Wed, 8 Apr 2015 13:12:15 +0000 (15:12 +0200)]
introduced FlowUtils that creates alien ids

Change-Id: I939ebc15e03cc450771d4644f2f23934a586688f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoflow registry being used by SalFlowService and StatisticsGatheringUtils 19/17919/2
Martin Bobak [Wed, 8 Apr 2015 12:49:53 +0000 (14:49 +0200)]
flow registry being used by SalFlowService and StatisticsGatheringUtils

Change-Id: I8eb8cc0f8beb04dc4616862f51b4f0faab61534a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFlowHash generated using factory 15/17915/2
Martin Bobak [Wed, 8 Apr 2015 11:45:55 +0000 (13:45 +0200)]
FlowHash generated using factory

Change-Id: I3323d1d7fe60605aba8bd15ef05d2d78cbf65e14
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFlowRegistry uses flow as parameters 14/17914/2
Martin Bobak [Wed, 8 Apr 2015 11:34:06 +0000 (13:34 +0200)]
FlowRegistry uses flow as parameters

- changed way of hash calculation

Change-Id: Ia1d0cd1c7f31b684db41b6889d07dea32cbc147e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "device flow registry - initial implementation"
michal rehak [Wed, 8 Apr 2015 12:03:18 +0000 (12:03 +0000)]
Merge "device flow registry - initial implementation"

9 years agoMerge "added API for OFP internal flow registry"
michal rehak [Wed, 8 Apr 2015 12:00:49 +0000 (12:00 +0000)]
Merge "added API for OFP internal flow registry"

9 years agoMerge "RpcManager sets maximum request quota for instantiated request context"
michal rehak [Wed, 8 Apr 2015 11:59:18 +0000 (11:59 +0000)]
Merge "RpcManager sets maximum request quota for instantiated request context"

9 years agodevice flow registry - initial implementation 06/17906/1
Martin Bobak [Wed, 8 Apr 2015 09:25:58 +0000 (11:25 +0200)]
device flow registry - initial implementation

Change-Id: I41b02645b841c57931035cdf3d3014f57b878c59
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded API for OFP internal flow registry 05/17905/1
Martin Bobak [Wed, 8 Apr 2015 08:11:10 +0000 (10:11 +0200)]
added API for OFP internal flow registry

Change-Id: I393576c783bce8c95588b585496e255d1b470142
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRpcManager sets maximum request quota for instantiated request context 50/17850/2
Martin Bobak [Tue, 7 Apr 2015 13:25:34 +0000 (15:25 +0200)]
RpcManager sets maximum request quota for instantiated request context

Change-Id: I6c3a9ae6facd4814ebf0f135a175ff16785b0a38
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Merge empty parent Nodes by DeviceManager initialization"
michal rehak [Tue, 7 Apr 2015 17:18:18 +0000 (17:18 +0000)]
Merge "Merge empty parent Nodes by DeviceManager initialization"

9 years agoadded logging to statistics manager 49/17849/1
Martin Bobak [Tue, 7 Apr 2015 13:24:51 +0000 (15:24 +0200)]
added logging to statistics manager

Change-Id: Ib47f1dd59b53d14e96113bccc86be66a7a166508
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadd exception to log message 30/17830/3
Martin Bobak [Tue, 7 Apr 2015 14:05:10 +0000 (16:05 +0200)]
add exception to log message

Change-Id: I1bfb7e009e4768466277dde3c0b0d6d84abfcd9c
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoinitialize OpenflowPortUtils on module start 29/17829/2
Martin Bobak [Tue, 7 Apr 2015 10:39:49 +0000 (12:39 +0200)]
initialize OpenflowPortUtils on module start

Change-Id: Iabe1ee1747b07e7aae945533c3668524377e81e3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge empty parent Nodes by DeviceManager initialization 33/17833/3
Vaclav Demcak [Tue, 7 Apr 2015 11:11:23 +0000 (13:11 +0200)]
Merge empty parent Nodes by DeviceManager initialization

Note: we don't wish to use writeToTransaction with create non existing
parent so we have to merge empty parent Nodes by DeviceManager initialization.

Change-Id: Ib3ecc46d31e113007154ecff25a8afed64c074e7
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoadded unit tests for TransactionChainManager 27/17827/1
Martin Bobak [Sun, 5 Apr 2015 22:39:23 +0000 (00:39 +0200)]
added unit tests for TransactionChainManager

Change-Id: Id37907fa0fa6497d1b670eb241e19ef22358f651

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded unit tests for BarrierProcessor 26/17826/1
Martin Bobak [Sun, 5 Apr 2015 21:41:33 +0000 (23:41 +0200)]
added unit tests for BarrierProcessor

Change-Id: Ic30cf473021d041fb4f79f86c99047b1a46d4c5b

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded unit tests for OpenflowProtocolListenerFullImpl 25/17825/1
Martin Bobak [Sun, 5 Apr 2015 21:40:48 +0000 (23:40 +0200)]
added unit tests for OpenflowProtocolListenerFullImpl

Change-Id: I0b1504c6f3579f12bcccd38ad006b4c6267d4505

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded unit tests for MultiMsgCollector 24/17824/1
Martin Bobak [Sun, 5 Apr 2015 06:32:46 +0000 (08:32 +0200)]
added unit tests for MultiMsgCollector

Change-Id: If4ac64835b9cb7a62aebf7c174b9971794bf0ecb

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Rpc Registration for path."
michal rehak [Tue, 7 Apr 2015 08:48:38 +0000 (08:48 +0000)]
Merge "Rpc Registration for path."

9 years agoMultipartRequestInputFactory generates meter and port inputs aligned with OFJ 79/17779/3
Martin Bobak [Sun, 5 Apr 2015 18:23:01 +0000 (20:23 +0200)]
MultipartRequestInputFactory generates meter and port inputs aligned with OFJ

- removed senseless MultipartRequestInputFactoryTest class

Change-Id: I44ceb00d5fedd6762e74728d3f2482fc65934b6d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Bug 2895: Fix for FRM ClassNotFoundException"
Abhijit Kumbhare [Tue, 7 Apr 2015 01:28:08 +0000 (01:28 +0000)]
Merge "Bug 2895: Fix for FRM ClassNotFoundException"

9 years agoBug 2895: Fix for FRM ClassNotFoundException 18/17818/1
Ed Warnicke [Tue, 7 Apr 2015 00:23:08 +0000 (17:23 -0700)]
Bug 2895: Fix for FRM ClassNotFoundException

This is actually a workaround.  The underlying issue is that the FRM
is not using the config subsystem.  The workaround prevents us from
loading it before the other things that *do* wire in the correct
stuff.

Change-Id: I8db90e2d3d0797ba267a19ec357b59398ccee12e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRpc Registration for path. 13/17813/1
Vaclav Demcak [Mon, 6 Apr 2015 22:48:00 +0000 (00:48 +0200)]
Rpc Registration for path.

Note: every rpc has to by registred for a path. We are working
with Node (FlowCapableNode) so we would like to register every
Routed Rpc for NodeContext KeyedInstanceIdentifier<Node>.

Change-Id: Ied0dd641d3237977730ecef67d84798e0ea58fe7
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agotransaction chain manager doesn't enforce parents on tx put 74/17774/1
Martin Bobak [Sat, 4 Apr 2015 21:36:39 +0000 (23:36 +0200)]
transaction chain manager doesn't enforce parents on tx put

Change-Id: I1494de2f65bdca9559e076bc7cabf9164b3532b4
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoAnyMessageTypeListener renamed to OpenflowMessageListenerFacade 73/17773/1
Martin Bobak [Sat, 4 Apr 2015 21:34:05 +0000 (23:34 +0200)]
AnyMessageTypeListener renamed to OpenflowMessageListenerFacade

Change-Id: If6c250efb47a619afae1af3b0b3760d593dd7a3b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMultipartRequestInputFactory generates empty inputs aligned with OFJ expectations 72/17772/2
Martin Bobak [Sat, 4 Apr 2015 21:23:08 +0000 (23:23 +0200)]
MultipartRequestInputFactory generates empty inputs aligned with OFJ expectations

Change-Id: I3701a4ebec11d7de00aa08dfdaf5b88bd75ad315
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostop creating karaf archive by default 71/17771/1
Martin Bobak [Sat, 4 Apr 2015 20:22:19 +0000 (22:22 +0200)]
stop creating karaf archive by default

 - added profile create-karaf-archive aimed to create the archive
   if needed

Change-Id: I8b5d3ab6e3e4248e68ba87bfe8836930b0919ed4
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agohandshake refactor 70/17770/1
Martin Bobak [Sat, 4 Apr 2015 19:35:34 +0000 (21:35 +0200)]
handshake refactor

 - handshake hijacks netty threads
 - only first hello message is sent using own thread
 - there is no blocking - if there is no response from
   device then handshake wont continue
 - tests adapted to hijack

Change-Id: I45798e280bba097abe6f4152797c348b97787a61
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager holds StatisticsContext in ConcurrentHashMap instead of List 69/17769/1
Martin Bobak [Sat, 4 Apr 2015 20:20:00 +0000 (22:20 +0200)]
StatisticsManager holds StatisticsContext in ConcurrentHashMap instead of List

Change-Id: I14f8d45741332599f4765ed8d43ed0e62c76a7ba
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager is polling statistics 68/17768/1
Martin Bobak [Sat, 4 Apr 2015 19:11:09 +0000 (21:11 +0200)]
StatisticsManager is polling statistics

Change-Id: Ia29a4b4a467ee1070cb240733b18d61b48044eb5
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext provides common timer 67/17767/1
Martin Bobak [Sat, 4 Apr 2015 18:28:53 +0000 (20:28 +0200)]
DeviceContext provides common timer

Change-Id: Icdffa4485cf3c9547b541884cb937e2a93744935
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointerface identifiyng classes holding common timer 66/17766/1
Martin Bobak [Sat, 4 Apr 2015 18:23:30 +0000 (20:23 +0200)]
interface identifiyng classes holding common timer

Change-Id: I1c2568a2915a1b22e0f5ecf1c4aeaffea449b2fe
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agore-fix classes to which responses are casted to 65/17765/1
Martin Bobak [Sat, 4 Apr 2015 18:01:08 +0000 (20:01 +0200)]
re-fix classes to which responses are casted to

Change-Id: If477b4671f9c3ccbb603a8f1e041c3c3235e5b62
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics services are reading multipart message collector from device context 64/17764/1
Martin Bobak [Sat, 4 Apr 2015 16:54:16 +0000 (18:54 +0200)]
statistics services are reading multipart message collector from device context

Change-Id: Ie5a56325647cbf46583546ddb60bf3158644c450
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsGatheringUtils : fix classes to which responses are casted to 63/17763/1
Martin Bobak [Sat, 4 Apr 2015 15:49:13 +0000 (17:49 +0200)]
StatisticsGatheringUtils : fix classes to which responses are casted to

Change-Id: Ia7e110903795ef201b8c9444f53dd9d224ba36af
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics context and statistics manager simplified 61/17761/1
Martin Bobak [Sat, 4 Apr 2015 13:32:14 +0000 (15:32 +0200)]
statistics context and statistics manager simplified

Change-Id: I1126c194a78a82e0c2f0700a3fd79e3f589d31ff
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevice context provides attached any messege type listener 60/17760/3
Martin Bobak [Sat, 4 Apr 2015 13:25:07 +0000 (15:25 +0200)]
device context provides attached any messege type listener

Change-Id: I2bbb01ae76f8a8e01528131c7d117710c22ea469
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoOpenflowProtocolListenerFullImpl implements AnyMessageTypeListener 59/17759/1
Martin Bobak [Sat, 4 Apr 2015 13:10:52 +0000 (15:10 +0200)]
OpenflowProtocolListenerFullImpl implements AnyMessageTypeListener

Change-Id: I79461102311eee02d5a9e28d883ce85c14e0939e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agounifiying interface for multipart message collector and ofp protocol listener 58/17758/1
Martin Bobak [Sat, 4 Apr 2015 13:10:18 +0000 (15:10 +0200)]
unifiying interface for multipart message collector and ofp protocol listener

Change-Id: Ida1263e2d191345fed3a2e6aeff30d04d67fcd33
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded logging for statistics gathering service 57/17757/1
Martin Bobak [Sat, 4 Apr 2015 13:02:20 +0000 (15:02 +0200)]
added logging for statistics gathering service

Change-Id: Ie9936601df192a784453edd1309e35f1d755c511
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics services merged into one class 56/17756/1
Martin Bobak [Sat, 4 Apr 2015 11:42:22 +0000 (13:42 +0200)]
statistics services merged into one class

Change-Id: I2b708cffc908240139af44b9d52c2ad2cd59bbab
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoremoved oneliners for mult.part req. inputs 55/17755/1
Martin Bobak [Sat, 4 Apr 2015 09:54:26 +0000 (11:54 +0200)]
removed oneliners for mult.part req. inputs

Change-Id: I4c1f7efb3a0b892ee30902c81465d0f571312fb5
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics gathering utils - remove unused method 54/17754/1
Martin Bobak [Sat, 4 Apr 2015 09:41:41 +0000 (11:41 +0200)]
statistics gathering utils - remove unused method

Change-Id: I5631ab49d7637af4ec9235055c30707d53f9ffee
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFixed exitpoints of guava cache with expiration 53/17753/1
Martin Bobak [Fri, 3 Apr 2015 20:28:03 +0000 (22:28 +0200)]
Fixed exitpoints of guava cache with expiration

Change-Id: I2f47e281109cf05ee30c82423fe696a8f2241de3

Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agowrite node to DS when connected 33/17733/4
Martin Bobak [Fri, 3 Apr 2015 20:17:43 +0000 (22:17 +0200)]
write node to DS when connected

Change-Id: I6681393442968150ac5e743b8beac949f2cc246a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoOFJResult2RequestCtxFuture uses listenable future 37/17737/3
Martin Bobak [Fri, 3 Apr 2015 20:53:01 +0000 (22:53 +0200)]
OFJResult2RequestCtxFuture uses listenable future

Change-Id: Ia539a04c11901e8eb046bd929459d6b3a388075a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Bug 2913: fix for GROUPMOD issue"
Abhijit Kumbhare [Sat, 4 Apr 2015 00:21:38 +0000 (00:21 +0000)]
Merge "Bug 2913: fix for GROUPMOD issue"

9 years agoBug 2913: fix for GROUPMOD issue 40/17740/2
Ed Warnicke [Fri, 3 Apr 2015 23:21:44 +0000 (19:21 -0400)]
Bug 2913: fix for GROUPMOD issue

As it turns out, this was really a bug in the nicera extension for
tun-ipv4-dst and tun-ipv4-src.

Change-Id: I30d25395e960c3696dd3e10f59fd2d7240ee884c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agostatistics services using MultipartRequestInputFactory for generating inputs 29/17729/3
Martin Bobak [Fri, 3 Apr 2015 18:32:41 +0000 (20:32 +0200)]
statistics services using MultipartRequestInputFactory for generating inputs

Change-Id: I6bcd2a3fa5c552952356bd16ce8dedbfbe37b992
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded missing xid in requestcontext 28/17728/2
Martin Bobak [Fri, 3 Apr 2015 17:54:55 +0000 (19:54 +0200)]
added missing xid in requestcontext

Change-Id: Ia51cfcb752c7b708ee1e569a58c05f1b82faa999
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Clean DeviceState"
michal rehak [Fri, 3 Apr 2015 18:31:47 +0000 (18:31 +0000)]
Merge "Clean DeviceState"

9 years agochanged way of RpcError logging in DeviceManagerImpl 24/17724/2
Martin Bobak [Fri, 3 Apr 2015 17:15:37 +0000 (19:15 +0200)]
changed way of RpcError logging in DeviceManagerImpl

Change-Id: I7ec0a546ed60fe18039930209ce31ffda976690f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoimprovec loggin of xid variable not object 23/17723/2
Martin Bobak [Fri, 3 Apr 2015 17:09:11 +0000 (19:09 +0200)]
improvec loggin of xid variable not object

Change-Id: Ic82d1d6e9b85d868bd480ef4ededd83a38a24e51
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics manager services register multipart requests in mmcollector 22/17722/2
Martin Bobak [Fri, 3 Apr 2015 17:02:52 +0000 (19:02 +0200)]
statistics manager services register multipart requests in mmcollector

Change-Id: Id3f32351bf87b8c22ca8d3f97e73045ddd87f49d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agopublic methods imlemented only in impl's extracted to parent interfaces 21/17721/2
Martin Bobak [Fri, 3 Apr 2015 16:56:32 +0000 (18:56 +0200)]
public methods imlemented only in impl's extracted to parent interfaces

Change-Id: I570e55418fc8ede1bda2c41ac3a9f313c069fca8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoClean DeviceState 26/17726/1
Vaclav Demcak [Fri, 3 Apr 2015 17:36:08 +0000 (19:36 +0200)]
Clean DeviceState

Note: DeviceState has contained Ports witch are avaliable
only for OF1.0. So we don't see any usable usecase for
holding any reference which are relevant of OF protocol verion.

Change-Id: Ia28046fc97024072451d3fd93658b8bcafbbc884
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Add barrier processing"
michal rehak [Fri, 3 Apr 2015 17:14:59 +0000 (17:14 +0000)]
Merge "Add barrier processing"

9 years agoMerge "Logging non existent registration of request context"
michal rehak [Fri, 3 Apr 2015 17:02:12 +0000 (17:02 +0000)]
Merge "Logging non existent registration of request context"

9 years agoAdd barrier processing 19/17719/1
Vaclav Demcak [Fri, 3 Apr 2015 16:39:47 +0000 (18:39 +0200)]
Add barrier processing

Change-Id: I550fa47e5d3a2b6305b769330482b2ce5a681ecf
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Rpc manager not needed to instantiate DeviceManager"
michal rehak [Fri, 3 Apr 2015 16:15:34 +0000 (16:15 +0000)]
Merge "Rpc manager not needed to instantiate DeviceManager"

9 years agoMerge "request context hookin java doc"
michal rehak [Fri, 3 Apr 2015 16:14:54 +0000 (16:14 +0000)]
Merge "request context hookin java doc"

9 years agoMerge "request context is hoooked to device context by OFJResult2RequestCtxFuture"
michal rehak [Fri, 3 Apr 2015 16:14:33 +0000 (16:14 +0000)]
Merge "request context is hoooked to device context by OFJResult2RequestCtxFuture"

9 years agoMerge "RpcResultConvertor renamed to OFJResult2RequestCtxFuture"
michal rehak [Fri, 3 Apr 2015 16:13:26 +0000 (16:13 +0000)]
Merge "RpcResultConvertor renamed to OFJResult2RequestCtxFuture"

9 years agoMerge "multipart messge collector doesn't create own future"
michal rehak [Fri, 3 Apr 2015 16:12:20 +0000 (16:12 +0000)]
Merge "multipart messge collector doesn't create own future"

9 years agoLogging non existent registration of request context 17/17717/1
Martin Bobak [Fri, 3 Apr 2015 16:02:01 +0000 (18:02 +0200)]
Logging non existent registration of request context

Change-Id: If2a027c7244301f22c642173c54915076a1b17db
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRpc manager not needed to instantiate DeviceManager 15/17715/2
Martin Bobak [Fri, 3 Apr 2015 15:35:34 +0000 (17:35 +0200)]
Rpc manager not needed to instantiate DeviceManager

Change-Id: I0dc1584fb825d270c7ce18626e58724646652fe0
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agorequest context hookin java doc 14/17714/2
Martin Bobak [Fri, 3 Apr 2015 15:23:09 +0000 (17:23 +0200)]
request context hookin java doc

Change-Id: I3033364ecf0b6f0d1046fa1144852b63b55c8e26
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agorequest context is hoooked to device context by OFJResult2RequestCtxFuture 13/17713/1
Martin Bobak [Fri, 3 Apr 2015 15:22:56 +0000 (17:22 +0200)]
request context is hoooked to device context by OFJResult2RequestCtxFuture

Change-Id: I62bed2ddea7f6a2a46db65e14641f99bb65621a7
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRpcResultConvertor renamed to OFJResult2RequestCtxFuture 12/17712/1
Martin Bobak [Fri, 3 Apr 2015 15:15:41 +0000 (17:15 +0200)]
RpcResultConvertor renamed to OFJResult2RequestCtxFuture

- everytime OFJava result has to be processed and its
  future translated to request context's future it always should
  be done by OFJResult2RequestCtxFuture.

Change-Id: I0bc201f6cd0f3ca8e67dc7acc52c36c2e994bddd
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agomultipart messge collector doesn't create own future 11/17711/1
Martin Bobak [Fri, 3 Apr 2015 13:40:28 +0000 (15:40 +0200)]
multipart messge collector doesn't create own future

- future from OFJava is handled by RpcResultConvertor
- simplified multipart calls in DeviceManagerImpl#deviceConnected

Change-Id: I7f1b60808b2397c073ed0d971cb0301b9a95031b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBarrier init commit 10/17710/2
Vaclav Demcak [Fri, 3 Apr 2015 14:57:18 +0000 (16:57 +0200)]
Barrier init commit

* BarrierTaskBuilder - barrier msg self restarting builder.
* BarrierProcessor - TODO

Change-Id: I9fd41e488a2ced7bb44b2c43a6d1adbe7628fe14
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "add counter enable to TransactionChainManager"
michal rehak [Fri, 3 Apr 2015 14:53:45 +0000 (14:53 +0000)]
Merge "add counter enable to TransactionChainManager"

9 years agoadd counter enable to TransactionChainManager 06/17706/1
Vaclav Demcak [Fri, 3 Apr 2015 14:15:09 +0000 (16:15 +0200)]
add counter enable to TransactionChainManager

Note: TransactionChainManger has counter for an automatic submit
action, but we don't wish to submit anything before DeviceContext
are finally wired.

Change-Id: I58774b4d001eda32c9eac5e253f6220464a9422a
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Clean wiring inital phase for new Device"
michal rehak [Fri, 3 Apr 2015 14:14:44 +0000 (14:14 +0000)]
Merge "Clean wiring inital phase for new Device"

9 years agoMerge "Bug 2945: Fix read failures in StatAbstractListenCommit"
michal rehak [Fri, 3 Apr 2015 13:52:50 +0000 (13:52 +0000)]
Merge "Bug 2945: Fix read failures in StatAbstractListenCommit"

9 years agoClean wiring inital phase for new Device 04/17704/2
Vaclav Demcak [Fri, 3 Apr 2015 13:03:26 +0000 (15:03 +0200)]
Clean wiring inital phase for new Device

* add new Interface for clean wiring of Managers
DeviceInitializator
* add new Interface for inital phase chain
DeviceInitializationPhaseHandler

Change-Id: Iac633927c1f4fe661dfa6a1e4720bcfabf6b8a42
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>