openflowplugin.git
9 years agoSupport for Table Features 34/18334/9
Jozef Gloncak [Tue, 28 Apr 2015 12:41:06 +0000 (14:41 +0200)]
Support for Table Features

FlowListenerTest.java - removed equals which checks concrete transaction ID.
If changes are done on flow also TableForwarder is notified because listener is
listening on subtree changes. Therefore can happend that sometimes changes in
table are processed before changes in flow and therefore is generated transaction
ID DOM-2 instead DOM-1.

Change-Id: I3570c03fda0b532833c85bae01ed4a10cc14a2d2
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMerge "TxChaingManager logging changed to warning"
michal rehak [Wed, 29 Apr 2015 04:07:54 +0000 (04:07 +0000)]
Merge "TxChaingManager logging changed to warning"

9 years agoMerge "removed unwanted requests map initialization"
michal rehak [Wed, 29 Apr 2015 04:06:03 +0000 (04:06 +0000)]
Merge "removed unwanted requests map initialization"

9 years agoMerge "added initial waiting for mdsal in topologyManager"
michal rehak [Wed, 29 Apr 2015 04:05:13 +0000 (04:05 +0000)]
Merge "added initial waiting for mdsal in topologyManager"

9 years agoMerge "added initial waiting for mdsal in dropTest"
michal rehak [Wed, 29 Apr 2015 04:04:08 +0000 (04:04 +0000)]
Merge "added initial waiting for mdsal in dropTest"

9 years agoMerge "added initial waiting for mdsal in tableMissEnforcer"
michal rehak [Tue, 28 Apr 2015 19:14:00 +0000 (19:14 +0000)]
Merge "added initial waiting for mdsal in tableMissEnforcer"

9 years agoTxChaingManager logging changed to warning 47/19247/4
Martin Bobak [Tue, 28 Apr 2015 17:35:36 +0000 (19:35 +0200)]
TxChaingManager logging changed to warning

Change-Id: Ibae2db6b9a4eedf2f323323d9f5e67a46f0a5a5c
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoremoved unwanted requests map initialization 46/19246/4
Martin Bobak [Tue, 28 Apr 2015 17:22:53 +0000 (19:22 +0200)]
removed unwanted requests map initialization

Change-Id: I77e94a45ece999a33c6ec2ed9c438e5daa784206
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded initial waiting for mdsal in topologyManager 40/19240/2
Martin Bobak [Tue, 28 Apr 2015 15:36:08 +0000 (17:36 +0200)]
added initial waiting for mdsal in topologyManager

Change-Id: I6ed1cf39abb520da8d79b14e097133d4e5418911
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded initial waiting for mdsal in dropTest 39/19239/2
Martin Bobak [Tue, 28 Apr 2015 14:32:53 +0000 (16:32 +0200)]
added initial waiting for mdsal in dropTest

Change-Id: I49494116f1b78a0a0179390d52985c70964ba6c3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded initial waiting for mdsal in tableMissEnforcer 54/19254/1
Martin Bobak [Tue, 28 Apr 2015 14:32:27 +0000 (16:32 +0200)]
added initial waiting for mdsal in tableMissEnforcer

Change-Id: Ifd315526e6263231ee41c7d36a9601e7a3bb6294
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "added initial waiting for mdsal in FRM"
michal rehak [Tue, 28 Apr 2015 18:43:57 +0000 (18:43 +0000)]
Merge "added initial waiting for mdsal in FRM"

9 years agoMerge "introduction of ofp-common"
michal rehak [Tue, 28 Apr 2015 18:43:51 +0000 (18:43 +0000)]
Merge "introduction of ofp-common"

9 years agoadded versions to drop-test config file dependency 49/19249/1
Martin Bobak [Tue, 28 Apr 2015 18:02:00 +0000 (20:02 +0200)]
added versions to drop-test config file dependency

Change-Id: I06b1c676ec9dc095a2cd1dcb90b0a4dc12b868a3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "requests map in deviceContext is synchronized now"
michal rehak [Tue, 28 Apr 2015 16:39:39 +0000 (16:39 +0000)]
Merge "requests map in deviceContext is synchronized now"

9 years agoMerge "fix npe when calculation port number hash"
michal rehak [Tue, 28 Apr 2015 16:39:16 +0000 (16:39 +0000)]
Merge "fix npe when calculation port number hash"

9 years agoadded initial waiting for mdsal in FRM 37/19237/1
Martin Bobak [Tue, 28 Apr 2015 14:31:23 +0000 (16:31 +0200)]
added initial waiting for mdsal in FRM

Change-Id: Iafff27b78597540b9fa273666a2a2c18af0233e7
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agointroduction of ofp-common 36/19236/1
Martin Bobak [Tue, 28 Apr 2015 14:29:25 +0000 (16:29 +0200)]
introduction of ofp-common

 - SimpleTaskRetryLooper added (for waiting till given task/action succeeds)

Change-Id: I92e3ba42ddc8fd3d6965b56cc3f329d14ba109e2
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agorequests map in deviceContext is synchronized now 33/19233/2
Martin Bobak [Tue, 28 Apr 2015 16:01:30 +0000 (18:01 +0200)]
requests map in deviceContext is synchronized now

Change-Id: If4514e604bf0ad98a52bd713736c1b5a63b75681
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix npe when calculation port number hash 28/19228/3
Martin Bobak [Tue, 28 Apr 2015 15:06:41 +0000 (17:06 +0200)]
fix npe when calculation port number hash

Change-Id: I57f66d57ce447e84da170aa2e8a97febfdd0dd7f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "clean features dependencies in pom"
michal rehak [Tue, 28 Apr 2015 15:59:02 +0000 (15:59 +0000)]
Merge "clean features dependencies in pom"

9 years agoLi feature renamed to be less tongue twisting 16/19216/2
Martin Bobak [Tue, 28 Apr 2015 14:03:11 +0000 (16:03 +0200)]
Li feature renamed to be less tongue twisting

Change-Id: I100230ec251ce77f0f4bfd5844d917ee13154652
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoXID is hooked inside CommonService 15/19215/2
Martin Bobak [Tue, 28 Apr 2015 13:28:43 +0000 (15:28 +0200)]
XID is hooked inside CommonService

Change-Id: Iab83464ccaf2c59b5f8cd9211bb63dc8d0971c89
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofixed statistics gathering future handling in StatsManager 05/19205/4
Martin Bobak [Tue, 28 Apr 2015 09:17:45 +0000 (11:17 +0200)]
fixed statistics gathering future handling in StatsManager

Change-Id: I71b618a7dc45998f7f5a524332589181be2eaf99
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFix npe when closing connection 04/19204/4
Martin Bobak [Tue, 28 Apr 2015 09:09:40 +0000 (11:09 +0200)]
Fix npe when closing connection

Change-Id: I29eb9511678c72a1589620f4f23ca5e165852691
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsContext returns information whether some of statistics were gathered 03/19203/4
Martin Bobak [Tue, 28 Apr 2015 09:08:31 +0000 (11:08 +0200)]
StatisticsContext returns information whether some of statistics were gathered

- StatisticsManager doesn't delete node from DS, DeviceCtx does that instead

Change-Id: Ic9ad83521be7a5a73b2216ac3ad615eced1754a8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatsContext that fails to gather initial statistics is not registerd in manager... 02/19202/2
Martin Bobak [Tue, 28 Apr 2015 08:05:47 +0000 (10:05 +0200)]
StatsContext that fails to gather initial statistics is not registerd in manager's registry

Change-Id: Id6597dbfdc4bbf35f50efd02220e9c1f393bbea7
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix npe when calculating mask hash 01/19201/2
Martin Bobak [Mon, 27 Apr 2015 16:29:47 +0000 (18:29 +0200)]
fix npe when calculating mask hash

Change-Id: I6a1e1234f78938246fb438639c54afd8ffa7b708
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix npe when calculating metadata hash 00/19200/2
Martin Bobak [Mon, 27 Apr 2015 15:59:02 +0000 (17:59 +0200)]
fix npe when calculating metadata hash

Change-Id: I5702948147a40fc3fba09c8a83e7d6a0a8daedad
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agocalclulate IP addresses hash only from masked part of address 99/19199/2
Martin Bobak [Mon, 27 Apr 2015 15:08:19 +0000 (17:08 +0200)]
calclulate IP addresses hash only from masked part of address

Change-Id: I9fabfc6bffe2341576eed2582de40f118baee255
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge topic 'Li-proposal'
michal rehak [Tue, 28 Apr 2015 11:44:34 +0000 (11:44 +0000)]
Merge topic 'Li-proposal'

* changes:
  fix npe when in CommonService
  flow hash computation take into account full Ipv6 form and more of layer3 match parameters

9 years agoMerge "SalEchoServiceImpl implementation"
michal rehak [Tue, 28 Apr 2015 11:41:58 +0000 (11:41 +0000)]
Merge "SalEchoServiceImpl implementation"

9 years agoclean features dependencies in pom 98/19198/1
Martin Bobak [Mon, 27 Apr 2015 18:09:58 +0000 (20:09 +0200)]
clean features dependencies in pom

Change-Id: I8ec4c77cd6d446244e675410e7affa0412f4ba3f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoSalEchoServiceImpl implementation 78/18978/6
Jozef Gloncak [Fri, 24 Apr 2015 07:30:49 +0000 (09:30 +0200)]
SalEchoServiceImpl implementation

Implementation of echo service.

Change-Id: I38019dd24a914435ff29994c5f7d9735bd59c3fa
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoFixed hash computation 58/19158/2
Timotej Kubas [Mon, 27 Apr 2015 15:00:31 +0000 (17:00 +0200)]
Fixed hash computation

Change-Id: Icea92552a7c8d9c7ec84bc45466650a11de0ceef
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
9 years agofeatures refactoring - allow for He and Li in one build 68/19168/1
Michal Rehak [Mon, 27 Apr 2015 18:14:59 +0000 (20:14 +0200)]
features refactoring - allow for He and Li in one build

 - remove default features
 - features divided into separate projects
 - renamed lithium features - added 'li'
 - added li-features version into artifacts pom
 - added li-features into local karaf distro

Change-Id: I9d447d450d0569e641145c05b05eb7b5af1b25fe
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "Extracting error handling methods to standalone callback implementation."
michal rehak [Mon, 27 Apr 2015 17:21:08 +0000 (17:21 +0000)]
Merge "Extracting error handling methods to standalone callback implementation."

9 years agoTransactionChain manager schedules preset time, not fixed value 49/19149/3
Martin Bobak [Mon, 27 Apr 2015 13:19:55 +0000 (15:19 +0200)]
TransactionChain manager schedules preset time, not fixed value

Change-Id: I641669082af106b3c65a709682dd850e87c63e7a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded drop test config for He 44/19144/1
Martin Bobak [Mon, 27 Apr 2015 12:04:42 +0000 (14:04 +0200)]
added drop test config for He

 - this config file is needed for drop-test to start after
   drop-test startup is driven by config subsystem

Change-Id: I1bccd3324be9d3448ab8528f9fb047c5db9c178a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoExtracting error handling methods to standalone callback implementation. 77/18977/4
Jozef Gloncak [Fri, 24 Apr 2015 07:17:47 +0000 (09:17 +0200)]
Extracting error handling methods to standalone callback implementation.

OFJResult2RequestCtxFuture was implemented as named class BaseCallback and it is
possible to implement also what should happend if future is successfull (e.g.
SuccessCallback).

Change-Id: I9010d6bcc0dbd46f63552d521cd36541c4008010
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBug 3065: Fixed bugs in features.xml. 26/19126/1
Shigeru Yasuda [Mon, 27 Apr 2015 04:40:51 +0000 (13:40 +0900)]
Bug 3065: Fixed bugs in features.xml.

<configfile> has to be written without leading and trailing whitespace
characters.

Change-Id: Iec936102233fd56b02cc3102d97b5660a2ff861f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agofix npe when in CommonService 17/19117/1
Martin Bobak [Sun, 26 Apr 2015 20:15:56 +0000 (22:15 +0200)]
fix npe when in CommonService

Change-Id: Ia978abfd00cd6801d30907642b90dc34937432ad
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoflow hash computation take into account full Ipv6 form and more of layer3 match param... 16/19116/1
Martin Bobak [Sun, 26 Apr 2015 20:15:12 +0000 (22:15 +0200)]
flow hash computation take into account full Ipv6 form and more of layer3 match parameters

Change-Id: I9bd701a5bf65f0483446f2617a074096ff852cf7
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded logging to FlowUtil 11/19111/2
Martin Bobak [Sun, 26 Apr 2015 17:33:15 +0000 (19:33 +0200)]
added logging to FlowUtil

Change-Id: Ic28008ba5c09269fd81734dcda869a4c773a3c8f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix failing hash computation when token is empty 10/19110/1
Martin Bobak [Sun, 26 Apr 2015 16:48:36 +0000 (18:48 +0200)]
fix failing hash computation when token is empty

Change-Id: I83cfee7dcab398e8c5068877382c997cdb19c7a4
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoremoved chatty log from StatisticsGatheringService 08/19108/2
Martin Bobak [Sun, 26 Apr 2015 15:52:14 +0000 (17:52 +0200)]
removed chatty log from StatisticsGatheringService

Change-Id: I2b4cd24bb665c717947f0d7506cd15c94448c934
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix npe when device disconnects before HELLO process finishes 07/19107/2
Martin Bobak [Sun, 26 Apr 2015 15:23:08 +0000 (17:23 +0200)]
fix npe when device disconnects before HELLO process finishes

Change-Id: Ib09d705f89c7a1a9d6ac242c9aae5e05641f7881
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agorewrite ofp-He to direct access md-sal services 06/19106/2
Martin Bobak [Sun, 26 Apr 2015 14:24:49 +0000 (16:24 +0200)]
rewrite ofp-He to direct access md-sal services

 - till now ofplugin used general BindingBroker to access
   services
 - adjusted service parameters format

Change-Id: Iea6338a77b9dd03772c5146ba94ba9ffffd6977e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "drop test migrated to config subsystem"
michal rehak [Sun, 26 Apr 2015 14:26:55 +0000 (14:26 +0000)]
Merge "drop test migrated to config subsystem"

9 years agoBarrierTask holds referrence to DeviceContext 03/19103/1
Martin Bobak [Sun, 26 Apr 2015 10:49:40 +0000 (12:49 +0200)]
BarrierTask holds referrence to DeviceContext

Change-Id: I4142e01b650d6de878e53169166e1aa2f96de088
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoeliminated singletons 02/19102/1
Martin Bobak [Sat, 25 Apr 2015 23:01:57 +0000 (01:01 +0200)]
eliminated singletons

 - LLDPAger was unable to restart because of init of timer in private ctor

Change-Id: Ifd0fd642a1936c646ae4bbf00720f81955dd44e5
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agolldp-speaker - added status service close 01/19101/1
Martin Bobak [Sat, 25 Apr 2015 22:34:06 +0000 (00:34 +0200)]
lldp-speaker - added status service close

 - on module close the service rpc registration shall close too

Change-Id: Ia65cf87606fcc2a3a42469d208ee4fc5ff46e541
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodrop test migrated to config subsystem 00/19100/2
Martin Bobak [Sun, 26 Apr 2015 09:07:25 +0000 (11:07 +0200)]
drop test migrated to config subsystem

    - bundle is started by ConfigSubsystem and uses
      ping-pong-data-broker and related services

Change-Id: Ia469d9d35dd1a0ad1e040c664e72c553d492e81a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agowiring extensions for ofp-Li 95/19095/2
Martin Bobak [Sat, 25 Apr 2015 14:59:37 +0000 (16:59 +0200)]
wiring extensions for ofp-Li

 - reused the same way as by ofp-He - needs rework

Change-Id: I6e9fa7e6edb8c4a45ca65adc25d23bddb9459602
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoextensions now use extension-API to register 94/19094/2
Martin Bobak [Sat, 25 Apr 2015 14:36:46 +0000 (16:36 +0200)]
extensions now use extension-API to register

 - required in order to have common way for registering extensions
   now ofplugin implementation can be switched without affecting
   extensions

Change-Id: Ifa5a425e9ad2cb7c855e57d8d03a6de9f96a1e1a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoprovider renamed - uniformed prefix 93/19093/2
Martin Bobak [Sat, 25 Apr 2015 10:10:11 +0000 (12:10 +0200)]
provider renamed - uniformed prefix

Change-Id: I4389e31005272237933d4099f1068d097c347719
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMigrate FRM to DataTreeChangeListener 85/19085/3
Robert Varga [Sat, 25 Apr 2015 12:41:30 +0000 (14:41 +0200)]
Migrate FRM to DataTreeChangeListener

The new interface is really what we want to do, so migrate over, cutting
a lot of the code out.

Change-Id: I2d33dc1fa55dc9508257d09e2c88ec0b3022209e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDeviceState has to be set to valid 82/19082/3
Martin Bobak [Sat, 25 Apr 2015 10:11:31 +0000 (12:11 +0200)]
DeviceState has to be set to valid

Change-Id: I1d451ac76f7defab1ffa641264103f9bdc434d03
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevCtxs in DeviceManager doesn't need to be synchronized 81/19081/3
Martin Bobak [Sat, 25 Apr 2015 10:11:12 +0000 (12:11 +0200)]
devCtxs in DeviceManager doesn't need to be synchronized

Change-Id: I16924fac2dba9360932091fe80274d9ea6f13255
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBarrierTask will not be scheduled when its DeviceCtx closes 80/19080/3
Martin Bobak [Sat, 25 Apr 2015 10:02:36 +0000 (12:02 +0200)]
BarrierTask will not be scheduled when its DeviceCtx closes

Change-Id: I0c2dcaa7322c26c17ce81c460f9fcaf433ddb376
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadd missing contexts to registered service implementations 43/19043/1
Martin Bobak [Fri, 24 Apr 2015 19:07:21 +0000 (21:07 +0200)]
add missing contexts to registered service implementations

Change-Id: I25316f5c9af1f1f87d7c39e2ef626761cd4cb0c8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoopenflowpluginProvider shifted to databroker, rpc provider and notification provider... 29/19029/2
Martin Bobak [Fri, 24 Apr 2015 15:06:57 +0000 (17:06 +0200)]
openflowpluginProvider shifted to databroker, rpc provider and notification provider service from mdsal

Change-Id: I0c3e7e74b69cd0e60f1cae078266d3bc439b5e74
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded profile that allows to choose whether build Li/He features 03/19003/2
Martin Bobak [Fri, 24 Apr 2015 09:04:24 +0000 (11:04 +0200)]
added profile that allows to choose whether build Li/He features

Change-Id: Idf848f379250e00268f09de4f7a0e1bb2205bc4a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodefensively commented code revived 47/18947/4
Martin Bobak [Thu, 23 Apr 2015 18:58:36 +0000 (20:58 +0200)]
defensively commented code revived

Change-Id: I7b69dfe37e62667c49ad2e430530790c3190e0c1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofix npe when no extension converter is registered 45/18945/4
Martin Bobak [Thu, 23 Apr 2015 18:35:05 +0000 (20:35 +0200)]
fix npe when no extension converter is registered

Change-Id: Ia58244b3b2f13612d40bf9ff6f5df7b90d1b9e8e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agomigrating FRM to config subsystem 44/18944/5
Martin Bobak [Thu, 23 Apr 2015 17:37:54 +0000 (19:37 +0200)]
migrating FRM to config subsystem

- fixed IT - added FRM modul config into controller.xml

Change-Id: I629f10523d9eab451e8618a6eda8e8358eff7306
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodrop action can't drop to extensions processing 43/18943/4
Martin Bobak [Thu, 23 Apr 2015 18:18:43 +0000 (20:18 +0200)]
drop action can't drop to extensions processing

Change-Id: If51077cda66f796f3bc8a9c8403ab7c3474bd924
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodevice specific registries close when device ctx closes 42/18942/4
Martin Bobak [Thu, 23 Apr 2015 17:28:03 +0000 (19:28 +0200)]
device specific registries close when device ctx closes

Change-Id: Ie060d32a7694ee2e7cab41d61a3aede07793172a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoclassifier for configuration files copies xml suffix 41/18941/4
Martin Bobak [Thu, 23 Apr 2015 17:13:14 +0000 (19:13 +0200)]
classifier for configuration files copies xml suffix

Change-Id: I340c664056468c15a85b1f1241b00aab76dd9f22
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded dependency to API 02/19002/1
Martin Bobak [Fri, 24 Apr 2015 11:19:53 +0000 (13:19 +0200)]
added dependency to API

 - API should not be reachable as transient dependency

Change-Id: Id840809d5b90b661aa6b9e2afb06192ee700632d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofixed NotificationServiceProvider test issue 01/19001/1
Martin Bobak [Fri, 24 Apr 2015 11:18:48 +0000 (13:18 +0200)]
fixed NotificationServiceProvider test issue

 - removed reference to particular NotificationServiceProvider implementation

Change-Id: Ic8f3ef37b2e3108945647219a8ad8a399a10157e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agogit reRevert "features cleanup for Li proposal implementation" 69/18969/1
Ed Warnicke [Thu, 23 Apr 2015 23:34:42 +0000 (16:34 -0700)]
git reRevert "features cleanup for Li proposal implementation"

This reverts commit 7105851746e6d21f917b4b15cf638540c8056606.

Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agofix c&p error in close method 36/18936/2
Martin Bobak [Thu, 23 Apr 2015 16:23:01 +0000 (18:23 +0200)]
fix c&p error in close method

Change-Id: I52e546a6a0bb768d4c362193882b88c1354961b9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsContext returns failed future when statistics are not gathered 35/18935/2
Martin Bobak [Thu, 23 Apr 2015 16:20:28 +0000 (18:20 +0200)]
StatisticsContext returns failed future when statistics are not gathered

Change-Id: I73a93672284fde61de018dc723e35161954527ff
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoremoved device features query hack 32/18932/2
Martin Bobak [Wed, 22 Apr 2015 17:53:05 +0000 (19:53 +0200)]
removed device features query hack

 - bypassing was replaced with real call
 - enhanced trace logging

Change-Id: I1b4fc54a3c107708cd25e1ef20846cd0e921f843
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoadded unit tests for SystemNotificationsListenerImpl 31/18931/2
Martin Bobak [Wed, 22 Apr 2015 17:45:20 +0000 (19:45 +0200)]
added unit tests for SystemNotificationsListenerImpl

Change-Id: I8b57eac7f90121b501ddbfd0775cbf09ab8ab794
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agofeatures cleanup for Li proposal implementation 29/18929/2
Martin Bobak [Thu, 23 Apr 2015 13:25:04 +0000 (15:25 +0200)]
features cleanup for Li proposal implementation

- Li - OFP features will be used from now on
- previous versions will have He suffix

Change-Id: Ie3c2c31c478a87074ab5705a1333a4143f3dfeda
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agosynchronization of device context 27/18927/1
Martin Bobak [Thu, 23 Apr 2015 12:45:13 +0000 (14:45 +0200)]
synchronization of device context

Change-Id: I9095d256f1dc7b1ac532977f17abfb2ade9356cb
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agounhook reqCtx in all cases 26/18926/1
Martin Bobak [Thu, 23 Apr 2015 12:43:32 +0000 (14:43 +0200)]
unhook reqCtx in all cases

Change-Id: I8a26a617ccc1d02b5f40a14dc30179e8727938b6
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoCommonService#handleServiceCall is final 25/18925/1
Martin Bobak [Thu, 23 Apr 2015 12:16:12 +0000 (14:16 +0200)]
CommonService#handleServiceCall is final

Change-Id: I6ae76b5bb5651ccf5f57f1b74949e58074d51a0e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agogetCapabilities method is not needed - removed 24/18924/1
Martin Bobak [Thu, 23 Apr 2015 12:03:53 +0000 (14:03 +0200)]
getCapabilities method is not needed - removed

Change-Id: I7ac71867fe9aa22e0afaefe72b4aad5318635588
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContexts holds more than one refference to close handler 07/18907/1
Martin Bobak [Thu, 23 Apr 2015 08:45:42 +0000 (10:45 +0200)]
DeviceContexts holds more than one refference to close handler

Change-Id: I9174f9414ae0724a9236c0c29b715e6c078fb110
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agochange of object's name 77/18877/1
Martin Bobak [Wed, 22 Apr 2015 19:08:37 +0000 (21:08 +0200)]
change of object's name

Change-Id: Iaa23a91694158e06942f49a4a6dfccc60002481c
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodev ctx is removed from Device manager's internal map when closed 76/18876/1
Martin Bobak [Wed, 22 Apr 2015 19:06:59 +0000 (21:06 +0200)]
dev ctx is removed from Device manager's internal map when closed

Change-Id: I99c7cd461276624c47fb7607ed5c0af022da8900
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agodeviceCtx sets conn. state to RIP when disconnecting primary 75/18875/1
Martin Bobak [Wed, 22 Apr 2015 18:32:45 +0000 (20:32 +0200)]
deviceCtx sets conn. state to RIP when disconnecting primary

Change-Id: I665f830a61b6195df405ffe1de47f0bc7c7db299
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agowhen DevCtx is closed StatsManager closes corresponding StatCtx as well 74/18874/1
Martin Bobak [Wed, 22 Apr 2015 18:31:00 +0000 (20:31 +0200)]
when DevCtx is closed StatsManager closes corresponding StatCtx as well

Change-Id: I617ad51955749696525c6fb75330b6848a72015f
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agogather statistics only if primary connection is in WORKING state 73/18873/1
Martin Bobak [Wed, 22 Apr 2015 18:27:16 +0000 (20:27 +0200)]
gather statistics only if primary connection is in WORKING state

Change-Id: Id3471699868235aba4ef378167f378fc228dbdd1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsContext extends AutoCloseable 72/18872/1
Martin Bobak [Wed, 22 Apr 2015 18:24:49 +0000 (20:24 +0200)]
StatisticsContext extends AutoCloseable

Change-Id: I27bc9361a3202726c7416e85b0a5095c41afda89
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMessageIntelligenceAgency run in threadpool 58/18858/1
Martin Bobak [Wed, 22 Apr 2015 15:09:45 +0000 (17:09 +0200)]
MessageIntelligenceAgency run in threadpool

Change-Id: Id71e0d61fb0495dbbe432087e8c974d13d6843e1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoRequestContext is closed with RpcError set to its future 49/18849/2
Martin Bobak [Wed, 22 Apr 2015 14:56:32 +0000 (16:56 +0200)]
RequestContext is closed with RpcError set to its future

Change-Id: Ie8c1f044ecc69c186d71f6551e742067fad9ed30
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoDeviceContext closes all its connections when is closed 48/18848/2
Martin Bobak [Wed, 22 Apr 2015 14:50:19 +0000 (16:50 +0200)]
DeviceContext closes all its connections when is closed

Change-Id: I81835ccffbfdd42f9b01882ac5b62473057bec97
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoStatisticsManager cleans up node data from OPER DS 47/18847/2
Martin Bobak [Wed, 22 Apr 2015 13:25:22 +0000 (15:25 +0200)]
StatisticsManager cleans up node data from OPER DS

Change-Id: I52e55b95f1468f67bdf92ae673523724753fd9c0
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "TunIPv4Src match extension"
michal rehak [Wed, 22 Apr 2015 14:56:24 +0000 (14:56 +0000)]
Merge "TunIPv4Src match extension"

9 years agotable features support - added mandatory orders 42/18842/1
Timotej Kubas [Wed, 22 Apr 2015 13:51:51 +0000 (15:51 +0200)]
table features support - added mandatory orders

 - instructions and properties have to contain order element

Change-Id: I40b388e252a32ab36a0e7b71b317a422f1d8af74
Signed-off-by: Timotej Kubas <tkubas@cisco.com>
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>