openflowplugin.git
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>
9 years agopackage flow.registry renamed to registry.flow 22/18322/1
Martin Bobak [Wed, 15 Apr 2015 09:34:30 +0000 (11:34 +0200)]
package flow.registry renamed to registry.flow

Change-Id: I731422a8f85875c50e7a7800a89fecfb51bc8155
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agostatistics processing adds/removes groups to/from operational DS 19/18319/1
Martin Bobak [Wed, 15 Apr 2015 09:29:25 +0000 (11:29 +0200)]
statistics processing adds/removes groups to/from operational DS

Change-Id: If8bf23985c98a225bbad5d8f6ad86de5ab7fb768
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevice group registry exposes all registered group IDs 18/18318/1
Martin Bobak [Wed, 15 Apr 2015 09:17:11 +0000 (11:17 +0200)]
device group registry exposes all registered group IDs

Change-Id: I153931dadb84d5d0b5c670c5e71770b906524f56
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoSalGroupService stores group IDs into device context's internal registry 17/18317/1
Martin Bobak [Wed, 15 Apr 2015 09:11:42 +0000 (11:11 +0200)]
SalGroupService stores group IDs into device context's internal registry

Change-Id: I58af03c9cadcf2736802f0bd56e507ee76d902e8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext holds device group registry 16/18316/1
Martin Bobak [Wed, 15 Apr 2015 09:04:57 +0000 (11:04 +0200)]
DeviceContext holds device group registry

Change-Id: I74e2d6f458fed5c6e59e953b9a502236fff0df0e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevice group registry implementation 15/18315/2
Martin Bobak [Wed, 15 Apr 2015 09:02:47 +0000 (11:02 +0200)]
device group registry implementation

Change-Id: I02d97ec684be9ff901e22b4bf306aea5eb2772bd
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded api for DeviceGroupRegistry 13/18313/1
Martin Bobak [Wed, 15 Apr 2015 08:59:21 +0000 (10:59 +0200)]
added api for DeviceGroupRegistry

Change-Id: I1604e0079edb2751f5d48424e74f6697701070c1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsGatheringUtils initial cleanup 12/18312/1
Martin Bobak [Wed, 15 Apr 2015 08:41:25 +0000 (10:41 +0200)]
StatisticsGatheringUtils initial cleanup

Change-Id: Ibe7d73c331e05179e42a64142e7ed1e4e46acf9b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBug 2095 : output action for input changed to 'INPORT' 91/13291/4
Timotej Kubas [Thu, 19 Mar 2015 10:02:59 +0000 (11:02 +0100)]
Bug 2095 : output action for input changed to 'INPORT'

\n1. output action for input is already implemented using 'INPORT'
     string not by 'IN_PORT'.
\n2. Improved the utility method to retrieve the port no string from ncID.
     In case port is invalid generated the error message for invalid port
     no string.
\n3. added the unit test code for the utility method (InventoryDataServiceUtil
     .portNoStringFromNodeConnectorID(String)).
\n3. incorporated comments from review

Change-Id: I937158f0a5d4b93469bd858c60a2aeebb1e40962
Signed-off-by: Subhash Kumar Singh <subh.singh007@gmail.com>
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoMerge "group statistics request asks for ALL not ANY"
michal rehak [Tue, 14 Apr 2015 15:09:19 +0000 (15:09 +0000)]
Merge "group statistics request asks for ALL not ANY"

9 years agoMerge "Fixing + testing meter services"
michal rehak [Tue, 14 Apr 2015 15:01:00 +0000 (15:01 +0000)]
Merge "Fixing + testing meter services"

9 years agoMerge "Topology manager - implementing TerminationPointChangeListener"
michal rehak [Tue, 14 Apr 2015 14:58:06 +0000 (14:58 +0000)]
Merge "Topology manager - implementing TerminationPointChangeListener"

9 years agogroup statistics request asks for ALL not ANY 65/18265/2
Jozef Gloncak [Tue, 14 Apr 2015 14:42:57 +0000 (16:42 +0200)]
group statistics request asks for ALL not ANY

Change-Id: I53d60fd4d4c35159471eba03dcb436dcbd97841e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoFixing + testing meter services 75/18275/1
Timotej Kubas [Tue, 14 Apr 2015 14:37:28 +0000 (16:37 +0200)]
Fixing + testing meter services

Change-Id: I04296173125c65168131ad331af88e41445c15a7
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agoMerge "correct way of group statistics processing"
michal rehak [Tue, 14 Apr 2015 14:15:55 +0000 (14:15 +0000)]
Merge "correct way of group statistics processing"

9 years agoMerge "package flow.registry renamed to registry.flow"
michal rehak [Tue, 14 Apr 2015 14:14:41 +0000 (14:14 +0000)]
Merge "package flow.registry renamed to registry.flow"

9 years agocorrect way of group statistics processing 61/18261/1
Martin Bobak [Tue, 14 Apr 2015 12:13:51 +0000 (14:13 +0200)]
correct way of group statistics processing

Change-Id: I97cb4c6bb200fc41cc38604f18d6e0b5d9a2f9b2
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agopackage flow.registry renamed to registry.flow 60/18260/1
Martin Bobak [Tue, 14 Apr 2015 12:06:35 +0000 (14:06 +0200)]
package flow.registry renamed to registry.flow

Change-Id: Ie781e20101e8fd03df253d0607c450c1001da0a9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoTopology manager - implementing TerminationPointChangeListener 53/18253/1
Jozef Gloncak [Tue, 14 Apr 2015 10:26:10 +0000 (12:26 +0200)]
Topology manager - implementing TerminationPointChangeListener

Change-Id: I17609bb4ec1ab7ca6dc558630c7f2703495aa06c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agocleanup constants 44/17244/5
Michal Rehak [Fri, 27 Mar 2015 15:24:20 +0000 (16:24 +0100)]
cleanup constants

 - added comments
 - renamed reserved qroup id (ANY -> ALL)

Change-Id: I07a47278bd3dc2e53c3068a0642aae6a34c26add
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "flow descriptors are added to device's fl. registry immediately"
michal rehak [Tue, 14 Apr 2015 10:11:50 +0000 (10:11 +0000)]
Merge "flow descriptors are added to device's fl. registry immediately"

9 years agoMerge "DeviceFlowRegistryImpl can't be static"
michal rehak [Tue, 14 Apr 2015 10:10:04 +0000 (10:10 +0000)]
Merge "DeviceFlowRegistryImpl can't be static"

9 years agoflow descriptors are added to device's fl. registry immediately 46/18246/1
Martin Bobak [Tue, 14 Apr 2015 07:51:14 +0000 (09:51 +0200)]
flow descriptors are added to device's fl. registry immediately

- flow descriptor is added to device's flow registry immediately
  when addFlow is called. When flows were added to local registry
  in sucesses callback method, sometimes satistics
  discovered flow sooner as it was written to local registy. This
  should prevent this from happening.

Change-Id: I6602f512d05db3110c34d9e242bbe7909475e783
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceFlowRegistryImpl can't be static 45/18245/1
Martin Bobak [Tue, 14 Apr 2015 07:48:09 +0000 (09:48 +0200)]
DeviceFlowRegistryImpl can't be static

Change-Id: Ia6cacdb7bf7e783cb7e074dbf7cac0cf3cf7280d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoTopology manager - correction of topology ID 43/18243/1
Jozef Gloncak [Tue, 14 Apr 2015 06:40:53 +0000 (08:40 +0200)]
Topology manager - correction of topology ID

- correction of topology ID (to flow:1)

Change-Id: Ibc55d0f1403e89e43347653029d4ce3f46135ef3
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "BUG 2886: Fixed sal-compatibility."
Abhijit Kumbhare [Mon, 13 Apr 2015 18:11:22 +0000 (18:11 +0000)]
Merge "BUG 2886: Fixed sal-compatibility."

9 years agoMerge "Fixing + testing group services"
michal rehak [Mon, 13 Apr 2015 17:39:49 +0000 (17:39 +0000)]
Merge "Fixing + testing group services"

9 years agoMerge "Topology manager - implementation of NodeChangeListener"
michal rehak [Mon, 13 Apr 2015 17:39:05 +0000 (17:39 +0000)]
Merge "Topology manager - implementation of NodeChangeListener"

9 years agoMerge "Topology manager - new listener for link and node changes."
michal rehak [Mon, 13 Apr 2015 17:37:35 +0000 (17:37 +0000)]
Merge "Topology manager - new listener for link and node changes."

9 years agoMerge "Topology manager - new util class"
michal rehak [Mon, 13 Apr 2015 17:21:49 +0000 (17:21 +0000)]
Merge "Topology manager - new util class"

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 agoenhanced flow hash calculation 96/18196/1
Martin Bobak [Mon, 13 Apr 2015 08:13:26 +0000 (10:13 +0200)]
enhanced flow hash calculation

Change-Id: Iab132bf13edeb69de18400ba5e2c7d59c8d05476
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFixing + testing group services 98/18198/1
Timotej Kubas [Mon, 13 Apr 2015 10:41:18 +0000 (12:41 +0200)]
Fixing + testing group services

Change-Id: Ica98805c240120b01391ca8d76a2940b189d5a68
Signed-off-by: Timotej Kubas <tkubas@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 agoBUG 2886: Fixed sal-compatibility. 27/17727/3
Hideyuki Tai [Fri, 3 Apr 2015 18:27:35 +0000 (14:27 -0400)]
BUG 2886: Fixed sal-compatibility.

The patch changed the scope of the data change from BASE to SUBTREE.

Change-Id: If079e734ca2d933ab433957358fcfd4ae9d8bce3
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.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>