controller.git
9 years agoDeprecate ForwardedBackwardsCompatibleDataBroker 49/13049/1
Robert Varga [Fri, 21 Nov 2014 16:55:30 +0000 (17:55 +0100)]
Deprecate ForwardedBackwardsCompatibleDataBroker

It implements a deprecated API only, so rather than suppressing the
deprecation warnings, deprecate the entire class.

Change-Id: If7159c3960b3ca2707bb4b9c716e95ed38ddb394
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMigrate from using the deprecated SchemaContextProvider 48/13048/1
Robert Varga [Fri, 21 Nov 2014 17:08:51 +0000 (18:08 +0100)]
Migrate from using the deprecated SchemaContextProvider

org.opendaylight.controller.sal.dom.broker.SchemaContextProvider has
been deprecated, the services away so it is no longer used.

Change-Id: I6c84b2fe6ce02dce71aed4e4c24f8bc84ba078d8
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMigrate FRM/SM to use model API SchemaContextProvider 47/13047/1
Robert Varga [Fri, 21 Nov 2014 16:53:07 +0000 (17:53 +0100)]
Migrate FRM/SM to use model API SchemaContextProvider

Simple migration, eliminates the need for deprecation suppression.

Change-Id: Ic6d14c15dd1909d89c9b76bef20c36cdbde23187
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Remove raw references to Map in XSQL"
Tony Tkacik [Fri, 21 Nov 2014 15:46:14 +0000 (15:46 +0000)]
Merge "Remove raw references to Map in XSQL"

9 years agoMerge "BUG-8: mark deprecated classes as such"
Tony Tkacik [Fri, 21 Nov 2014 15:45:34 +0000 (15:45 +0000)]
Merge "BUG-8: mark deprecated classes as such"

9 years agoBug 865: Changed Config subsystem module for ForwardedBindingDataBroker. 18/13018/4
Tony Tkacik [Thu, 20 Nov 2014 16:49:47 +0000 (17:49 +0100)]
Bug 865: Changed Config subsystem module for ForwardedBindingDataBroker.

Implementation of new Bidning Data Broker was wired to deprecated APIs
and used broker to discover dependencies which did not allowed for
full-fledged customized wiring. Reworked configuration to explicitly
allow injection of each required depenency and to not use
deprecated APIs for dependency injection.

Change-Id: Iccbb20ee4bb1df380f5fc4a3a1bbc5748dcc5a38
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "BUG-650: Split out CommitCoordinationTask"
Tony Tkacik [Fri, 21 Nov 2014 11:58:21 +0000 (11:58 +0000)]
Merge "BUG-650: Split out CommitCoordinationTask"

9 years agoMerge changes Ia7cd7eda,If961a029,I9f6a57a2,Id8551489
Tony Tkacik [Fri, 21 Nov 2014 11:37:08 +0000 (11:37 +0000)]
Merge changes Ia7cd7eda,If961a029,I9f6a57a2,Id8551489

* changes:
  Fix checkstyle warnings in config-persister-file-xml-adapter.
  Fix checkstyle warnings in config-persister-feature-adapter
  Fix checkstyle warnings in config-persister-directory-xml-adapter
  Fix checkstyle warnings in config-manager

9 years agoMerge "Fix checkstyle warnings in config-api"
Tony Tkacik [Fri, 21 Nov 2014 11:36:43 +0000 (11:36 +0000)]
Merge "Fix checkstyle warnings in config-api"

9 years agoFix checkstyle warnings in netconf-client 57/12857/6
Marian Dubai [Fri, 14 Nov 2014 14:25:45 +0000 (15:25 +0100)]
Fix checkstyle warnings in netconf-client

Change-Id: I94d8c31a16f0755451a3bebad5a8792a97d426d2
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoBUG-650: Split out CommitCoordinationTask 37/12437/13
Robert Varga [Thu, 2 Oct 2014 00:07:35 +0000 (02:07 +0200)]
BUG-650: Split out CommitCoordinationTask

The coordination task takes most of the coordinator implementation. We
do not want to expose it, but at the same time we want to evolve task.
Split it out and eliminate the unneeded atomic state updates, as it is
only ever touched by a single thread.

Change-Id: I49b494d23a8b8f9cdf6cb3dc33e08d22c5bf325e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-650: remove executor abstraction"
Tony Tkacik [Fri, 21 Nov 2014 08:43:40 +0000 (08:43 +0000)]
Merge "BUG-650: remove executor abstraction"

9 years agoBug-2277: fix the Leader test failing in jenkins 70/12970/3
Kamal Rameshan [Thu, 20 Nov 2014 03:21:14 +0000 (19:21 -0800)]
Bug-2277: fix the Leader test failing in jenkins

Change-Id: I149d643b517df5010595962cbdf616c2b2fb9945
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoBUG-8: mark deprecated classes as such 80/12980/5
Robert Varga [Thu, 20 Nov 2014 10:37:09 +0000 (11:37 +0100)]
BUG-8: mark deprecated classes as such

These classes refer to various deprecated interfaces of MD-SAL,
triggering a lot of warnings about deprecated constructs. Since these
classes themselves have been superseded, mark them as Deprecated,
lowering the amount of warnings we get.

Change-Id: I19753166fa1fd617ad7085b71a1218f6bc4a3f53
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove raw references to Map in XSQL 42/12642/8
Robert Varga [Fri, 7 Nov 2014 18:53:12 +0000 (19:53 +0100)]
Remove raw references to Map in XSQL

This adds the proper types to map, removing some casts and improving
efficiency slightly. Fixes quite a few of eclipse warnings.

Change-Id: Ia8cc61961a1898dd17e4e5d0e6e7a247475a007a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix checkstyle warnings in config-persister-file-xml-adapter. 95/12995/2
Marian Dubai [Thu, 20 Nov 2014 10:03:24 +0000 (11:03 +0100)]
Fix checkstyle warnings in config-persister-file-xml-adapter.

Change-Id: Ia7cd7eda114225cfc35ec301535d5aaec0fa8794
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings in config-api 91/12991/1
Marian Dubai [Thu, 20 Nov 2014 09:51:24 +0000 (10:51 +0100)]
Fix checkstyle warnings in config-api

Change-Id: I56eedb15f3c5892731a757bdb06c34d9d15efab7
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings in config-persister-feature-adapter 94/12994/1
Marian Dubai [Thu, 20 Nov 2014 10:01:58 +0000 (11:01 +0100)]
Fix checkstyle warnings in config-persister-feature-adapter

Change-Id: If961a029b48d85b58ca10b9b71f5fc29d41dbe9c
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings in config-persister-directory-xml-adapter 93/12993/1
Marian Dubai [Thu, 20 Nov 2014 09:57:18 +0000 (10:57 +0100)]
Fix checkstyle warnings in config-persister-directory-xml-adapter

Change-Id: I9f6a57a22b470359c7eb038e77736376cd2ac3ee
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings in config-manager 92/12992/1
Marian Dubai [Thu, 20 Nov 2014 09:55:09 +0000 (10:55 +0100)]
Fix checkstyle warnings in config-manager

Change-Id: Id8551489d678ebb35908f052a571303fc6c68999
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoMerge "Remove unused warnings suppressions"
Tony Tkacik [Thu, 20 Nov 2014 12:48:59 +0000 (12:48 +0000)]
Merge "Remove unused warnings suppressions"

9 years agoMerge "BUG-868: do not use YangInstanceIdentifier.getPath()"
Tony Tkacik [Thu, 20 Nov 2014 12:48:34 +0000 (12:48 +0000)]
Merge "BUG-868: do not use YangInstanceIdentifier.getPath()"

9 years agoMerge "Do not retain module through NotificationListener"
Tony Tkacik [Thu, 20 Nov 2014 12:48:25 +0000 (12:48 +0000)]
Merge "Do not retain module through NotificationListener"

9 years agoBUG-650: remove executor abstraction 01/11401/17
Robert Varga [Sat, 20 Sep 2014 10:07:05 +0000 (12:07 +0200)]
BUG-650: remove executor abstraction

This patch removes sameThreadExecutor from the commit path, eliminating
associated overhead. Relevant benchmarks show improvement pretty much
across the board:

BEFORE                                                            millis        error
write100KSingleNodeWithOneInnerItemInCommitPerWriteBenchmark    2213.735       77.597
write100KSingleNodeWithOneInnerItemInOneCommitBenchmark          171.524        2.289
write10KSingleNodeWithTenInnerItemsInCommitPerWriteBenchmark     164.282        1.391
write10KSingleNodeWithTenInnerItemsInOneCommitBenchmark           14.161        0.196
write50KSingleNodeWithTwoInnerItemsInCommitPerWriteBenchmark     982.697       29.397
write50KSingleNodeWithTwoInnerItemsInOneCommitBenchmark           93.233        2.174

AFTER                                                             millis        error   delta
write100KSingleNodeWithOneInnerItemInCommitPerWriteBenchmark    2138.900       75.844   -3.4%
write100KSingleNodeWithOneInnerItemInOneCommitBenchmark          177.839        3.997   +3.5%
write10KSingleNodeWithTenInnerItemsInCommitPerWriteBenchmark     158.666        1.090   -3.5%
write10KSingleNodeWithTenInnerItemsInOneCommitBenchmark           13.022        0.105   -8.0%
write50KSingleNodeWithTwoInnerItemsInCommitPerWriteBenchmark     935.490       30.395   -4.8%
write50KSingleNodeWithTwoInnerItemsInOneCommitBenchmark           89.907        1.204   -3.6%

Furthermore it cleans up and marks FIXMEs for defunct statistics. These
will need to be replaced with implementation which does not assume
underlying implementation.

Change-Id: I01c51462a8529a2f874ecd2f9af05faba503bc58
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-868: do not use YangInstanceIdentifier.getPath() 77/12977/3
Robert Varga [Thu, 20 Nov 2014 09:59:09 +0000 (10:59 +0100)]
BUG-868: do not use YangInstanceIdentifier.getPath()

This method has been deprecated, so stop using it.

Change-Id: Ibfaf7e40a3d119ed05ff5743c4869e345d18e298
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Fix typos and missing space"
Tony Tkacik [Thu, 20 Nov 2014 11:27:40 +0000 (11:27 +0000)]
Merge "Fix typos and missing space"

9 years agoMerge "BUG-2381: do not retain references to DependencyResolverManager"
Tony Tkacik [Thu, 20 Nov 2014 11:24:14 +0000 (11:24 +0000)]
Merge "BUG-2381: do not retain references to DependencyResolverManager"

9 years agoMake NetconfMessageTransformUtil constants final 78/12978/1
Robert Varga [Thu, 20 Nov 2014 10:09:46 +0000 (11:09 +0100)]
Make NetconfMessageTransformUtil constants final

All of these constants were missing 'final' keyword, making them not
really constant.

Change-Id: I192df7dc9d063442f99256e874d467ed800f3717
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix typos and missing space 41/12441/3
Robert Varga [Sat, 1 Nov 2014 15:18:13 +0000 (16:18 +0100)]
Fix typos and missing space

Change-Id: Iaf581baea36091724eebbc5de33dda34605e1912
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-2381: do not retain references to DependencyResolverManager 16/12816/3
Robert Varga [Thu, 13 Nov 2014 14:35:49 +0000 (15:35 +0100)]
BUG-2381: do not retain references to DependencyResolverManager

Instead of creating an anonymous subclass, define a proper class and
pass it the three required fields.

Change-Id: I5c9eea66284b60597ac77b336ef3afa652633479
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove unused warnings suppressions 46/12646/9
Robert Varga [Fri, 7 Nov 2014 19:24:40 +0000 (20:24 +0100)]
Remove unused warnings suppressions

Remove suppressions which do not do anything -- thus fixing eclipse
warnings.

Change-Id: I846133477235152504bb159b6bf58e58c0455521
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not retain module through NotificationListener 42/12842/3
Robert Varga [Fri, 14 Nov 2014 12:03:04 +0000 (13:03 +0100)]
Do not retain module through NotificationListener

Analysis shows we are retaining Module instances via
NotificationListener instances. This turns out to be caused by anonymous
class retaining a reference to AbstractDynamicWrapper, which holds the
module for hashCode/equals purposes.

Change-Id: Iab3c30eb3d03a1387fa1f4b0f3cf16eb348f1117
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Set auth timeout along with idle in SshProxyServer"
Tony Tkacik [Thu, 20 Nov 2014 09:06:09 +0000 (09:06 +0000)]
Merge "Set auth timeout along with idle in SshProxyServer"

9 years agoMerge changes Ic434bf4a,I05a3fb18,I47a3783d,I8234bbfd
Tony Tkacik [Thu, 20 Nov 2014 09:05:53 +0000 (09:05 +0000)]
Merge changes Ic434bf4a,I05a3fb18,I47a3783d,I8234bbfd

* changes:
  Fix checkstyle warnings in netconf-cli
  Fix checkstyle warnings ietf-netconf-monitoring
  Fix checkstyle warnings for netconf-testtool
  Fix checkstyle warnings for config-netconf-connector

9 years agoMerge "BUG-2243 Fixing invalid hello message handling"
Tony Tkacik [Thu, 20 Nov 2014 09:04:25 +0000 (09:04 +0000)]
Merge "BUG-2243 Fixing invalid hello message handling"

9 years agoMerge "BUG-2218: Keep existing link augmentations during discovery process"
Tony Tkacik [Thu, 20 Nov 2014 08:52:29 +0000 (08:52 +0000)]
Merge "BUG-2218: Keep existing link augmentations during discovery process"

9 years agoMerge "Bug 2273: Removed unbuilt third-party code."
Tony Tkacik [Thu, 20 Nov 2014 08:50:51 +0000 (08:50 +0000)]
Merge "Bug 2273: Removed unbuilt third-party code."

9 years agoMerge "Remove unneeded embedded dependency"
Tony Tkacik [Thu, 20 Nov 2014 08:42:10 +0000 (08:42 +0000)]
Merge "Remove unneeded embedded dependency"

9 years agoMerge "Do not retain NetconfConnectModule reference"
Tony Tkacik [Thu, 20 Nov 2014 08:41:53 +0000 (08:41 +0000)]
Merge "Do not retain NetconfConnectModule reference"

9 years agoMerge "Use ImmutableSet/Map in ServiceReferenceRegistry"
Tony Tkacik [Thu, 20 Nov 2014 08:41:16 +0000 (08:41 +0000)]
Merge "Use ImmutableSet/Map in ServiceReferenceRegistry"

9 years agoMerge "Fix raw references to Iterator"
Tony Tkacik [Thu, 20 Nov 2014 08:40:50 +0000 (08:40 +0000)]
Merge "Fix raw references to Iterator"

9 years agoMerge "Fix raw ServiceReferences and ServiceRegistrations"
Tony Tkacik [Thu, 20 Nov 2014 08:40:38 +0000 (08:40 +0000)]
Merge "Fix raw ServiceReferences and ServiceRegistrations"

9 years agoMerge changes Ife66b5fe,I174ea168
Tony Tkacik [Thu, 20 Nov 2014 08:35:52 +0000 (08:35 +0000)]
Merge changes Ife66b5fe,I174ea168

* changes:
  Fix checkstyle warnings for config-persister-impl
  Fix checkstyle warnings in netconf-api

9 years agoMerge "Bug-2277 : Isolated Leader Implementation"
Moiz Raja [Wed, 19 Nov 2014 19:09:51 +0000 (19:09 +0000)]
Merge "Bug-2277 : Isolated Leader Implementation"

9 years agoMerge "BUG-2304 Fix leafref/instanceIdentifier processing in restconf -> netconf...
Tony Tkacik [Wed, 19 Nov 2014 15:59:08 +0000 (15:59 +0000)]
Merge "BUG-2304 Fix leafref/instanceIdentifier processing in restconf -> netconf pipeline"

9 years agoBUG-2243 Fixing invalid hello message handling 52/12952/1
Marian Dubai [Wed, 19 Nov 2014 15:28:07 +0000 (16:28 +0100)]
BUG-2243 Fixing invalid hello message handling

When invalid message before hello message, session dropped after hello message

Change-Id: I2c92012d3ba25069693a35b76d105407d200a833
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoBUG-2304 Fix leafref/instanceIdentifier processing in restconf -> netconf pipeline 24/12524/11
Maros Marsalek [Wed, 5 Nov 2014 15:46:01 +0000 (16:46 +0100)]
BUG-2304 Fix leafref/instanceIdentifier processing in restconf -> netconf pipeline

Resolve the leafref type based on type being referenced by the xpath.
Fix tests testing wrong instance identifier behavior
Fix subtree filtering in netconf northbound when identityrefs are involved

Change-Id: I561e0c92550dd6639a9f9fbd1909695041c378e4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoFix checkstyle warnings in netconf-cli 56/12856/2
Marian Dubai [Fri, 14 Nov 2014 14:15:05 +0000 (15:15 +0100)]
Fix checkstyle warnings in netconf-cli

Change-Id: Ic434bf4aac666c312e41781588aa9fca94acca4e
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings ietf-netconf-monitoring 55/12855/2
Marian Dubai [Fri, 14 Nov 2014 13:35:25 +0000 (14:35 +0100)]
Fix checkstyle warnings ietf-netconf-monitoring

Change-Id: I05a3fb185ae53128c31f8565a9489f7d0399febe
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for netconf-testtool 54/12854/2
Marian Dubai [Fri, 14 Nov 2014 13:25:25 +0000 (14:25 +0100)]
Fix checkstyle warnings for netconf-testtool

Change-Id: I47a3783d9b89cadc6549d6f4784508cefb149059
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for config-netconf-connector 53/12853/2
Marian Dubai [Fri, 14 Nov 2014 13:19:10 +0000 (14:19 +0100)]
Fix checkstyle warnings for config-netconf-connector

Change-Id: I8234bbfdb7092f6423cedc7f95de07995871756d
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for config-persister-impl 52/12852/2
Marian Dubai [Fri, 14 Nov 2014 13:16:07 +0000 (14:16 +0100)]
Fix checkstyle warnings for config-persister-impl

Change-Id: Ife66b5fea7bb6d1fe293d6181d6da7221e296731
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoUse ImmutableSet/Map in ServiceReferenceRegistry 39/12839/3
Robert Varga [Fri, 14 Nov 2014 11:13:40 +0000 (12:13 +0100)]
Use ImmutableSet/Map in ServiceReferenceRegistry

Rather than wrapping collections in unmodifiable references, perform a
copy to obtain a properly-constant collection. These references are
usually retained for longer time, so opting for memory efficiency is
better than using sparse collections.

Change-Id: I708beaaa9abb13560297a7eb1369322220e87d5a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove unneeded embedded dependency 30/12830/3
Robert Varga [Thu, 13 Nov 2014 22:12:38 +0000 (23:12 +0100)]
Remove unneeded embedded dependency

yangtools:util already embeds the dependency with a different version,
causing a potential clash. Since sal-dom-broker is not a direct user,
this will work just fine.

Change-Id: If92555d6feb15c6ee9495fb789244750a48e9129
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not retain NetconfConnectModule reference 41/12841/3
Robert Varga [Fri, 14 Nov 2014 11:53:17 +0000 (12:53 +0100)]
Do not retain NetconfConnectModule reference

Anononymous classes retain a reference to the module, which means we
leak quite a bit of memory if the client is not shut down.

Change-Id: Ifeaeb383afe8ff5c899cee66ea861e30bdf2ae41
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw ServiceReferences and ServiceRegistrations 39/12639/8
Robert Varga [Fri, 7 Nov 2014 18:30:26 +0000 (19:30 +0100)]
Fix raw ServiceReferences and ServiceRegistrations

Adding a windcard is enough to reduce the number of eclipse warnings.

Change-Id: I060ce96e2eb4cc6c6ed0e2bf87daabacc33b2d3f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw references to Iterator 32/12632/6
Robert Varga [Fri, 7 Nov 2014 17:45:21 +0000 (18:45 +0100)]
Fix raw references to Iterator

Adds type declarations to fix eclipse warnings.

Change-Id: I33c9303bda2d5dd42632de2ec191e294d496e09b
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoSet auth timeout along with idle in SshProxyServer 47/12947/1
Maros Marsalek [Wed, 19 Nov 2014 08:39:45 +0000 (09:39 +0100)]
Set auth timeout along with idle in SshProxyServer

Change-Id: I4d7de2ca3f5e2025856646b825040b79ca344f34
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug-2277 : Isolated Leader Implementation 99/12799/10
Kamal Rameshan [Thu, 13 Nov 2014 00:00:34 +0000 (16:00 -0800)]
Bug-2277 : Isolated Leader Implementation

A new RaftState has been added and on a scheduler, we check if the leader is isolated, looking at the majority peer statuses.
If Yes, then it switches the behavior to IsolatedLeader.

On the receipt of each AppendEntriesReply, the IsolatedLeader checks for isolation.
And if no, then switches back to either Leader or Follower.

These changes have been tested with TestDriver  and 3 node cluster and the switching of Leader to IsolatedLeader and back,
on the stopping and reinstating of followers, was successful.

The Isolated Leader check interval can be configured via the config subsystem

Change-Id: I42b9165cc477d812c7e0e02339537c0f1fe74934
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoRemove legacy distribution. 12/12512/2
Ed Warnicke [Wed, 5 Nov 2014 00:29:54 +0000 (18:29 -0600)]
Remove legacy distribution.

Change-Id: I0652f606efb99a4c8bcb06df8418413c3cc68d8c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix checkstyle warnings in netconf-api 51/12851/2
Marian Dubai [Fri, 14 Nov 2014 15:46:20 +0000 (16:46 +0100)]
Fix checkstyle warnings in netconf-api

Change-Id: I174ea168e5b264cd99c2faa9ab182859806ef12f
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoMerge "Updating features archetype to talk about user-facing features."
Ed Warnicke [Fri, 14 Nov 2014 18:09:54 +0000 (18:09 +0000)]
Merge "Updating features archetype to talk about user-facing features."

9 years agoMerge "Netconf testtool fix multiple feature file modification"
Tony Tkacik [Fri, 14 Nov 2014 11:25:44 +0000 (11:25 +0000)]
Merge "Netconf testtool fix multiple feature file modification"

9 years agoMerge "BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature"
Tony Tkacik [Fri, 14 Nov 2014 10:08:04 +0000 (10:08 +0000)]
Merge "BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature"

9 years agoBug 2368: MD-SAL FRM may update/remove unexpected flow entries. 87/12787/3
Shigeru Yasuda [Wed, 12 Nov 2014 15:23:08 +0000 (00:23 +0900)]
Bug 2368: MD-SAL FRM may update/remove unexpected flow entries.

FRM should always set strict flag into update-flow/remove-flow
RPC input.

Change-Id: I6027442b56f4cd93cfc3f954dc8501bb57e2d64a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug-2136 - fix for is-local-path 00/12700/8
Kamal Rameshan [Mon, 10 Nov 2014 22:35:39 +0000 (14:35 -0800)]
Bug-2136 - fix for is-local-path

Change-Id: I38a58683c94c54e9f399df56aa586e3916f75e41
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoMerge "Bug 2347: Minor fixes to correct log output"
Moiz Raja [Thu, 13 Nov 2014 21:47:14 +0000 (21:47 +0000)]
Merge "Bug 2347: Minor fixes to correct log output"

9 years agoMerge "Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00...
Tom Pantelis [Thu, 13 Nov 2014 21:25:21 +0000 (21:25 +0000)]
Merge "Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx:xx:xx:xx:xx:xx"

9 years agoMerge "BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers"
Tom Pantelis [Thu, 13 Nov 2014 19:29:39 +0000 (19:29 +0000)]
Merge "BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers"

9 years agoBUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature 17/12817/1
Maros Marsalek [Thu, 13 Nov 2014 15:30:23 +0000 (16:30 +0100)]
BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature

Apache mina sshd bundle is located in features-netconf and bouncycastle in features-netconf-connector.
This is wrong because mina sshd depends directly on bouncycastle but marks the dependency as optional which is probably not correct because this can result in runtime errors instead of resolution problems.

Change-Id: Ic9ef61294069859788fd10366e50b71f5bac9a43
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-2370 Reset schema context on disconnect in nc 90/12790/2
Maros Marsalek [Wed, 12 Nov 2014 17:28:38 +0000 (18:28 +0100)]
BUG-2370 Reset schema context on disconnect in nc

Change-Id: I64197fc4ec375a07b2f0ea1dfb1215c4e31e206c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoNetconf testtool fix multiple feature file modification 05/12805/1
Maros Marsalek [Thu, 13 Nov 2014 09:40:40 +0000 (10:40 +0100)]
Netconf testtool fix multiple feature file modification

Change-Id: I141c5298cecdbd6607789bd1688ffb8792acdad7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug 2347: Minor fixes to correct log output 10/12810/1
tpantelis [Thu, 13 Nov 2014 02:57:49 +0000 (21:57 -0500)]
Bug 2347: Minor fixes to correct log output

DOMConcurrentDataCommitCoordinator#handleException hard-codes the error
mapper to CAN_COMMIT_ERROR_MAPPER however this should be passed
in corresponding to the phase.

In TransactionCommitFailedExceptionMapper, the opNames for
PRE_COMMIT_MAPPER and CAN_COMMIT_ERROR_MAPPER are reversed, should be
"preCommit", "canCommit" respectively.

Change-Id: I6c0513f0f6265ec19de39476c95efefee53d2ee1
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBug 2273: Removed unbuilt third-party code. 42/12342/6
Ed Warnicke [Wed, 29 Oct 2014 19:20:56 +0000 (14:20 -0500)]
Bug 2273: Removed unbuilt third-party code.

Change-Id: I0158a970b3ae65e6a0c49c93d96ab71928b25dd0
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers 94/12794/1
Moiz Raja [Wed, 12 Nov 2014 21:10:09 +0000 (13:10 -0800)]
BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers

This fix properly serializes and deserializes NodeIdentifier attributes of the types
  - binary (byte[])
  - yanginstanceidentifier
  - bits (set)

Change-Id: I612d40f9730c939be0594496c26370db96ea6449
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"
Moiz Raja [Wed, 12 Nov 2014 18:14:29 +0000 (18:14 +0000)]
Merge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"

9 years agoBug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name 88/12788/1
tpantelis [Wed, 12 Nov 2014 16:21:40 +0000 (11:21 -0500)]
Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name

Change-Id: I8b9083a428553525861137fc8630635f6508c2dc
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoMerge "Bug 1029: Remove dead code: samples/clustersession"
Tony Tkacik [Wed, 12 Nov 2014 16:12:45 +0000 (16:12 +0000)]
Merge "Bug 1029: Remove dead code: samples/clustersession"

9 years agoMerge "Bug 1029: Remove dead code: p2site"
Tony Tkacik [Wed, 12 Nov 2014 16:11:43 +0000 (16:11 +0000)]
Merge "Bug 1029: Remove dead code: p2site"

9 years agoBug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx... 68/12568/8
Flavio Fernandes [Thu, 6 Nov 2014 13:22:04 +0000 (08:22 -0500)]
Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx:xx:xx:xx:xx:xx

This fixes the bug in ToSalConversionsUtils.actionFrom() that mistakenly
passed an AD-SAL-style NodeID to a conversion utility (fromNodeConnectorRef)
that was expecting a MD-SAL-style NodeID.

Patch 8: Add unit test to exercise code path that exposes the issue

Change-Id: Icc107bd785d6558a3351f139c1b13b8737b56ae7
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Move adsal into its own subdirectory."
Moiz Raja [Tue, 11 Nov 2014 17:57:51 +0000 (17:57 +0000)]
Merge "Move adsal into its own subdirectory."

9 years agoBUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set 05/12705/1
Moiz Raja [Tue, 11 Nov 2014 01:27:18 +0000 (17:27 -0800)]
BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set

This patch does the following,

1. It removes odl-clustering-test-app from the restconf features
2. Move odl-clustering-test-app to the md-sal feature (just like odl-toaster)
3. Removes all unneccessary dependencies from odl-clustering-test-app
4. Removes all the clustering configuration files from the odl-clustering-test-app feature

This now allows the odl-clustering-test-app to be used with/without clustering. It also
eliminates the problem is inadvertently installing the odl-clustering-test-app when installing
odl-restconf-all.

Change-Id: I8021f88c967576aa8cf8da54dbfa8f4464233bc3
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMove adsal into its own subdirectory. 11/12511/7
Ed Warnicke [Tue, 4 Nov 2014 22:17:43 +0000 (16:17 -0600)]
Move adsal into its own subdirectory.

Moved various adsal components into an opendaylight/adsal subdir,
gave it a parent pom, and changed the root parent pom to have the
opendaylight/adsal as a module.

Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
Tony Tkacik [Mon, 10 Nov 2014 16:04:56 +0000 (16:04 +0000)]
Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"

9 years agoMerge "BUG-2254 Enable schema-less rpcs invocation in netconf-connector"
Tony Tkacik [Mon, 10 Nov 2014 16:04:41 +0000 (16:04 +0000)]
Merge "BUG-2254 Enable schema-less rpcs invocation in netconf-connector"

9 years agoMerge "Make idle timeout configurable in ssh proxy server"
Tony Tkacik [Mon, 10 Nov 2014 16:03:57 +0000 (16:03 +0000)]
Merge "Make idle timeout configurable in ssh proxy server"

9 years agoBUG-2254 Enable schema-less rpcs invocation in netconf-connector 72/12672/1
Maros Marsalek [Mon, 10 Nov 2014 13:20:52 +0000 (14:20 +0100)]
BUG-2254 Enable schema-less rpcs invocation in netconf-connector

Change-Id: Id84a2be3db050a546380186c79deadf5c9f7fd28
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Fix raw references to SimpleNode"
Tony Tkacik [Mon, 10 Nov 2014 10:50:16 +0000 (10:50 +0000)]
Merge "Fix raw references to SimpleNode"

9 years agoMerge "Fix raw reference to SessionNegotiatior"
Tony Tkacik [Mon, 10 Nov 2014 10:50:06 +0000 (10:50 +0000)]
Merge "Fix raw reference to SessionNegotiatior"

9 years agoMerge "Fix raw use of Gauge"
Tony Tkacik [Mon, 10 Nov 2014 10:46:22 +0000 (10:46 +0000)]
Merge "Fix raw use of Gauge"

9 years agoMerge "Add serialVersionUID to Serializable classes"
Tony Tkacik [Mon, 10 Nov 2014 10:45:00 +0000 (10:45 +0000)]
Merge "Add serialVersionUID to Serializable classes"

9 years agoMerge changes Ic7e83322,I2482a37c
Tony Tkacik [Mon, 10 Nov 2014 10:44:32 +0000 (10:44 +0000)]
Merge changes Ic7e83322,I2482a37c

* changes:
  Fix a non-generic reference to Comparable
  Fix non-generic references to ArrayList

9 years agoMerge changes I525c2070,Ib920ff67
Tony Tkacik [Mon, 10 Nov 2014 10:44:10 +0000 (10:44 +0000)]
Merge changes I525c2070,Ib920ff67

* changes:
  Fix neutron pagination
  Reuse NeutronObject comparator

9 years agoMerge "Use generic-aware empty collections"
Tony Tkacik [Mon, 10 Nov 2014 10:43:11 +0000 (10:43 +0000)]
Merge "Use generic-aware empty collections"

9 years agoMake idle timeout configurable in ssh proxy server 00/12600/2
Maros Marsalek [Fri, 7 Nov 2014 12:31:48 +0000 (13:31 +0100)]
Make idle timeout configurable in ssh proxy server

Change-Id: Ia17b79331159dc04c2a837eacc33f3b7ac8033bc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector 76/12576/3
Maros Marsalek [Thu, 6 Nov 2014 15:02:55 +0000 (16:02 +0100)]
BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector

Change-Id: If58216b8174c7cdbf248e6472ae1c5ba3a405a5b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoFix raw references to SimpleNode 41/12641/4
Robert Varga [Fri, 7 Nov 2014 18:34:03 +0000 (19:34 +0100)]
Fix raw references to SimpleNode

Just adds a wildcard.

Change-Id: I62114265db13ee1945c91282b7c572c3c91458ec
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw reference to SessionNegotiatior 40/12640/4
Robert Varga [Fri, 7 Nov 2014 18:31:37 +0000 (19:31 +0100)]
Fix raw reference to SessionNegotiatior

Add a wildcard and be done with it.

Change-Id: Ifc72e1fe88e9d5ee9047c55ed93fc0fae7db331a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Fix raw references to Promise"
Tony Tkacik [Mon, 10 Nov 2014 08:56:24 +0000 (08:56 +0000)]
Merge "Fix raw references to Promise"

9 years agoMerge "Fix raw reference to Predicate"
Tony Tkacik [Mon, 10 Nov 2014 08:56:13 +0000 (08:56 +0000)]
Merge "Fix raw reference to Predicate"