openflowplugin.git
9 years agoTopology manager - implementation of NodeChangeListener 02/18202/2
Jozef Gloncak [Mon, 13 Apr 2015 14:32:37 +0000 (16:32 +0200)]
Topology manager - implementation of NodeChangeListener

If new FlowCapableNode is added/removed to/from inventory then new node
is added/removed to/from topology.

Change-Id: Ie674e32258b67ffc1fb50849a85805bfcd9c6dbb
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoTopology manager - new listener for link and node changes. 87/18187/3
Jozef Gloncak [Mon, 13 Apr 2015 11:50:21 +0000 (13:50 +0200)]
Topology manager - new listener for link and node changes.

Listener classes for listening on node inventory data changes were added.

Change-Id: Ia7b61c5a09a7d1d40246e34b80dc466a8dc4ea4c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoTopology manager - new util class 83/18183/1
Jozef Gloncak [Mon, 13 Apr 2015 10:09:41 +0000 (12:09 +0200)]
Topology manager - new util class

Change-Id: I0ee144f0b91e438dbf452d91df2996fe8831d8a5
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoDo not instantiate Long/Short/Integer 53/16953/14
Robert Varga [Sun, 22 Mar 2015 14:03:48 +0000 (15:03 +0100)]
Do not instantiate Long/Short/Integer

This patch removes explicit instantiation in favor of letting the JVM
decide what to do. Also use valueOf() where needed and finish the
BigInteger instantiation cleanup.

Change-Id: I8325679ea3fb023f39cb4814040d1f535eeecc95
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agofix topology and packetIn processing 22/18122/1
Vaclav Demcak [Fri, 10 Apr 2015 16:24:46 +0000 (18:24 +0200)]
fix topology and packetIn processing

 - fixed translator lookup
 - temporarily disabled match extensions for packetIn processing

Change-Id: I06819a3c6fc4215985f1f49920a9be9f4ec2fce1
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Quick fix for PortStatus msg"
michal rehak [Fri, 10 Apr 2015 15:38:00 +0000 (15:38 +0000)]
Merge "Quick fix for PortStatus msg"

9 years agoMerge "Fix forgotten brake in case"
michal rehak [Fri, 10 Apr 2015 15:19:55 +0000 (15:19 +0000)]
Merge "Fix forgotten brake in case"

9 years agoQuick fix for PortStatus msg 19/18119/1
Vaclav Demcak [Fri, 10 Apr 2015 15:08:53 +0000 (17:08 +0200)]
Quick fix for PortStatus msg

Change-Id: Ie9bacc53367134c85ba98fd86b0019b791193b84
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Added calling of super constructor to PacketProcessingServiceImpl"
michal rehak [Fri, 10 Apr 2015 15:03:53 +0000 (15:03 +0000)]
Merge "Added calling of super constructor to PacketProcessingServiceImpl"

9 years agoFix forgotten brake in case 16/18116/1
Vaclav Demcak [Fri, 10 Apr 2015 14:54:27 +0000 (16:54 +0200)]
Fix forgotten brake in case

Change-Id: Iaaed4d6579245f8fb75de0a434019fc5797fe59a
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Deleting via delete not via creating empty data"
michal rehak [Fri, 10 Apr 2015 14:04:54 +0000 (14:04 +0000)]
Merge "Deleting via delete not via creating empty data"

9 years agoMerge "PortTranslator modification"
michal rehak [Fri, 10 Apr 2015 14:03:44 +0000 (14:03 +0000)]
Merge "PortTranslator modification"

9 years agoSGU cleans up flows each time it is going to write flows statistics 07/18107/2
Martin Bobak [Fri, 10 Apr 2015 12:15:45 +0000 (14:15 +0200)]
SGU cleans up flows each time it is going to write flows statistics

- all known flows stored in device's flow registry are deleted before writing data retrieved by flow statistics into data store

Change-Id: I39629d5cc957294f3f3c95b78fdc2b49152a1515
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded trace log to observe when is flow has marked for removal 06/18106/2
Martin Bobak [Fri, 10 Apr 2015 12:12:15 +0000 (14:12 +0200)]
added trace log to observe when is flow has marked for removal

Change-Id: I7a497602d759a42a7fd2e5443126eb3de0c43aca
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager sets state device synchronized 05/18105/2
Martin Bobak [Fri, 10 Apr 2015 12:10:00 +0000 (14:10 +0200)]
StatisticsManager sets state device synchronized

Change-Id: I456c92e13ba61aa61c4034ca5ef1aa60771d372f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodata from DeviceFlowRegistry are not removed directly 04/18104/2
Martin Bobak [Fri, 10 Apr 2015 11:48:27 +0000 (13:48 +0200)]
data from DeviceFlowRegistry are not removed directly

- data are just marked for removal instead of deleting it when update/removeFlow is called. All marked data are removed by statistics
  gathering tool after being used to remove flows from data store.

Change-Id: I598b5f9bcf30467018a828fba572d5fb4532238f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "FlowDescriptorFactory#create - check that arguments aren't null"
michal rehak [Fri, 10 Apr 2015 13:05:19 +0000 (13:05 +0000)]
Merge "FlowDescriptorFactory#create - check that arguments aren't null"

9 years agoMerge "fix missing return values in FlowDescriptorFactory"
michal rehak [Fri, 10 Apr 2015 13:05:03 +0000 (13:05 +0000)]
Merge "fix missing return values in FlowDescriptorFactory"

9 years agoMerge "device state holds information about device synchronization status"
michal rehak [Fri, 10 Apr 2015 13:04:42 +0000 (13:04 +0000)]
Merge "device state holds information about device synchronization status"

9 years agoMerge "DeviceFlowRegistry provides all flow descriptors in immutable map"
michal rehak [Fri, 10 Apr 2015 13:03:06 +0000 (13:03 +0000)]
Merge "DeviceFlowRegistry provides all flow descriptors in immutable map"

9 years agoMerge "Move a Timer (scheduler) Submit Transaction from TxChain"
michal rehak [Fri, 10 Apr 2015 13:02:24 +0000 (13:02 +0000)]
Merge "Move a Timer (scheduler) Submit Transaction from TxChain"

9 years agoDeleting via delete not via creating empty data 01/18101/1
Jozef Gloncak [Fri, 10 Apr 2015 11:55:56 +0000 (13:55 +0200)]
Deleting via delete not via creating empty data

Change-Id: I3b36007dfcb5a102b47cca25ff1c7024038e5470
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
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 agoAdded calling of super constructor to PacketProcessingServiceImpl 99/18099/1
Jozef Gloncak [Fri, 10 Apr 2015 11:46:22 +0000 (13:46 +0200)]
Added calling of super constructor to PacketProcessingServiceImpl

Change-Id: I45e8e56d122194b6ebe635314d89b03e6df251c4
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoFlowDescriptorFactory#create - check that arguments aren't null 97/18097/2
Martin Bobak [Fri, 10 Apr 2015 11:16:18 +0000 (13:16 +0200)]
FlowDescriptorFactory#create - check that arguments aren't null

Change-Id: I6ccb9763f0dd2cfa1d4e7f86f6bdd7036de782c8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix missing return values in FlowDescriptorFactory 96/18096/2
Martin Bobak [Thu, 9 Apr 2015 13:20:36 +0000 (15:20 +0200)]
fix missing return values in FlowDescriptorFactory

Change-Id: I6971f9201690aff2b47081ca6ea9cec6ad7c7dac
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevice state holds information about device synchronization status 95/18095/2
Martin Bobak [Thu, 9 Apr 2015 13:00:25 +0000 (15:00 +0200)]
device state holds information about device synchronization status

Change-Id: I2edda0b5744ad97ad98254e9479a6a1445b49319
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceFlowRegistry provides all flow descriptors in immutable map 94/18094/2
Martin Bobak [Thu, 9 Apr 2015 12:36:00 +0000 (14:36 +0200)]
DeviceFlowRegistry provides all flow descriptors in immutable map

Change-Id: Ifb74bb5e7c3d3c04c3a0c2caeb3ba4a1cb46c027
Signed-off-by: Martin Bobak <mbobak@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 agoMove a Timer (scheduler) Submit Transaction from TxChain 88/18088/1
Vaclav Demcak [Fri, 10 Apr 2015 09:17:09 +0000 (11:17 +0200)]
Move a Timer (scheduler) Submit Transaction from TxChain

Note: We don't wish to submit transaction when is not needed,
so timer has to canceled when we submit transaction after maxTx
event.

Change-Id: I17703a50f3013b005fb624c5ee1c76a8086fd6e3
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
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>