openflowplugin.git
9 years agoBUG-2995: metadata signum fix 41/18841/1
Timotej Kubas [Wed, 22 Apr 2015 13:51:08 +0000 (15:51 +0200)]
BUG-2995: metadata signum fix

 - added signum parameter to BigInteger ctor

Change-Id: I596bf12d65080abb7138762aa30d9c57db94ad95
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoStatisticsManager serves as device context closed handler for all device contexts 37/18837/1
Martin Bobak [Wed, 22 Apr 2015 12:48:13 +0000 (14:48 +0200)]
StatisticsManager serves as device context closed handler for all device contexts

Change-Id: I152290514bf33f2e4d4cdb2dd0ad7bfba53a9296
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager implements device context closed handler 36/18836/1
Martin Bobak [Wed, 22 Apr 2015 12:46:34 +0000 (14:46 +0200)]
StatisticsManager implements device context closed handler

Change-Id: I05985e0cca76b6e58418400dfad127f94af5dc20
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext holds reference to DeviceContextClosedHandler 35/18835/1
Martin Bobak [Wed, 22 Apr 2015 12:46:10 +0000 (14:46 +0200)]
DeviceContext holds reference to DeviceContextClosedHandler

Change-Id: I8089b7170875ed4d6864c868357f0cf001c9aaf7
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoItroduced DeviceContextClosedHandler 34/18834/1
Martin Bobak [Wed, 22 Apr 2015 12:45:22 +0000 (14:45 +0200)]
Itroduced DeviceContextClosedHandler

Change-Id: I7dd09a142d5ac20605c4da851e70b6fd5c6d9879
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager implements DeviceDisconnectedHandler 33/18833/1
Martin Bobak [Wed, 22 Apr 2015 12:35:10 +0000 (14:35 +0200)]
StatisticsManager implements DeviceDisconnectedHandler

Change-Id: I9c55fd6b839dbd1193f3ecb97aa674807144812a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointroduced handler for handling processes when device context is closed 32/18832/1
Martin Bobak [Wed, 22 Apr 2015 12:37:51 +0000 (14:37 +0200)]
introduced handler for handling processes when device context is closed

Change-Id: I10eeee1811ce8ca213de59a6a6053553e27e5ac4
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMessageSpy usage fixed in relevant services 31/18831/1
Martin Bobak [Wed, 22 Apr 2015 12:26:17 +0000 (14:26 +0200)]
MessageSpy usage fixed in relevant services

Change-Id: Iedcd907380b31157ca086f6b8f763ec82011f028
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agomessage spy fix in SalFlowServiceImpl 30/18830/1
Martin Bobak [Wed, 22 Apr 2015 12:19:16 +0000 (14:19 +0200)]
message spy fix in SalFlowServiceImpl

Change-Id: I8e62e55d278ee68c450f7cd04eea25973f89a1e6
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRpcManager is set as DeviceDisconnectedHandler for DeviceContext 28/18828/2
Martin Bobak [Wed, 22 Apr 2015 12:02:31 +0000 (14:02 +0200)]
RpcManager is set as DeviceDisconnectedHandler for DeviceContext

Change-Id: I895f938c366fca23ada74841f61198e11f9fc9a5
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext is set as DeviceDisconnectedHandler for ConnectionContext by DeviceMana... 27/18827/2
Martin Bobak [Wed, 22 Apr 2015 11:58:01 +0000 (13:58 +0200)]
DeviceContext is set as DeviceDisconnectedHandler for ConnectionContext by DeviceManagerImpl

Change-Id: Ibb60599830f9d5c1955b46f814b1d141aac68ac2
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoalways use interface when declaring object, not implementation 26/18826/2
Martin Bobak [Wed, 22 Apr 2015 11:56:54 +0000 (13:56 +0200)]
always use interface when declaring object, not implementation

Change-Id: I61ca50c93942886ceee87d35aebbaad56299fe2e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded logging to ConnectionContext 25/18825/2
Martin Bobak [Wed, 22 Apr 2015 11:55:26 +0000 (13:55 +0200)]
added logging to ConnectionContext

Change-Id: Ica76402de2f1b858a950d06d22bf80b04a4d36be
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoConenctionContextImpl npe fix 24/18824/2
Martin Bobak [Wed, 22 Apr 2015 11:50:53 +0000 (13:50 +0200)]
ConenctionContextImpl npe fix

Change-Id: I7717751272b378dcc6a00c80c39f1d68bd960633
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext handles and propagates device disconnected event 23/18823/2
Martin Bobak [Wed, 22 Apr 2015 11:48:15 +0000 (13:48 +0200)]
DeviceContext handles and propagates device disconnected event

Change-Id: I02c18107295900e0621b33c81498c3bc7947c01f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRpcContext extends DeviceDisconnectedHandler 22/18822/2
Martin Bobak [Wed, 22 Apr 2015 11:47:53 +0000 (13:47 +0200)]
RpcContext extends DeviceDisconnectedHandler

Change-Id: I248b21cc1faedeff67425b59601cd7409a2193c3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix message spy in OFJResult2RequestCtxFuture 21/18821/2
Martin Bobak [Wed, 22 Apr 2015 11:38:08 +0000 (13:38 +0200)]
fix message spy in OFJResult2RequestCtxFuture

Change-Id: I93f4f6828d629ae8e7fe0f4d576d411311933171
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext implements DeviceDisconnectedHandler 18/18818/2
Martin Bobak [Wed, 22 Apr 2015 11:29:45 +0000 (13:29 +0200)]
DeviceContext implements DeviceDisconnectedHandler

Change-Id: I67f636df2432145fa18fc77906c42e5bfd111dc0
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoSystemNotificationsListenerImpl propagates closed connection event 17/18817/2
Martin Bobak [Wed, 22 Apr 2015 11:29:18 +0000 (13:29 +0200)]
SystemNotificationsListenerImpl propagates closed connection event

Change-Id: I946fda61ab521aaedf29e750828821ef86df7fdf
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoConnectionContext holds and provides DeviceDisconnectedHandler 16/18816/2
Martin Bobak [Wed, 22 Apr 2015 11:24:43 +0000 (13:24 +0200)]
ConnectionContext holds and provides DeviceDisconnectedHandler

Change-Id: Id140c1e80e6269eed4e8676b0eb7d6a91764094d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointroduced DeviceDisconnectedHandler for handling closed connections 15/18815/1
Martin Bobak [Wed, 22 Apr 2015 11:21:25 +0000 (13:21 +0200)]
introduced DeviceDisconnectedHandler for handling closed connections

Change-Id: Icf4da609fd185d69fafd66bf2dd2ad27c0bac59a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agobarrier tuneup 09/18809/3
Timotej Kubas [Wed, 22 Apr 2015 09:31:47 +0000 (11:31 +0200)]
barrier tuneup

Change-Id: I8eb5d3c1e2cd28b499ff71f7b90b1fe8165d3033
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agotidy up addFlow futures 08/18808/3
Timotej Kubas [Wed, 22 Apr 2015 09:31:11 +0000 (11:31 +0200)]
tidy up addFlow futures

Change-Id: Ib29873bb207ff6b5ef63f31926c06578ace63ec8
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoadded requestMap access methods 07/18807/3
Timotej Kubas [Wed, 22 Apr 2015 09:30:10 +0000 (11:30 +0200)]
added requestMap access methods

Change-Id: If5d3864dfa2751e936fd7da51db88f7e63172b53
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoadded missing hook of req ctx to device manager 97/18797/2
Martin Bobak [Wed, 22 Apr 2015 07:38:16 +0000 (09:38 +0200)]
added missing hook of req ctx to device manager

Change-Id: I1076fce6940b1c4fd72167832f95593b3006dead
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRequestContext must be hooked into deviceContext by DeviceManager 69/18769/3
Martin Bobak [Tue, 21 Apr 2015 18:06:40 +0000 (20:06 +0200)]
RequestContext must be hooked into deviceContext by DeviceManager

Change-Id: Idf597f780ac560dcd0ebed56acdfad093154a98b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agocleanup future callbacks in DeviceManager 68/18768/3
Martin Bobak [Tue, 21 Apr 2015 17:35:05 +0000 (19:35 +0200)]
cleanup future callbacks in DeviceManager

Change-Id: I139ede1a1afcb688c794de87a9069ed25da8f27e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMessageSpy is used in services 62/18762/4
Martin Bobak [Tue, 21 Apr 2015 16:22:29 +0000 (18:22 +0200)]
MessageSpy is used in services

Change-Id: Ie27d467f2e97fdfda58ff47c83fc3b5215bad2b1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMessageIntelligenceAgency is used in DeviceContextImpl 61/18761/4
Martin Bobak [Tue, 21 Apr 2015 14:55:04 +0000 (16:55 +0200)]
MessageIntelligenceAgency is used in DeviceContextImpl

Change-Id: I021328081e184a44a531a9341a07a23345d264f9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoConnectionException moved to proper package 59/18759/4
Martin Bobak [Tue, 21 Apr 2015 14:05:09 +0000 (16:05 +0200)]
ConnectionException moved to proper package

Change-Id: I304599af9ea02033eb17aa4e50ffbc5f0ceec61e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext provides referrence to message spy 58/18758/4
Martin Bobak [Tue, 21 Apr 2015 12:27:58 +0000 (14:27 +0200)]
DeviceContext provides referrence to message spy

Change-Id: Ie923d23ba039cc00270e49b5efe739f5f92be663
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContexts holds referrence to message spy counter 57/18757/4
Martin Bobak [Mon, 20 Apr 2015 08:35:12 +0000 (10:35 +0200)]
DeviceContexts holds referrence to message spy counter

Change-Id: Ia9a4c6c10859cd0c9c5c6cd56806afe282626933
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoimeplementation of MessageIntelligenceAgency 67/18767/3
Martin Bobak [Tue, 21 Apr 2015 16:59:06 +0000 (18:59 +0200)]
imeplementation of MessageIntelligenceAgency

Change-Id: I56811565e0e2037d55bf78ff45ca8ab7fda110b0
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointernal package renamed to ofpspecific 60/18760/5
Martin Bobak [Tue, 21 Apr 2015 16:50:13 +0000 (18:50 +0200)]
internal package renamed to ofpspecific

Change-Id: I4fb470b2249b6b232260b269a546618ce028ef97
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointroduced new MessageSpy and MessageIntelligenceAgency as successor of MessageSpyCounter 56/18756/6
Martin Bobak [Mon, 20 Apr 2015 10:51:40 +0000 (12:51 +0200)]
introduced new MessageSpy and MessageIntelligenceAgency as successor of MessageSpyCounter

Change-Id: Ia11c0760afed09ac7783b24f8a83202544918835
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Fixed IPv4 source match."
michal rehak [Wed, 22 Apr 2015 05:08:48 +0000 (05:08 +0000)]
Merge "Fixed IPv4 source match."

9 years agoMerge "Do not override odlparent properties."
michal rehak [Wed, 22 Apr 2015 04:55:12 +0000 (04:55 +0000)]
Merge "Do not override odlparent properties."

9 years agoFixed IPv4 source match. 89/18789/1
Thomas Bachman [Wed, 22 Apr 2015 02:38:56 +0000 (22:38 -0400)]
Fixed IPv4 source match.

Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoMerge "Fix JDK8-detected javadoc violations"
Ed Warnicke [Tue, 21 Apr 2015 21:56:52 +0000 (21:56 +0000)]
Merge "Fix JDK8-detected javadoc violations"

9 years agoFix JDK8-detected javadoc violations 80/18780/3
Robert Varga [Tue, 21 Apr 2015 20:26:30 +0000 (22:26 +0200)]
Fix JDK8-detected javadoc violations

JDK8 javadoc is much pickier about things like references, use of tags,
mismatching argument names and similar. Fix offences so 'mvn
javadoc:javadoc' will complete on JDK8.

Change-Id: I3f91d3ac4554271bb07fd09e992e0422dbae5d7c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not override odlparent properties. 24/18724/1
Tony Tkacik [Tue, 21 Apr 2015 11:32:31 +0000 (13:32 +0200)]
Do not override odlparent properties.

Change-Id: Ia8b85fa2beb77bb17c768bec1d830ee0e2a05a14
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "empty MatchV10 is not that empty after all"
michal rehak [Tue, 21 Apr 2015 10:50:12 +0000 (10:50 +0000)]
Merge "empty MatchV10 is not that empty after all"

9 years agoMerge "Do not override Karaf version"
michal rehak [Tue, 21 Apr 2015 09:52:19 +0000 (09:52 +0000)]
Merge "Do not override Karaf version"

9 years agoempty MatchV10 is not that empty after all 12/18712/2
Martin Bobak [Tue, 21 Apr 2015 09:31:16 +0000 (11:31 +0200)]
empty MatchV10 is not that empty after all

Change-Id: I574ec056e14f4ffdf6d92a6a1d85f54dde8a7dcc
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "hack for OF10 and cbench in DeviceManager"
michal rehak [Tue, 21 Apr 2015 09:19:17 +0000 (09:19 +0000)]
Merge "hack for OF10 and cbench in DeviceManager"

9 years agoMerge "sal flow service handles rpc results outside CommonService"
michal rehak [Tue, 21 Apr 2015 09:19:12 +0000 (09:19 +0000)]
Merge "sal flow service handles rpc results outside CommonService"

9 years agoMerge "StatisticsContextImpl use emptyfuture variable"
michal rehak [Tue, 21 Apr 2015 09:19:05 +0000 (09:19 +0000)]
Merge "StatisticsContextImpl use emptyfuture variable"

9 years agoDo not override Karaf version 04/18704/1
Tony Tkacik [Tue, 21 Apr 2015 09:10:40 +0000 (11:10 +0200)]
Do not override Karaf version

Change-Id: Ide84a763fed795927d561d79e6f32af569f0a495
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoBug-2957 : Fix class cast exception while translating PacketIn Message 69/18669/1
Anil Vishnoi [Mon, 20 Apr 2015 20:42:55 +0000 (02:12 +0530)]
Bug-2957 : Fix class cast exception while translating PacketIn Message

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agohack for OF10 and cbench in DeviceManager 54/18654/2
Martin Bobak [Mon, 20 Apr 2015 17:21:26 +0000 (19:21 +0200)]
hack for OF10 and cbench in DeviceManager

Change-Id: I635158da3a857de969c2ca7e738f9a07013df358
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agosal flow service handles rpc results outside CommonService 53/18653/2
Martin Bobak [Mon, 20 Apr 2015 17:19:05 +0000 (19:19 +0200)]
sal flow service handles rpc results outside CommonService

Change-Id: I752c0ec1b46bc53f14ecc58789fc03479e7969b9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsContextImpl use emptyfuture variable 52/18652/2
Martin Bobak [Mon, 20 Apr 2015 15:32:11 +0000 (17:32 +0200)]
StatisticsContextImpl use emptyfuture variable

Change-Id: I5a754f49db47dd88b4c00be4113c7d447e27b871
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "device state is set according to gathered device capabilities"
michal rehak [Mon, 20 Apr 2015 18:00:03 +0000 (18:00 +0000)]
Merge "device state is set according to gathered device capabilities"

9 years agoMerge "Fix and test OF10"
michal rehak [Mon, 20 Apr 2015 17:58:25 +0000 (17:58 +0000)]
Merge "Fix and test OF10"

9 years agoMerge "statistics context gather only relevant statistics"
michal rehak [Mon, 20 Apr 2015 17:29:38 +0000 (17:29 +0000)]
Merge "statistics context gather only relevant statistics"

9 years agoMerge "unified way of setting statistics availability values"
michal rehak [Mon, 20 Apr 2015 17:28:56 +0000 (17:28 +0000)]
Merge "unified way of setting statistics availability values"

9 years agoMerge "fixing late hooking of request into deviceContext registry"
michal rehak [Mon, 20 Apr 2015 17:28:02 +0000 (17:28 +0000)]
Merge "fixing late hooking of request into deviceContext registry"

9 years agodevice state is set according to gathered device capabilities 41/18641/1
Martin Bobak [Mon, 20 Apr 2015 15:26:14 +0000 (17:26 +0200)]
device state is set according to gathered device capabilities

Change-Id: Idd48c9b8c228008ae7743c323a03e73c3f7a1659
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFix and test OF10 44/18444/3
Martin Bobak [Thu, 16 Apr 2015 14:50:02 +0000 (16:50 +0200)]
Fix and test OF10

Change-Id: I078ca480bc4d07fe121e9cac638cba6f50e89897
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics context gather only relevant statistics 38/18638/1
Martin Bobak [Mon, 20 Apr 2015 15:02:21 +0000 (17:02 +0200)]
statistics context gather only relevant statistics

Change-Id: I130b6b3731779695be9e5da531bd817c92f93e38
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agounified way of setting statistics availability values 37/18637/1
Martin Bobak [Mon, 20 Apr 2015 14:57:59 +0000 (16:57 +0200)]
unified way of setting statistics availability values

Change-Id: I55258ba6cd7f06c5297722b0e628e31c8645838a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofixing late hooking of request into deviceContext registry 35/18635/1
Martin Bobak [Mon, 20 Apr 2015 12:36:12 +0000 (14:36 +0200)]
fixing late hooking of request into deviceContext registry

- added xid into requestCtx

Change-Id: I7944e966cbe9e136d3d0fcbee57649b0b40a3248
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofixed inport casting by packetIn matches 13/18613/1
Michal Rehak [Mon, 20 Apr 2015 10:42:07 +0000 (12:42 +0200)]
fixed inport casting by packetIn matches

 - checking which match is of type inPort
 - lowered log severity for tranlation errors

Change-Id: I3b534328e399e8e5544ce60e9d193064d4fbd209
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoadded more info in case of successful rpcResult for flowMod 07/18607/1
Martin Bobak [Fri, 17 Apr 2015 15:34:52 +0000 (17:34 +0200)]
added more info in case of successful rpcResult for flowMod

Change-Id: I2f9307e4f30c61d75ac7e572c96cce2241e8ea60
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "added rpc cleanup for packetOut requests"
michal rehak [Fri, 17 Apr 2015 15:25:22 +0000 (15:25 +0000)]
Merge "added rpc cleanup for packetOut requests"

9 years agoadded rpc cleanup for packetOut requests 48/18548/1
Vaclav Demcak [Fri, 17 Apr 2015 13:48:52 +0000 (15:48 +0200)]
added rpc cleanup for packetOut requests

 - utilized cancel on future object

Change-Id: I12ca686e51d2b76a6bb43283a1b7a2372bfa2157
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoTopology manager - removing links with after removing termination point. 42/18342/4
Jozef Gloncak [Wed, 15 Apr 2015 11:56:11 +0000 (13:56 +0200)]
Topology manager - removing links with after removing termination point.

If termination point or whole node is removed then also all corresponding
links are removed from topology.

Fix of corresponding tests.
Splitting original testing class (FlowCapableTopologyExporterTest) to
- FlowCapableTopologyExporterTest
- NodeChangeListenerImplTest
- TerminationPointChangeListenerImplTest
- TestUtils.java - contains common testing methods

DataChangeListenerBase - is common ancestor for NodeChangeListenerImplTest and
TerminationPointChangeListenerImplTest

Change-Id: I051de4e5d54d50134b14f1399db9c44123990384
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "DeviceManager holds deviceContexts registry"
michal rehak [Fri, 17 Apr 2015 04:33:20 +0000 (04:33 +0000)]
Merge "DeviceManager holds deviceContexts registry"

9 years agoMerge "DeviceContext implements AutoCloseable"
michal rehak [Fri, 17 Apr 2015 04:31:47 +0000 (04:31 +0000)]
Merge "DeviceContext implements AutoCloseable"

9 years agoMerge "unified way of comparing number of txs to max allowed"
michal rehak [Fri, 17 Apr 2015 04:30:45 +0000 (04:30 +0000)]
Merge "unified way of comparing number of txs to max allowed"

9 years agoMerge "Group creates empty groupstatistcs node when add to DS"
michal rehak [Fri, 17 Apr 2015 04:29:44 +0000 (04:29 +0000)]
Merge "Group creates empty groupstatistcs node when add to DS"

9 years agoMerge "meter creates empty meterstatistics node when added to DS"
michal rehak [Fri, 17 Apr 2015 04:27:26 +0000 (04:27 +0000)]
Merge "meter creates empty meterstatistics node when added to DS"

9 years agoMerge "Two request contexts in Rpc context"
michal rehak [Fri, 17 Apr 2015 04:26:29 +0000 (04:26 +0000)]
Merge "Two request contexts in Rpc context"

9 years agoBUG-2757 : Adding cookie as a comparison element for flow comparison 42/18442/2
Anil Vishnoi [Thu, 16 Apr 2015 13:16:47 +0000 (18:46 +0530)]
BUG-2757 : Adding cookie as a comparison element for flow comparison
If application installs two flows that are different only by the match extension they use,
second flow will match the first flow, because we don't use match
extensions for flow comparison.To include match extension in flow
comparison require quite a bit work, which can not be done in this
release. I am adding flow cookie also in flow comparison, so that
apps who are using extensions can use that to differentiate two flows
that matches if extension is excluded.If applications don't use it,
 or use same cookie, it won't impact the existing working of statistics manager.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
9 years agoTwo request contexts in Rpc context 17/18417/1
Jozef Gloncak [Thu, 16 Apr 2015 12:23:30 +0000 (14:23 +0200)]
Two request contexts in Rpc context

Probably by mistake there were two collections intended for holding opened
request contexts.
- requestContexts - used only for removing request contexts
- synchronizedRequestsList - only for inserting new request contexts

Change-Id: Iff5da01f5ccaab5f6f155d9c7a8d82e228600a1e
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoDeviceManager holds deviceContexts registry 15/18415/1
Martin Bobak [Thu, 16 Apr 2015 12:23:12 +0000 (14:23 +0200)]
DeviceManager holds deviceContexts registry

Change-Id: I45a99c35bb50433b151f5513c02ca46ec2283820
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext implements AutoCloseable 14/18414/1
Martin Bobak [Thu, 16 Apr 2015 12:17:32 +0000 (14:17 +0200)]
DeviceContext implements AutoCloseable

Change-Id: I35b380e0de71266f25bf188094d4e2b03c00e763
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agounified way of comparing number of txs to max allowed 12/18412/1
Martin Bobak [Thu, 16 Apr 2015 12:06:18 +0000 (14:06 +0200)]
unified way of comparing number of txs to max allowed

Change-Id: Ia2e4a1d8fdcac2c43e7a09788c6cd344631f3937
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoGroup creates empty groupstatistcs node when add to DS 06/18406/1
Martin Bobak [Thu, 16 Apr 2015 10:13:47 +0000 (12:13 +0200)]
Group creates empty groupstatistcs node when add to DS

Change-Id: Ic4e0a1af903e6f344ea11fb2a1fc9a2ebe30a58f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agometer creates empty meterstatistics node when added to DS 05/18405/1
Martin Bobak [Thu, 16 Apr 2015 10:08:30 +0000 (12:08 +0200)]
meter creates empty meterstatistics node when added to DS

Change-Id: I2472faac61aa9d94859685d9b8c00a7b906303d2
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics processing writes/removes meter data to/from operational DS 47/18347/2
Martin Bobak [Wed, 15 Apr 2015 13:34:22 +0000 (15:34 +0200)]
statistics processing writes/removes meter data to/from operational DS

Change-Id: Id07a0616bd5beb015594bb7c61ceaa6a9b4a42c8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMultipartRequestInputFactory creates MultipartRequestMeterConfigCase aligned with... 46/18346/1
Martin Bobak [Wed, 15 Apr 2015 13:13:59 +0000 (15:13 +0200)]
MultipartRequestInputFactory creates MultipartRequestMeterConfigCase aligned with OFJava

Change-Id: Ie6c328aa32acfe6221ecf4364ef59b34ca9f4cdc
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoSalMeterServiceImpl stores/removes meterIds to/from device registry 45/18345/1
Martin Bobak [Wed, 15 Apr 2015 12:48:39 +0000 (14:48 +0200)]
SalMeterServiceImpl stores/removes meterIds to/from device registry

Change-Id: Iff152070298a0f066820c87f0bef234b51c75e57
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics gathering utils cleanup 44/18344/1
Martin Bobak [Wed, 15 Apr 2015 11:58:22 +0000 (13:58 +0200)]
statistics gathering utils cleanup

Change-Id: I9b83853a7e6894f0c10ad6614a357fd20b1c4745
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Fixed acquiring meter statistics from device"
michal rehak [Wed, 15 Apr 2015 12:14:43 +0000 (12:14 +0000)]
Merge "Fixed acquiring meter statistics from device"

9 years agoMerge "Topology manager - write to topology reference to inventory"
michal rehak [Wed, 15 Apr 2015 12:14:26 +0000 (12:14 +0000)]
Merge "Topology manager - write to topology reference to inventory"

9 years agoMerge "device contexts holds and provides meter registry"
michal rehak [Wed, 15 Apr 2015 12:13:05 +0000 (12:13 +0000)]
Merge "device contexts holds and provides meter registry"

9 years agoMerge "added api and implementation of device meter registry"
michal rehak [Wed, 15 Apr 2015 12:12:36 +0000 (12:12 +0000)]
Merge "added api and implementation of device meter registry"

9 years agoMerge "package flow.registry renamed to registry.flow"
michal rehak [Wed, 15 Apr 2015 12:12:11 +0000 (12:12 +0000)]
Merge "package flow.registry renamed to registry.flow"

9 years agoFixed acquiring meter statistics from device 31/18331/1
Timotej Kubas [Wed, 15 Apr 2015 08:49:28 +0000 (10:49 +0200)]
Fixed acquiring meter statistics from device

Change-Id: Ied93a3ae04fd3652ba7710d29aecf9cc6caeef0e
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoTopology manager - write to topology reference to inventory 70/18270/3
Jozef Gloncak [Tue, 14 Apr 2015 14:09:33 +0000 (16:09 +0200)]
Topology manager - write to topology reference to inventory

Change-Id: I943f8134894172a9dc88d10262a904b2126e50c4
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "statistics processing adds/removes groups to/from operational DS"
michal rehak [Wed, 15 Apr 2015 11:15:54 +0000 (11:15 +0000)]
Merge "statistics processing adds/removes groups to/from operational DS"

9 years agoMerge "device group registry exposes all registered group IDs"
michal rehak [Wed, 15 Apr 2015 11:14:28 +0000 (11:14 +0000)]
Merge "device group registry exposes all registered group IDs"

9 years agoMerge "SalGroupService stores group IDs into device context's internal registry"
michal rehak [Wed, 15 Apr 2015 11:14:10 +0000 (11:14 +0000)]
Merge "SalGroupService stores group IDs into device context's internal registry"

9 years agoMerge "DeviceContext holds device group registry"
michal rehak [Wed, 15 Apr 2015 11:13:48 +0000 (11:13 +0000)]
Merge "DeviceContext holds device group registry"

9 years agoMerge "device group registry implementation"
michal rehak [Wed, 15 Apr 2015 11:13:21 +0000 (11:13 +0000)]
Merge "device group registry implementation"

9 years agoMerge "added api for DeviceGroupRegistry"
michal rehak [Wed, 15 Apr 2015 11:13:04 +0000 (11:13 +0000)]
Merge "added api for DeviceGroupRegistry"

9 years agoMerge "StatisticsGatheringUtils initial cleanup"
michal rehak [Wed, 15 Apr 2015 11:12:46 +0000 (11:12 +0000)]
Merge "StatisticsGatheringUtils initial cleanup"

9 years agodevice contexts holds and provides meter registry 24/18324/1
Martin Bobak [Wed, 15 Apr 2015 11:09:50 +0000 (13:09 +0200)]
device contexts holds and provides meter registry

Change-Id: I6c0e13501e0fef20f9df9eab22e964c3f3e253b1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded api and implementation of device meter registry 23/18323/1
Martin Bobak [Wed, 15 Apr 2015 10:58:14 +0000 (12:58 +0200)]
added api and implementation of device meter registry

Change-Id: Ie4f3bedc6e38f855938b9c3df3cb110087edbcc2
Signed-off-by: Martin Bobak <mbobak@cisco.com>