controller.git
9 years agoBUG-1520 coverage tests for config-manager 36/10636/2
Filip Tehlar [Tue, 2 Sep 2014 13:57:39 +0000 (15:57 +0200)]
BUG-1520 coverage tests for config-manager

Change-Id: Iec63877296f4dcea2971dee38996b334099c57b9
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
9 years agoFixed bundle dependencies for features-netconf. 53/10653/2
Hideyuki Tai [Tue, 2 Sep 2014 19:58:24 +0000 (15:58 -0400)]
Fixed bundle dependencies for features-netconf.

Change-Id: I2bea7548809150d87d57da089cb5f3c5cde7b678
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoAdd getID() to NeutronRouter_Interface 48/10648/1
Flavio Fernandes [Tue, 2 Sep 2014 19:25:06 +0000 (15:25 -0400)]
Add getID() to NeutronRouter_Interface

Change-Id: Ie0afb1b2d09521913dc3877be6f92000db0d6cdd
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Include JMX Counters and resetTransactionCounters"
Tom Pantelis [Tue, 2 Sep 2014 18:21:13 +0000 (18:21 +0000)]
Merge "Include JMX Counters and resetTransactionCounters"

9 years agoBug 1441: Added proper handling of reading JSON list items. 01/10601/8
Tony Tkacik [Mon, 1 Sep 2014 19:56:45 +0000 (21:56 +0200)]
Bug 1441: Added proper handling of reading JSON list items.

Fixed handling of reading nested data in JSON codec.

Initial integration contained bug, which did use JSON
codec correctly, which ended in 500 for reading list item.

Change-Id: I38ef0b40cea1a22e313d22f64db3806c293d67d6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoFix missing yang-data-util in IT 40/10640/1
Robert Varga [Tue, 2 Sep 2014 15:48:10 +0000 (17:48 +0200)]
Fix missing yang-data-util in IT

Change-Id: I5dae652f9e65a3ec83d048cb30e804bf4e796326
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-1617 Add netconf-auth to netconf api feature"
Ed Warnicke [Tue, 2 Sep 2014 14:24:15 +0000 (14:24 +0000)]
Merge "BUG-1617 Add netconf-auth to netconf api feature"

9 years agoMerge "Improvement to opendaylight-configfile-archetype"
Tony Tkacik [Tue, 2 Sep 2014 13:15:25 +0000 (13:15 +0000)]
Merge "Improvement to opendaylight-configfile-archetype"

9 years agoImprovement to opendaylight-configfile-archetype 20/10620/2
Ed Warnicke [Tue, 2 Sep 2014 10:14:11 +0000 (05:14 -0500)]
Improvement to opendaylight-configfile-archetype

Change-Id: I9d60ab8b54edd9148e810d7eeb99735d3fd10dc1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Bug 1593 - Flow Statistics manager is updating store with incorrect key Statis...
Ed Warnicke [Tue, 2 Sep 2014 11:52:44 +0000 (11:52 +0000)]
Merge "Bug 1593 - Flow Statistics manager is updating store with incorrect key Statistics manager cache the metadata related to stats data of all the entities (flow,group, meter,queue) like when was their respective stats were updated in operational data store. If statistics manager see that stats are not being updated from last two stats fetch cycle, it consider it stale and remove it. Object that it uses as keys for hash map cache contains some variant data (counters/durations) that varies in every stats fetch cycle. It creats duplicate entry in the cache for the same entity. After two fetch cycle statistics manager find old entry stale and removes it, but in actual that's not the case. This exception is thrown when it tries to remove the stats related to next duplicate entry (which was already removed ). Fixed it by using invariant key for caching the metadata to avoid the duplication."

9 years agoMerge "Bug 1569 - [DEV] Too small variable for OF-Port-Number"
Ed Warnicke [Tue, 2 Sep 2014 11:52:33 +0000 (11:52 +0000)]
Merge "Bug 1569 - [DEV] Too small variable for OF-Port-Number"

9 years agoMerge "Small fix to xsql dependencies"
Tony Tkacik [Tue, 2 Sep 2014 11:14:21 +0000 (11:14 +0000)]
Merge "Small fix to xsql dependencies"

9 years agoBUG-1617 Add netconf-auth to netconf api feature 22/10622/1
Maros Marsalek [Tue, 2 Sep 2014 09:54:26 +0000 (11:54 +0200)]
BUG-1617 Add netconf-auth to netconf api feature

Change-Id: I9cbe20e1d29c3a7414951945ffb58e65b6a553d6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "FlowCapableTopologyExporter uses merge instead of push when link discovered"
Ed Warnicke [Tue, 2 Sep 2014 09:35:50 +0000 (09:35 +0000)]
Merge "FlowCapableTopologyExporter uses merge instead of push when link discovered"

9 years agoMerge "BUG-868: migrate ClassLoaderUtils user"
Tony Tkacik [Tue, 2 Sep 2014 05:42:15 +0000 (05:42 +0000)]
Merge "BUG-868: migrate ClassLoaderUtils user"

9 years agoMerge "BUG-1442: integrate XML/JSON Normalized Node writers with Restconf"
Tony Tkacik [Tue, 2 Sep 2014 05:37:54 +0000 (05:37 +0000)]
Merge "BUG-1442: integrate XML/JSON Normalized Node writers with Restconf"

9 years agoBUG-868: migrate ClassLoaderUtils user 33/9833/4
Robert Varga [Wed, 6 Aug 2014 21:30:34 +0000 (23:30 +0200)]
BUG-868: migrate ClassLoaderUtils user

Moves to yangtools.util, which is not deprecated.

Change-Id: Ibb69c68e027c4732d8967f44c869bf00797a1785
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1442: integrate XML/JSON Normalized Node writers with Restconf 98/10098/11
Robert Varga [Tue, 19 Aug 2014 08:42:00 +0000 (10:42 +0200)]
BUG-1442: integrate XML/JSON Normalized Node writers with Restconf

Integrated XML and JSON NormalizedNodeWriters for returning
data from Restconf. This writers does stream processing
and writes data into input stream without any intermediate
representations.

This will help with larger data sets, since it theoretically
reduces memory footprint of reading data from MD-SAL.

Change-Id: I36564b7a5a1bc50d60e1cb6d5b2b45f92c2caf0b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdded sal-rest-docgen to features. 33/10533/1
Ed Warnicke [Sun, 31 Aug 2014 01:43:24 +0000 (20:43 -0500)]
Added sal-rest-docgen to features.

Change-Id: I85af2296a1e0c8a1be599a611424418d4297f6a1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFlowCapableTopologyExporter uses merge instead of push when link discovered 41/10241/2
Martin Bobak [Wed, 20 Aug 2014 06:50:00 +0000 (08:50 +0200)]
FlowCapableTopologyExporter uses merge instead of push when link discovered

Change-Id: I4699016749b03f45eb54ad115afa89ba026b620e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoFix version in samples/northbound/loadbalancer 15/10515/1
Ed Warnicke [Sat, 30 Aug 2014 02:08:44 +0000 (21:08 -0500)]
Fix version in samples/northbound/loadbalancer

Otherwise autorelease breaks

Change-Id: I47d81b916d4188640fc802498f8f702a11de876b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoInclude JMX Counters and resetTransactionCounters 98/10498/4
Basheeruddin Ahmed [Fri, 29 Aug 2014 19:08:58 +0000 (12:08 -0700)]
Include JMX Counters and resetTransactionCounters

added ReadFailedTransactionsCount
added AbortTransactionsCount
and
resetTransactionCounters

Note:
Could not get the details where InMemoryDatastore counters
are -- need to reset those counters as part of separate
commit

included copyright headers in files that didn't had

patch 4:
Review comments closed

patch 3:
removed a comment that is not needed.

Change-Id: I3b7b81bd6c28d2fb766947df8607e8c824445bb0
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoIncreasing timeout for test 69/10269/5
Abhishek Kumar [Tue, 26 Aug 2014 02:16:57 +0000 (19:16 -0700)]
Increasing timeout for test

Also releasing the lock after message processing.

Change-Id: I43af9d5bdaf383dda0efab6309d42f8144d23a02
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoChanged key actors to use bounded mailbox 67/10267/5
Abhishek Kumar [Fri, 22 Aug 2014 21:18:19 +0000 (14:18 -0700)]
Changed key actors to use bounded mailbox

1. Changed key actors in clustering components to use
bounded mailbox.

2. Implementation of Bounded mailbox queue changed to
 use deque as its required by Shard Actors.

3. Cleanup of hard coded values.

Change-Id: I9fb87e1857f2aa9fee0819c4dff63ca3c967ec60
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoMerge "Optimized version of NormalizedNode Serialization"
Tom Pantelis [Fri, 29 Aug 2014 18:14:59 +0000 (18:14 +0000)]
Merge "Optimized version of NormalizedNode Serialization"

9 years agoMerge "Moving protobuff files to sal-clustering-commons"
Moiz Raja [Fri, 29 Aug 2014 16:19:00 +0000 (16:19 +0000)]
Merge "Moving protobuff files to sal-clustering-commons"

9 years agoMerge "Bug 1598: Cleanup stale ShardReadTransactions"
Moiz Raja [Fri, 29 Aug 2014 05:04:40 +0000 (05:04 +0000)]
Merge "Bug 1598: Cleanup stale ShardReadTransactions"

9 years agoMerge "FRM performance refactoring: * Interface definitions for FRM functionality...
Ed Warnicke [Fri, 29 Aug 2014 03:32:59 +0000 (03:32 +0000)]
Merge "FRM performance refactoring: * Interface definitions for FRM functionality  * ForwardingRulesManager (old provider)  * ForwardingRulesCommiter (DS changeListener/sender for SalServices)  * FlowNodeReconciliation (reconcil contract definition) * Centralization Provider/Manager bundle functionality  * fix possibility not unique transaction ID  * implement active NodeHolder (remove unnecessary Operation/DS check) * Listeners  * identify correct data by wildCarded InstanceIdentifier  * move registration functionality to listener class  * remove all unnecessary functionality  * functionality fragmented * Cleaning  * move FlowCookie to StatistManager (performance killer, fixing update Flow functionality,   possibly speed up delete functionality)  * cleaning unnecessary object creation * Added MockTests"

9 years agoMerge "Added AAA AuthN filter to RESTConf web.xml"
Ed Warnicke [Fri, 29 Aug 2014 03:18:53 +0000 (03:18 +0000)]
Merge "Added AAA AuthN filter to RESTConf web.xml"

9 years agoMerge "Bug 1636: Fixed invalid model of inmemory-datastore configuration."
Ed Warnicke [Fri, 29 Aug 2014 01:30:48 +0000 (01:30 +0000)]
Merge "Bug 1636: Fixed invalid model of inmemory-datastore configuration."

9 years agoMoving protobuff files to sal-clustering-commons 04/10404/2
Basheeruddin Ahmed [Wed, 27 Aug 2014 23:36:00 +0000 (16:36 -0700)]
Moving protobuff files to sal-clustering-commons

Change-Id: I299886a22aa250f4a35c8c35385c89b5c58e297d
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoAdd toString() to Neutron_IPs 71/10471/1
Flavio Fernandes [Thu, 28 Aug 2014 21:03:38 +0000 (17:03 -0400)]
Add toString() to Neutron_IPs

Change-Id: I6b9f8af8e1b65073a6a1fab3fe6eeb46c5c0cfcb
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "XSQL Karaf Command"
Ed Warnicke [Thu, 28 Aug 2014 16:52:58 +0000 (16:52 +0000)]
Merge "XSQL Karaf Command"

9 years agoMerge "Bug 1636: Config Netconf Connector did not serialize service type"
Ed Warnicke [Thu, 28 Aug 2014 16:08:13 +0000 (16:08 +0000)]
Merge "Bug 1636: Config Netconf Connector did not serialize service type"

9 years agoMerge "BUG-1617 Extract AuthProvider from netconf ssh"
Tony Tkacik [Thu, 28 Aug 2014 15:47:25 +0000 (15:47 +0000)]
Merge "BUG-1617 Extract AuthProvider from netconf ssh"

9 years agoFRM performance refactoring: 94/10294/9
Vaclav Demcak [Thu, 28 Aug 2014 15:22:42 +0000 (17:22 +0200)]
FRM performance refactoring:
* Interface definitions for FRM functionality
* ForwardingRulesManager (old provider)
* ForwardingRulesCommiter (DS changeListener/sender for SalServices)
* FlowNodeReconciliation (reconcil contract definition)
* Centralization Provider/Manager bundle functionality
* fix possibility not unique transaction ID
* implement active NodeHolder (remove unnecessary Operation/DS check)
* Listeners
* identify correct data by wildCarded InstanceIdentifier
* move registration functionality to listener class
* remove all unnecessary functionality
* functionality fragmented
* Cleaning
* move FlowCookie to StatistManager (performance killer, fixing update Flow functionality,
 possibly speed up delete functionality)
* cleaning unnecessary object creation
* Added MockTests

tests PASS: https://jenkins.opendaylight.org/integration/job/integration-master-csit-base-of13/
(Base-OF13/AD_SAL_NSF/TopologyManager/getTopology sometimes fail)

Change-Id: If5ec9920e4574bd170192b14ca978fb628fd051b
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoSmall fix to xsql dependencies 55/10455/1
Ed Warnicke [Thu, 28 Aug 2014 14:32:48 +0000 (09:32 -0500)]
Small fix to xsql dependencies

Change-Id: I53433a9340356abaf0255bd5110cbbaddc8cab74
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoXSQL Karaf Command 16/10416/3
Sharon Aicler [Thu, 28 Aug 2014 02:20:34 +0000 (19:20 -0700)]
XSQL Karaf Command

Change-Id: I6296313c2b136bc83fff01739a4e40fc5a57cd2d
Signed-off-by: Sharon Aicler <saichler@cisco.com>
9 years agoBug 1569 - [DEV] Too small variable for OF-Port-Number 48/10248/3
Martin Bobak [Wed, 20 Aug 2014 09:16:14 +0000 (11:16 +0200)]
Bug 1569 - [DEV] Too small variable for OF-Port-Number

Change-Id: Ia54bdf3da117bf0cc111ba9a503e546a0251fb54
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBug 1636: Fixed invalid model of inmemory-datastore configuration. 51/10451/1
Tony Tkacik [Thu, 28 Aug 2014 13:12:54 +0000 (15:12 +0200)]
Bug 1636: Fixed invalid model of inmemory-datastore configuration.

Change-Id: I280cd4478d1dd5ab65e333658e802394693272bb
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoBug 1636: Config Netconf Connector did not serialize service type 45/10445/1
Tony Tkacik [Thu, 28 Aug 2014 11:20:58 +0000 (13:20 +0200)]
Bug 1636: Config Netconf Connector did not serialize service type

Config Netconf connector did not serialized service type
in list of service dependencies properly, which resulted
in invalid string 'prefix:null'

Change-Id: I02cc56e2069b56737167d9b694f8cb8309bbd74d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Bug 1088 - flow id in operational not matched; after removal not removed compl...
Ed Warnicke [Thu, 28 Aug 2014 11:30:18 +0000 (11:30 +0000)]
Merge "Bug 1088 - flow id in operational not matched; after removal not removed completely Added comparator to compare ethernet address string in case (upper/lower case) agnostic way"

9 years agoRemoved RPC get-node-ip-address from flow-node-inventory 81/10381/3
Martin Sunal [Wed, 27 Aug 2014 14:38:45 +0000 (16:38 +0200)]
Removed RPC get-node-ip-address from flow-node-inventory

this RPC is not needed. IP address is stored in datastore.
Removing of implementation should be merged first:
https://git.opendaylight.org/gerrit/#/c/10382/

Change-Id: I749a65edf2a774d3a91cb210eb9bc9189a983e45
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoFixed dependencies for features-nsf. 83/10383/2
Hideyuki Tai [Wed, 27 Aug 2014 14:55:15 +0000 (10:55 -0400)]
Fixed dependencies for features-nsf.

features-nsf depends on features-ad-sal and features-base. However,
pom.xml for features-nsf lacked these dependencies.

Change-Id: I35410cb956792c02caa5f2a1fac47739514f7339
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoBug 1088 - flow id in operational not matched; after removal not removed completely 71/10371/2
Anil Vishnoi [Tue, 26 Aug 2014 20:26:15 +0000 (01:56 +0530)]
Bug 1088 - flow id in operational not matched; after removal not removed completely
Added comparator to compare ethernet address string in case (upper/lower case) agnostic way

Change-Id: Ia7ed9bc098d65bc8dff754fbb50b0eade2605136
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
9 years agoMerge "BUG-1622 Fix handling of non-downloadable schemas from remote netconf device"
Tony Tkacik [Wed, 27 Aug 2014 15:12:23 +0000 (15:12 +0000)]
Merge "BUG-1622 Fix handling of non-downloadable schemas from remote netconf device"

9 years agoMerge "BUG-1621 Fix reconnecting."
Tony Tkacik [Wed, 27 Aug 2014 15:11:16 +0000 (15:11 +0000)]
Merge "BUG-1621 Fix reconnecting."

9 years agoMerge "Cleanup DOMStoreReadTransaction/DOMDataReadTransaction exists API documentation"
Tom Pantelis [Wed, 27 Aug 2014 15:07:32 +0000 (15:07 +0000)]
Merge "Cleanup DOMStoreReadTransaction/DOMDataReadTransaction exists API documentation"

9 years agoMerge "BUG-1493: activate recursion elision"
Tony Tkacik [Wed, 27 Aug 2014 14:16:09 +0000 (14:16 +0000)]
Merge "BUG-1493: activate recursion elision"

9 years agoBUG-1622 Fix handling of non-downloadable schemas from remote netconf device 74/10374/1
Maros Marsalek [Wed, 27 Aug 2014 13:10:44 +0000 (15:10 +0200)]
BUG-1622 Fix handling of non-downloadable schemas from remote netconf device

Change-Id: I1b7a5b379e7d25fcbceba105dce6354dfa49c8af
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1621 Fix reconnecting. 73/10373/1
Maros Marsalek [Wed, 27 Aug 2014 12:51:12 +0000 (14:51 +0200)]
BUG-1621 Fix reconnecting.

Netconf-connector did not reconnect after recent changes (Ssh mina integration)
SshHandler was in pipeline after listener in reconnect, thats why the listener received no event about session down.

Change-Id: Id39062f51bc3a0caf066ca49682a2acc837b06ef
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoCleanup DOMStoreReadTransaction/DOMDataReadTransaction exists API documentation 37/9937/7
Moiz Raja [Wed, 13 Aug 2014 23:24:36 +0000 (16:24 -0700)]
Cleanup DOMStoreReadTransaction/DOMDataReadTransaction exists API documentation

This commit also cleans up the usage of ForwardedBackwardsCompatibleDataBroker from DataBrokerTestCustomizer

Change-Id: Icfb078eb54f7dae6c436ff41e7c1657b0cf4175f
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoBUG-1520 coverage tests for config-api 34/10234/7
Filip Tehlar [Mon, 25 Aug 2014 11:11:22 +0000 (13:11 +0200)]
BUG-1520 coverage tests for config-api

Change-Id: I497ad8717ad98ca58f34a1b5052b779481b6a665
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
9 years agoMerge "Adding sal-compatibilty feature"
Madhu Venugopal [Wed, 27 Aug 2014 10:45:26 +0000 (10:45 +0000)]
Merge "Adding sal-compatibilty feature"

9 years agoMerge "BUG-650: fromYangInstanceIdentifier() can return null"
Tony Tkacik [Wed, 27 Aug 2014 09:47:11 +0000 (09:47 +0000)]
Merge "BUG-650: fromYangInstanceIdentifier() can return null"

9 years agoBUG-650: fromYangInstanceIdentifier() can return null 34/10334/5
Robert Varga [Tue, 26 Aug 2014 19:49:33 +0000 (21:49 +0200)]
BUG-650: fromYangInstanceIdentifier() can return null

Properly interpret a null return as an absent identifier.

Clarified cast in #toBinding(Entry) and explained
why it is necessary, even if Eclipse reports
it as unnecessary (difference in various java compilers).

Change-Id: I2dd7cd631cb958a28ddce8db62d20e0292ae8a39
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Simplify YangInstanceIdentifier references"
Tony Tkacik [Wed, 27 Aug 2014 08:05:27 +0000 (08:05 +0000)]
Merge "Simplify YangInstanceIdentifier references"

9 years agoAdding sal-compatibilty feature 74/10274/2
Ed Warnicke [Tue, 26 Aug 2014 18:49:49 +0000 (13:49 -0500)]
Adding sal-compatibilty feature

Change-Id: Ifbafc7cea387e0ab5248c1d9dae10426913ed2f9
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdded AAA AuthN filter to RESTConf web.xml 35/10335/2
Liem Nguyen [Tue, 26 Aug 2014 19:57:18 +0000 (12:57 -0700)]
Added AAA AuthN filter to RESTConf web.xml

Change-Id: I78d57335e805165c99038b4a6f89f8c5229253a5
Signed-off-by: Liem Nguyen <liem_m_nguyen@hp.com>
9 years agoAdd example Unit test to Toaster 37/10337/1
Devin Avery [Tue, 26 Aug 2014 20:04:18 +0000 (16:04 -0400)]
Add example Unit test to Toaster

Added an example unit test to the toaster application
which uses a live DataBroker. This is intended to show
how you can use the base test helpers to get access to
a live MD-SAL databroker.

Change-Id: I090b5806bf7bead086be3e85a5d42c64110aa8c2
Signed-off-by: Devin Avery <devin.avery@brocade.com>
9 years agoSimplify YangInstanceIdentifier references 33/10333/2
Robert Varga [Tue, 26 Aug 2014 18:44:48 +0000 (20:44 +0200)]
Simplify YangInstanceIdentifier references

Now that the (binding) InstanceIdentifier and YangInstanceIdentifier
have different names, we can import both at the same time, clarifying a
bit the code.

Change-Id: I270f2eac40c4e94eb2a61b604657bcfa28a9b3cd
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Bug 1576: Handle remote failures for write Tx async"
Moiz Raja [Tue, 26 Aug 2014 18:33:11 +0000 (18:33 +0000)]
Merge "Bug 1576: Handle remote failures for write Tx async"

9 years agoMerge "Bug 1616: Issues with using container and default values in config yang"
Moiz Raja [Tue, 26 Aug 2014 15:39:07 +0000 (15:39 +0000)]
Merge "Bug 1616: Issues with using container and default values in config yang"

9 years agoBUG-1617 Extract AuthProvider from netconf ssh 18/10318/1
Maros Marsalek [Tue, 26 Aug 2014 14:53:07 +0000 (16:53 +0200)]
BUG-1617 Extract AuthProvider from netconf ssh

Change-Id: Ib6f47c0dca5b4b3604b639ae8bca3565f8dd934c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "BUG-1618 Handle pending writes in ssh netconfclient"
Tony Tkacik [Tue, 26 Aug 2014 14:09:48 +0000 (14:09 +0000)]
Merge "BUG-1618 Handle pending writes in ssh netconfclient"

9 years agoBUG-1618 Handle pending writes in ssh netconfclient 03/10303/2
Maros Marsalek [Tue, 26 Aug 2014 11:46:32 +0000 (13:46 +0200)]
BUG-1618 Handle pending writes in ssh netconfclient

Change-Id: If4371860e81cf4153c4baaa8a9b0d3c45334ab5c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Added feature for sal-mdsal-xsql"
Tony Tkacik [Tue, 26 Aug 2014 11:03:53 +0000 (11:03 +0000)]
Merge "Added feature for sal-mdsal-xsql"

9 years agoMerge "Added IP address of the OF switch to flow-node"
Ed Warnicke [Tue, 26 Aug 2014 10:18:41 +0000 (10:18 +0000)]
Merge "Added IP address of the OF switch to flow-node"

9 years agoMerge "BUG-1521 Increase test coverage of netconf-netty-util"
Tony Tkacik [Tue, 26 Aug 2014 07:37:44 +0000 (07:37 +0000)]
Merge "BUG-1521 Increase test coverage of netconf-netty-util"

9 years agoMerge "BUG-1568 Remove unused VirtualSocket"
Tony Tkacik [Tue, 26 Aug 2014 07:37:31 +0000 (07:37 +0000)]
Merge "BUG-1568 Remove unused VirtualSocket"

9 years agoMerge "BUG-1521 Netconf-monitoring test coverage raise"
Tony Tkacik [Tue, 26 Aug 2014 07:37:20 +0000 (07:37 +0000)]
Merge "BUG-1521 Netconf-monitoring test coverage raise"

9 years agoMerge "BUG-650: remove unneeded sort()"
Tony Tkacik [Tue, 26 Aug 2014 07:24:43 +0000 (07:24 +0000)]
Merge "BUG-650: remove unneeded sort()"

9 years agoMerge "Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted"
Madhu Venugopal [Tue, 26 Aug 2014 05:08:41 +0000 (05:08 +0000)]
Merge "Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted"

9 years agoAdded feature for sal-mdsal-xsql 75/10275/1
Ed Warnicke [Tue, 26 Aug 2014 04:31:33 +0000 (23:31 -0500)]
Added feature for sal-mdsal-xsql

Change-Id: I041f6939b837c281f103310bcaf7bcbda4f1ab2d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Bug 1536: Fixed minimum values of SET_TP_SRC/DST."
Giovanni Meo [Mon, 25 Aug 2014 20:58:36 +0000 (20:58 +0000)]
Merge "Bug 1536: Fixed minimum values of SET_TP_SRC/DST."

9 years agoMerge "Get some basic unit testing in place for the RaftActor class"
Ed Warnicke [Mon, 25 Aug 2014 18:03:51 +0000 (18:03 +0000)]
Merge "Get some basic unit testing in place for the RaftActor class"

9 years agoMerge "Do not use protobuf serialization for FindPrimary and it's responses"
Ed Warnicke [Mon, 25 Aug 2014 18:03:42 +0000 (18:03 +0000)]
Merge "Do not use protobuf serialization for FindPrimary and it's responses"

9 years agoMerge "Added missing dependency sections that helps if the cache is missing the requi...
Giovanni Meo [Mon, 25 Aug 2014 16:02:20 +0000 (16:02 +0000)]
Merge "Added missing dependency sections that helps if the cache is missing the required dependencies."

9 years agoMerge "Improve SnapshotBackedReadTransaction.close()"
Tom Pantelis [Mon, 25 Aug 2014 15:44:32 +0000 (15:44 +0000)]
Merge "Improve SnapshotBackedReadTransaction.close()"

9 years agoBUG-1521 Increase test coverage of netconf-netty-util 54/10254/1
Maros Marsalek [Mon, 25 Aug 2014 15:14:11 +0000 (17:14 +0200)]
BUG-1521 Increase test coverage of netconf-netty-util

Change-Id: I962e16da8d4112b4ec6a1c90170be3036041eddd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1568 Remove unused VirtualSocket 53/10253/1
Maros Marsalek [Mon, 25 Aug 2014 15:13:36 +0000 (17:13 +0200)]
BUG-1568 Remove unused VirtualSocket

Change-Id: I75682c0ec0b0956ba04060cdbcdee32a53a459c9
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoOptimized version of NormalizedNode Serialization 68/10268/9
Moiz Raja [Tue, 26 Aug 2014 02:04:30 +0000 (19:04 -0700)]
Optimized version of NormalizedNode Serialization

This commit contains the following,
- Conversion of NormalizedNode to Protocol Buffer using simple tree traversal
- Encoding of QNames and other values to small sized codes to reduce the size of the protobuf message
- Also we now do not use SchemaContext for decoding a NormalizedNode

In addition to these changes I have snuck in an unrelated change to the pom files
to get the appropriate jacoco settings in it.

Change-Id: I6ab48c9f53cf76d6d0c865cf6e5522ff27a30e3f
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Bug 1234: Force to use legacy OF plugin if it is installed."
Giovanni Meo [Mon, 25 Aug 2014 14:49:37 +0000 (14:49 +0000)]
Merge "Bug 1234: Force to use legacy OF plugin if it is installed."

9 years agoMerge "Archetypes for karaf support"
Tony Tkacik [Mon, 25 Aug 2014 13:54:02 +0000 (13:54 +0000)]
Merge "Archetypes for karaf support"

9 years agoBUG-1521 Netconf-monitoring test coverage raise 52/10252/1
Maros Marsalek [Mon, 25 Aug 2014 13:07:50 +0000 (15:07 +0200)]
BUG-1521 Netconf-monitoring test coverage raise

Change-Id: Ibcbcd7df788c75879fa0c9a554125144aa5c1545
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-650: remove unneeded sort() 47/10247/1
Robert Varga [Mon, 25 Aug 2014 12:41:20 +0000 (14:41 +0200)]
BUG-650: remove unneeded sort()

The need for sorting entries by depth disappeared with the migration to
new codec infrastructure. Tracing shows some 44% CPU being spent here,
so this should provide a marked improvement with large data changes.

Change-Id: I7c437da5656cc5946ff9413307a563d4ff9b15de
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoImprove SnapshotBackedReadTransaction.close() 96/10196/2
Robert Varga [Fri, 22 Aug 2014 22:18:26 +0000 (00:18 +0200)]
Improve SnapshotBackedReadTransaction.close()

This improves visibility of close() operation, resulting in improved
close/read collision detection.

Change-Id: I7d3367c4d669a5c3dcd3f5c6583ce64b7690f1d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoArchetypes for karaf support 45/10245/1
Ed Warnicke [Mon, 25 Aug 2014 11:34:51 +0000 (06:34 -0500)]
Archetypes for karaf support

Change-Id: Iba4d5182060d517bf3ff2f52ca6f98e942f2d52c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdded missing dependency sections that helps if the cache is missing the required... 43/10243/1
Madhu Venugopal [Mon, 25 Aug 2014 11:46:26 +0000 (04:46 -0700)]
Added missing dependency sections that helps if the cache is missing the required dependencies.

Also added a missing northbound bundle and filled up missing versions

Change-Id: I7076d50fd5f1e8bc90f753e74b59936ce46db75d
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1598: Cleanup stale ShardReadTransactions 75/10175/10
tpantelis [Fri, 22 Aug 2014 01:00:50 +0000 (21:00 -0400)]
Bug 1598: Cleanup stale ShardReadTransactions

For read-only Tx, a FinalizablePhantomReference is created with the
TransacionProxy instance as the referent and is added to a static
FinalizableReferenceQueue. The FinalizablePhantomReference is subclassed
to hold the TransactionProxy's remoteTransactionPaths map. When the
TransactionProxy instance in GC'ed, the FinalizablePhantomReference is
notified and calls closeTransaction on each TransactionContext to clean it up.

Also to handle potentially stale Tx's due to disconnects, nodes prematurely
shutting down etc, I set set an idle time out (default 10 min) on ShardTransaction
actors via setReceiveTimeout. If the actor is idle with no messages
after the timeout, the actor self-destructs.

I made the idle timeout configurable via the config yang file. This
setting needs to be passed down from the module, thru the ShardManager
to the Shards to the ShardTransactions. I created a ShardCOntext class
to hold the idle timeout and other data that's passed down. This will
also make it easier in the future if additonal config data needs to be
passed down.

In the config yang file, I created a data-store-properties grouping to
avoid having to duplicate the config properties for the operational and
config data stores.

Many unit tests fail when running from Eclipse due to creating anonymous inner
Creator class instances in the static props methods. The akka code doesn't like this -
if the Creator instance class is enclosed in another class it expects
the class to be static. However this runs fine when running unit tests
from mvn and when running the production controller. I suspect the
difference is b/c the JDK compiler generates the anonymous class as
static since they're enclosed in static methods but the Eclipse compiler
doesn't. Anyway, to avoid this I refactored all the anonymous inner
Creator classes to private static classes. I think this is safer and
will avoid potential future issues with different JDK compilers or JDK upgrades.

Change-Id: Ie644612cb34e7219dc089b8add6d397a11bffdda
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoMerge "BUG-1568 Remove ganymed Ssh client adapter"
Ed Warnicke [Mon, 25 Aug 2014 11:15:10 +0000 (11:15 +0000)]
Merge "BUG-1568 Remove ganymed Ssh client adapter"

9 years agoMerge "BUG-1568 Ssh Handler for netconf client Mina implementation"
Ed Warnicke [Mon, 25 Aug 2014 11:14:59 +0000 (11:14 +0000)]
Merge "BUG-1568 Ssh Handler for netconf client Mina implementation"

9 years agoBug 1593 - Flow Statistics manager is updating store with incorrect key 35/10135/4
Anil Vishnoi [Thu, 21 Aug 2014 13:30:36 +0000 (19:00 +0530)]
Bug 1593 - Flow Statistics manager is updating store with incorrect key
Statistics manager cache the metadata related to stats data of all the entities (flow,group,
meter,queue) like when was their respective stats were updated in operational data store.
If statistics manager see that stats are not being updated from last two stats fetch cycle,
it consider it stale and remove it. Object that it uses as keys for hash map cache contains
some variant data (counters/durations) that varies in every stats fetch cycle. It creats
duplicate entry in the cache for the same entity. After two fetch cycle statistics manager
find old entry stale and removes it, but in actual that's not the case. This exception is
thrown when it tries to remove the stats related to next duplicate entry (which was already
removed ). Fixed it by using invariant key for caching the metadata to avoid the duplication.

Change-Id: Iad5823ab70938a66fd3d024dc921b74e0852c204
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
9 years agoBug 1234: Force to use legacy OF plugin if it is installed. 60/8860/3
Shigeru Yasuda [Wed, 9 Jul 2014 13:17:17 +0000 (22:17 +0900)]
Bug 1234: Force to use legacy OF plugin if it is installed.

This patch enables to prioritize AD-SAL protocol plugin services,
and gives higher priority to legacy OF plugin than sal-compatibility.

This patch never affects integration.git artifacts because legacy
OF plugin is filtered out if MD-SAL OF plugin is installed.

Change-Id: Iee40a6f724db2105f2ec36014a10872bad824e86
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Fixed possible NPE in TopologyManager FlowCapableTopologyExporter"
Tony Tkacik [Mon, 25 Aug 2014 10:28:57 +0000 (10:28 +0000)]
Merge "Fixed possible NPE in TopologyManager FlowCapableTopologyExporter"

9 years agoMerge "Make InMemoryDOMDataStore.ready() unsynchronized"
Tony Tkacik [Mon, 25 Aug 2014 10:25:52 +0000 (10:25 +0000)]
Merge "Make InMemoryDOMDataStore.ready() unsynchronized"

9 years agoMerge "BUG-1601 Fix null pointer in netconf connector for empty schemas node"
Ed Warnicke [Mon, 25 Aug 2014 09:28:58 +0000 (09:28 +0000)]
Merge "BUG-1601 Fix null pointer in netconf connector for empty schemas node"

9 years agoBUG-1493: activate recursion elision 95/10095/3
Robert Varga [Wed, 20 Aug 2014 11:05:51 +0000 (13:05 +0200)]
BUG-1493: activate recursion elision

Previous patch prepared the infrastructure for elision, but it did not
actually activate it. This patch flips the switch on.

Change-Id: Ic02af3ccc7f5ee5f8ae4d0617562b8fdffc771c6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier...
Ed Warnicke [Mon, 25 Aug 2014 09:07:28 +0000 (09:07 +0000)]
Merge "BUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier/PathArgument"

9 years agoMerge "Add type of transaction being created to log message"
Ed Warnicke [Mon, 25 Aug 2014 09:06:24 +0000 (09:06 +0000)]
Merge "Add type of transaction being created to log message"