controller.git
9 years agoMake generated address configurable for netconf testtool 51/10851/1
Maros Marsalek [Fri, 5 Sep 2014 13:59:06 +0000 (15:59 +0200)]
Make generated address configurable for netconf testtool

Change-Id: Ia112bc4108c9d7d8756b755f8e6e660e255a046e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-997: migrate the global context schema service 43/9543/9
Robert Varga [Thu, 31 Jul 2014 15:47:47 +0000 (17:47 +0200)]
BUG-997: migrate the global context schema service

This change test-drives the new re-implementation, making sure we have a
user. An immediate advantage should be faster context convergence times.
Requires I3311a3f0251868f91c385d0291365934ccfb9ede in yangtools.

Change-Id: Ic2f07144043f456ab9821013c1d690904c9a791f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Enable AD-SAL application to configure OF 1.3 PUSH_VLAN action."
Ed Warnicke [Fri, 5 Sep 2014 07:12:07 +0000 (07:12 +0000)]
Merge "Enable AD-SAL application to configure OF 1.3 PUSH_VLAN action."

9 years agoMerge "Bug 1686 - Rework TopologyManager to use transaction chaining in order to...
Tony Tkacik [Fri, 5 Sep 2014 07:10:27 +0000 (07:10 +0000)]
Merge "Bug 1686 - Rework TopologyManager to use transaction chaining in order to not conflict with itself"

9 years agoMerge "BUG-1690: catch wildcard InstanceIdentifiers"
Tony Tkacik [Fri, 5 Sep 2014 07:10:12 +0000 (07:10 +0000)]
Merge "BUG-1690: catch wildcard InstanceIdentifiers"

9 years agoMerge "Prefer InstanceIdentifier imports"
Tony Tkacik [Fri, 5 Sep 2014 07:09:52 +0000 (07:09 +0000)]
Merge "Prefer InstanceIdentifier imports"

9 years agoMerge "BUG-1679: optinally log allocation context"
Tony Tkacik [Fri, 5 Sep 2014 07:09:35 +0000 (07:09 +0000)]
Merge "BUG-1679: optinally log allocation context"

9 years agoBUG-1617 Add netconf tcp/ssh to karaf features 01/10701/9
Maros Marsalek [Wed, 3 Sep 2014 14:34:24 +0000 (16:34 +0200)]
BUG-1617 Add netconf tcp/ssh to karaf features

Add bouncyCastle security provider to karaf distro

Change-Id: Ia13b1078c62ba39b70ed3d72c29a8e434949d4bb
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Bug 1446: Add JMX stats for clustered data store"
Moiz Raja [Fri, 5 Sep 2014 02:42:24 +0000 (02:42 +0000)]
Merge "Bug 1446: Add JMX stats for clustered data store"

9 years agoEnable AD-SAL application to configure OF 1.3 PUSH_VLAN action. 01/8801/2
Shigeru Yasuda [Tue, 8 Jul 2014 14:29:39 +0000 (23:29 +0900)]
Enable AD-SAL application to configure OF 1.3 PUSH_VLAN action.

OF 1.3 PUSH_VLAN action takes only one argument, ethernet type,
and its value must be 0x8100 or 0x88a8.

Change-Id: I4d6bcabb430245594b747e31f9edb2034f39acb6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoImplement creating and applying of snapshot for a shard 96/10496/7
Moiz Raja [Wed, 27 Aug 2014 21:12:36 +0000 (14:12 -0700)]
Implement creating and applying of snapshot for a shard

This commit implements creating and applying of snapshot as per the
RaftActor contract.

There was an issue related to recovery which was occurring because Shard
was created without a schemaContext so there are changes in this commit
which ensure that the Shard is not created before a schemaContext is
received

Change-Id: I45fd64885f09fac57f1f5ff235144064b94ab129
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "BUG 1623 - Clustering : Parsing Error thrown on startup"
Ed Warnicke [Thu, 4 Sep 2014 22:53:58 +0000 (22:53 +0000)]
Merge "BUG 1623 - Clustering : Parsing Error thrown on startup"

9 years agoMerge "BUG 1595 - Clustering : NPE on startup"
Ed Warnicke [Thu, 4 Sep 2014 22:53:39 +0000 (22:53 +0000)]
Merge "BUG 1595 - Clustering : NPE on startup"

9 years agoMerge "Bug 1637: Change Rpc actor calls to async"
Moiz Raja [Thu, 4 Sep 2014 22:47:29 +0000 (22:47 +0000)]
Merge "Bug 1637: Change Rpc actor calls to async"

9 years agoMerge "Initial clustering feature"
Devin Avery [Thu, 4 Sep 2014 22:41:44 +0000 (22:41 +0000)]
Merge "Initial clustering feature"

9 years agoMerge "Install snapshot and Reply"
Moiz Raja [Thu, 4 Sep 2014 21:26:58 +0000 (21:26 +0000)]
Merge "Install snapshot and Reply"

9 years agoMerge "OVSDB L3 support: Allow for override of default gateway mac address"
Madhu Venugopal [Thu, 4 Sep 2014 21:24:42 +0000 (21:24 +0000)]
Merge "OVSDB L3 support: Allow for override of default gateway mac address"

9 years agoInitial clustering feature 50/10550/9
Ed Warnicke [Wed, 27 Aug 2014 21:09:18 +0000 (16:09 -0500)]
Initial clustering feature

Besides the clustering feature changes a couple of other changes
had to be made to the distributed data store and remote rpc modules
to make the solution work with karaf

1. The akka.conf in sal-clustering-config has now been changed so that
it works in a single node cluster out of the box. Specifically the hostnames
have been set to 127.0.0.1 and the member role has been set to member-1

2. The distributed-data-store and the remote-rpcconnector now load akka
configuration from the configuration/initial folder. The positive thing about
this is that even in a multi-node cluster one does not need to pass the location
of akka.conf on the command line. The negative thing about this is that you
cannot change the location from which the akka configuration can be picked up.
Though this should be ok because we specifically pick modules.conf and
module-shards.conf from the configuration/initial folder as well.

3. The Protobuf bundle has now been wrapped and a Dynamic Import has been
added to it so that it can deserialized specific protocol buffer messages

4. The RestConfProvider was not written to shutdown correctly. While this is
not normally an issue it does become an issue when the clustering feature is
loaded for the first time because in that case the RestConfProvider may need
to be shutdown by the config sub-system

Change-Id: I1701ae8e9508c82779483963fb73b6af91095d7d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoBUG-1679: optinally log allocation context 09/10709/4
Robert Varga [Wed, 3 Sep 2014 16:19:52 +0000 (18:19 +0200)]
BUG-1679: optinally log allocation context

Transactions can now print their allocation context.

Change-Id: I801a44d1270f8becd2835cc31b514e2e0fdaee33
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1690: catch wildcard InstanceIdentifiers 67/10767/2
Robert Varga [Thu, 4 Sep 2014 12:19:01 +0000 (14:19 +0200)]
BUG-1690: catch wildcard InstanceIdentifiers

Read/write/merge/delete of wildcarded instance identifiers is not
defined, so catch them early on in the binding broker implementation.

Change-Id: I97161f88b8496a78575d6a7bc1b7bab8fee1da5b
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoPrefer InstanceIdentifier imports 66/10766/2
Robert Varga [Thu, 4 Sep 2014 10:26:44 +0000 (12:26 +0200)]
Prefer InstanceIdentifier imports

InstanceIdentifier/YangInstanceIdentifier are now separate, so we can
import them at the same time. Do precisely that.

Change-Id: I54a5cd49ef7b8584a5b09a12ab97e132fb92cb57
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Bug 1666: Fixing the clustering config file issue"
Moiz Raja [Thu, 4 Sep 2014 17:57:21 +0000 (17:57 +0000)]
Merge "Bug 1666: Fixing the clustering config file issue"

9 years agoMerge "Bug 1608: Make ActorContext ASK_DURATION configurable"
Moiz Raja [Thu, 4 Sep 2014 17:52:34 +0000 (17:52 +0000)]
Merge "Bug 1608: Make ActorContext ASK_DURATION configurable"

9 years agoOVSDB L3 support: Allow for override of default gateway mac address 93/10793/1
Flavio Fernandes [Thu, 4 Sep 2014 17:11:21 +0000 (13:11 -0400)]
OVSDB L3 support: Allow for override of default gateway mac address

With this change we are introducing a new system config that will be used by ovsdb's l3
implementation: ovsdb.l3gateway.mac

Its good to note here that until bug 1705 is fixed, this config will be needed so that
initial implementation is able to route packets to subnets outside the neutron l3
subnets.

Change-Id: Iaca1be3651aeff92b789b451df12e77ba842508e
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge changes I9aa41251,Ibd0fb687
Ed Warnicke [Thu, 4 Sep 2014 17:01:41 +0000 (17:01 +0000)]
Merge changes I9aa41251,Ibd0fb687

* changes:
  Bug 1703: Fixed memory leak in TransactionChain
  Bug 222: Added basic Restconf operational statistics

9 years agoMerge "Upgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 for traditional...
Devin Avery [Thu, 4 Sep 2014 16:17:31 +0000 (16:17 +0000)]
Merge "Upgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 for traditional controller distribution (Karaf already upgraded)."

9 years agoBug 1686 - Rework TopologyManager to use transaction chaining in order to not conflic... 59/10759/3
Martin Bobak [Sun, 31 Aug 2014 18:22:43 +0000 (20:22 +0200)]
Bug 1686 - Rework TopologyManager to use transaction chaining in order to not conflict with itself

Change-Id: I43c150559141d1cdc1c118cb252e7cae9b138739
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoBug 1637: Change Rpc actor calls to async 43/10443/6
tpantelis [Mon, 25 Aug 2014 00:29:58 +0000 (20:29 -0400)]
Bug 1637: Change Rpc actor calls to async

Changed RemoteRpcImplementation and RpcBroker to use async calls and
modified/created unit tests.

Added an RpcErrorsException to transfer RpcError info on failure. This
is now used in lieu of ErrorResponse to communicate failures.

Change-Id: Ib0bbda1867caff9b6c584b9b8a9b336f8acf53d7
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBug 1608: Make ActorContext ASK_DURATION configurable 90/10390/8
tpantelis [Sun, 24 Aug 2014 06:03:53 +0000 (02:03 -0400)]
Bug 1608: Make ActorContext ASK_DURATION configurable

Made the duration timeout for akka ask operations configurable via the
config system.

Also removed the explicit passing of the duration timeout to
ActorContext#exeucte* methods since all calls previously passed the
static ActorContext.ASK_DURATION.

Change-Id: Ic54e65d8d444110294048348472d1d8d56f0fd44
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBUG 1623 - Clustering : Parsing Error thrown on startup 52/10752/2
Moiz Raja [Fri, 29 Aug 2014 23:09:00 +0000 (16:09 -0700)]
BUG 1623 - Clustering : Parsing Error thrown on startup

Change-Id: Ic312d66b300ada8fbe5503cea15cfa5c646c8fe9
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoBug 1703: Fixed memory leak in TransactionChain 79/10779/2
Tony Tkacik [Thu, 4 Sep 2014 14:18:46 +0000 (16:18 +0200)]
Bug 1703: Fixed memory leak in TransactionChain

As it turned out WeakHashMap is not cleared
if value has strong reference to key. This
required to rewrite BindingTransactionChain
to listen on submit futures for each  transaction
in order to receive events mapped to binding transaction.

This actually simplifies code and removes
any need for having canonical mapping from
DOM transaction to Binding transaction.

Change-Id: I9aa4125197b022dd163f85c6965ad1227e771b99
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoBug 222: Added basic Restconf operational statistics 62/10762/2
Tony Tkacik [Thu, 4 Sep 2014 11:48:08 +0000 (13:48 +0200)]
Bug 222: Added basic Restconf operational statistics

Added basic restconf statistics which counts
incoming requests and exported it via Config subsystem.

Export via config subsystem provides this
statistics via JMX and Netconf. In distribution, where
sal-netconf-connector is present and 99-sal-netconf-connector.xml is enabled,
Restconf statistics are also available via

restconf/operational/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules/module/rest-connector-default-impl

Change-Id: Ibd0fb6875104d1a90eeaf62271c9a2f87d2f85f0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoInstall snapshot and Reply 65/9765/11
Kamal Rameshan [Wed, 6 Aug 2014 23:25:41 +0000 (16:25 -0700)]
Install snapshot and Reply

1. InstallSnaphot change in Leader
2. Moved Snapshot out of RaftActor
3. Follower ApplySnapshot changes
4. InstallSnapshotReply changes in Leader
5. Installing Snapshot made in chunks
6. Implemented ProtocolBuffer for InstallSnapshots
7. Sanpshots as ByteStrings
8. Create snapshots made aysnc using CaptureSnapshot messages
9. Save Snapshot Failure Rollback
10. LeaderTest for send snapshot and snaphot reply

Change-Id: I16acc20ac7f671e89c5fbdb7aebd6dbe72e5f6e0
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoadded an option to pass JVM params (like -verbose:gc) to run.sh 58/10758/3
David Goldberg [Thu, 4 Sep 2014 10:37:06 +0000 (13:37 +0300)]
added an option to pass JVM params (like -verbose:gc) to run.sh

Change-Id: I35a786e50e7604fd4c8abb9a958d550a88d315c1
Signed-off-by: David Goldberg <david.goldberg@contextream.com>
9 years agoUpgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 for traditional controlle... 47/10747/4
Madhu Venugopal [Thu, 4 Sep 2014 09:38:54 +0000 (02:38 -0700)]
Upgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 for traditional controller distribution (Karaf already upgraded).

With https://git.opendaylight.org/gerrit/#/c/10110/ merged in odlparent, we have to bring in the patchset4 of
https://git.opendaylight.org/gerrit/#/c/10111/4 (which was removed in patchset 5 due to committer comments).

Using this gerrit to finish the transition for the traditional distribution (where Karaf upgrade is already complete).

Change-Id: I9575678dc5d3bc1e7d4a4f8af6b0a8f168a60df9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Fix build issue due to implicit addition of unneccessary Import-Package"
Madhu Venugopal [Thu, 4 Sep 2014 13:26:01 +0000 (13:26 +0000)]
Merge "Fix build issue due to implicit addition of unneccessary Import-Package"

9 years agoMerge "Be sure to shutdown instance when destroyed"
Tony Tkacik [Thu, 4 Sep 2014 12:49:58 +0000 (12:49 +0000)]
Merge "Be sure to shutdown instance when destroyed"

9 years agoFix build issue due to implicit addition of unneccessary Import-Package 60/10760/1
Moiz Raja [Thu, 4 Sep 2014 11:41:48 +0000 (04:41 -0700)]
Fix build issue due to implicit addition of unneccessary Import-Package

Explicitly excluded *jetty and *sun.security as these are not packages
that remoterpc and distributed-datastore depend on

Change-Id: Ia359f0e901f8c4f4207d157acf9955b0bb82a53d
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Fix netconf testtool after recent changes to auth in netconf"
Tony Tkacik [Thu, 4 Sep 2014 11:38:34 +0000 (11:38 +0000)]
Merge "Fix netconf testtool after recent changes to auth in netconf"

9 years agoMerge "Refactor integration tests for netconf in netconf-it"
Tony Tkacik [Thu, 4 Sep 2014 11:38:22 +0000 (11:38 +0000)]
Merge "Refactor integration tests for netconf in netconf-it"

9 years agoMerge "Bug 1446: Add JMX stats for in-memory data store"
Ed Warnicke [Wed, 3 Sep 2014 22:51:08 +0000 (22:51 +0000)]
Merge "Bug 1446: Add JMX stats for in-memory data store"

9 years agoMerge "Candidate fix for dependency issue in odl-restconf feature"
Moiz Raja [Wed, 3 Sep 2014 18:47:12 +0000 (18:47 +0000)]
Merge "Candidate fix for dependency issue in odl-restconf feature"

9 years agoCandidate fix for dependency issue in odl-restconf feature 11/10711/1
Ed Warnicke [Wed, 3 Sep 2014 17:06:10 +0000 (12:06 -0500)]
Candidate fix for dependency issue in odl-restconf feature

Change-Id: Icc44a09b83e17f5bbd96f29eb7133b8a006a8733
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "BUG-1520 coverage tests for config-manager"
Tony Tkacik [Wed, 3 Sep 2014 16:13:40 +0000 (16:13 +0000)]
Merge "BUG-1520 coverage tests for config-manager"

9 years agoMerge "Datastore: Reuse successful future"
Tony Tkacik [Wed, 3 Sep 2014 16:10:37 +0000 (16:10 +0000)]
Merge "Datastore: Reuse successful future"

9 years agoMerge "Datastore: lower in-memory change tracking overhead"
Tony Tkacik [Wed, 3 Sep 2014 16:10:11 +0000 (16:10 +0000)]
Merge "Datastore: lower in-memory change tracking overhead"

9 years agoFix netconf testtool after recent changes to auth in netconf 03/10703/1
Maros Marsalek [Wed, 3 Sep 2014 15:26:11 +0000 (17:26 +0200)]
Fix netconf testtool after recent changes to auth in netconf

Change-Id: I924057380d2a63d062ef33a4d9bc29af61265dc3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoRefactor integration tests for netconf in netconf-it 87/10687/2
Maros Marsalek [Wed, 3 Sep 2014 12:22:43 +0000 (14:22 +0200)]
Refactor integration tests for netconf in netconf-it

Change-Id: I03c8a9220dc1fa115f6489219df6a45297bbd28e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Bug 1664: Fixed JSON/XML serialization of reading mount point root data."
Ed Warnicke [Wed, 3 Sep 2014 15:01:54 +0000 (15:01 +0000)]
Merge "Bug 1664: Fixed JSON/XML serialization of reading mount point root data."

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 agoBug 1664: Fixed JSON/XML serialization of reading mount point root data. 93/10693/2
Tony Tkacik [Wed, 3 Sep 2014 13:02:55 +0000 (15:02 +0200)]
Bug 1664: Fixed JSON/XML serialization of reading mount point root data.

Change-Id: I3ff08d907abc0c11e4166cc8c70695325df95868
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Hotfix for resolving of remote yang schemas."
Tony Tkacik [Wed, 3 Sep 2014 09:21:38 +0000 (09:21 +0000)]
Merge "Hotfix for resolving of remote yang schemas."

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 agoBug 1666: Fixing the clustering config file issue 58/10658/1
Harman Singh [Tue, 2 Sep 2014 22:12:27 +0000 (15:12 -0700)]
Bug 1666: Fixing the clustering config file issue

Issue happened because clustering config was not made available under integration tests maven profile of distribution.
updating that profile

Change-Id: I9760b975f9e92a331f8ce5710c863126ccdf4561
Signed-off-by: Harman Singh <harmasin@cisco.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 agoDatastore: Reuse successful future 16/10616/2
Robert Varga [Tue, 2 Sep 2014 09:25:51 +0000 (11:25 +0200)]
Datastore: Reuse successful future

ImmediateFuture does not keep any state, so we can reuse a single
instance, preventing garbage buildup just a tiny bit.

Change-Id: I200662a666f4529ea82a2ac3948be9536ca32281
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDatastore: lower in-memory change tracking overhead 04/10604/5
Robert Varga [Mon, 1 Sep 2014 22:09:09 +0000 (00:09 +0200)]
Datastore: lower in-memory change tracking overhead

We needlessly track the reference to notification manager inside the
even tasks. Instead simplify the return to a Map.Entry and pipe the
resulted data into the manager. This reduces the temporary size of a
tracker, lowering the rate at which we produce garbage.

Change-Id: Ib390d0e65ce1583371a2e887525d9b7ee0392396
Signed-off-by: Robert Varga <rovarga@cisco.com>
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 agoBUG 1595 - Clustering : NPE on startup 12/10512/1
Moiz Raja [Fri, 29 Aug 2014 22:58:44 +0000 (15:58 -0700)]
BUG 1595 - Clustering : NPE on startup

This seemed to be happening because of recovery where the topology manager
was trying to add something into the datastore which was already present in
the journal.

The fix was to add a timestamp to each modification so that they do not
appear to be the same even if their content was exactly the same.

Change-Id: I2d5c98bd87ded7c8b64b8cebf757bfa073327061
Signed-off-by: Moiz Raja <moraja@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 agoBug 1446: Add JMX stats for clustered data store 42/10342/5
tpantelis [Wed, 27 Aug 2014 05:24:26 +0000 (01:24 -0400)]
Bug 1446: Add JMX stats for clustered data store

  Added stats, available via JMX, to track data for the various
  thread pool executors used by the clustered data store.

Change-Id: Ifb8996075253e87b7fd4e7cb6cf876c3af80ff2a
Signed-off-by: tpantelis <tpanteli@brocade.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>