controller.git
6 years agoMerge "Bug 499: Added support for old DOM Broker APIs."
Ed Warnicke [Tue, 1 Apr 2014 15:22:45 +0000 (15:22 +0000)]
Merge "Bug 499: Added support for old DOM Broker APIs."

6 years agoMerge "Bug 499: Added support for change listeners."
Ed Warnicke [Tue, 1 Apr 2014 15:22:27 +0000 (15:22 +0000)]
Merge "Bug 499: Added support for change listeners."

6 years agoMerge "Bug 499: Initial draft of in-memory datastore and data broker"
Ed Warnicke [Tue, 1 Apr 2014 15:21:25 +0000 (15:21 +0000)]
Merge "Bug 499: Initial draft of in-memory datastore and data broker"

6 years agoMerge "Updater toaster to use datastore"
Tony Tkacik [Tue, 1 Apr 2014 11:07:44 +0000 (11:07 +0000)]
Merge "Updater toaster to use datastore"

6 years agoMerge "Initial commit for new Match classes"
Giovanni Meo [Tue, 1 Apr 2014 09:02:40 +0000 (09:02 +0000)]
Merge "Initial commit for new Match classes"

6 years agoMerge "Bug 499: Initial implementation of data tree modifications"
Ed Warnicke [Mon, 31 Mar 2014 20:13:53 +0000 (20:13 +0000)]
Merge "Bug 499: Initial implementation of data tree modifications"

6 years agoMerge "Bug 499: Initial implementation of supporting tree structures"
Ed Warnicke [Mon, 31 Mar 2014 20:09:54 +0000 (20:09 +0000)]
Merge "Bug 499: Initial implementation of supporting tree structures"

6 years agoUpdater toaster to use datastore 23/5823/1
Robert Varga [Mon, 31 Mar 2014 16:06:20 +0000 (18:06 +0200)]
Updater toaster to use datastore

This patch adds the ability to expose the toaster status into MD-SAL, as
expected by the module. It further tweaks a thinko: dark toasts take
longer to make!

Change-Id: I3054ec52f53272c3fb08494517c6c86524403949
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Fix small resource leak in config-manager."
Tony Tkacik [Mon, 31 Mar 2014 07:31:16 +0000 (07:31 +0000)]
Merge "Fix small resource leak in config-manager."

6 years agoMerge "Update toaster example to emit lifecycle logs"
Tony Tkacik [Mon, 31 Mar 2014 07:26:27 +0000 (07:26 +0000)]
Merge "Update toaster example to emit lifecycle logs"

6 years agoMerge changes I28d517fe,Ia6f0b6ce
Tony Tkacik [Mon, 31 Mar 2014 07:25:44 +0000 (07:25 +0000)]
Merge changes I28d517fe,Ia6f0b6ce

* changes:
  Remove getPort API from sal-port.yang
  Avoid nullpointer exception on starting up the TopologyProvider and the InventorReadAdapter

6 years agoMerge "Do not use InstanceIdentifier.builder()"
Tony Tkacik [Mon, 31 Mar 2014 07:23:02 +0000 (07:23 +0000)]
Merge "Do not use InstanceIdentifier.builder()"

6 years agoMerge "Bug 564 - add missing sal-remote dependency."
Tony Tkacik [Mon, 31 Mar 2014 07:20:57 +0000 (07:20 +0000)]
Merge "Bug 564 - add missing sal-remote dependency."

6 years agoFix yang-parser-impl not being pulled 15/5815/1
Robert Varga [Sun, 30 Mar 2014 21:17:32 +0000 (23:17 +0200)]
Fix yang-parser-impl not being pulled

sal-netconf-connect depends on it, but relies on in transiently via
yang-data-impl. That transient dependency is going away, so introduce a
proper dependency.

Change-Id: I9efbec70e5630c98d19cd113a7d7096739f90dac
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoInitial commit for new Match classes 25/2725/6
Alessandro Boch [Tue, 10 Dec 2013 17:42:10 +0000 (09:42 -0800)]
Initial commit for new Match classes

- Existing match classes rely on a static enum of match types.
  This change is to allow extensibility for new matching fields.
- This commit introduces new classes without replacing old ones
  and without migrating any code to use the new ones yet.

Change-Id: I76531c10ae480123044ec1023bce8750ce7906ba
Signed-off-by: Alessandro Boch <aboch@cisco.com>
6 years agoBug 499: Added support for old DOM Broker APIs. 44/5744/5
Tony Tkacik [Wed, 26 Mar 2014 18:29:13 +0000 (19:29 +0100)]
Bug 499: Added support for old DOM Broker APIs.

Added implementation of BackwardsCompatibleBroker
which exposes sal.core.api.DataBrokerService
using new DOMDataBroker and Data Store.

Enabled configuration which allows for configuring
specificing which implementation of Data DOM Broker
should be used in the MD-SAL.

Change-Id: I6ad7172e62eac1ae0af9be08684b2ae4adba6005
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 499: Added support for change listeners. 43/5743/3
Tony Tkacik [Fri, 21 Mar 2014 12:30:45 +0000 (13:30 +0100)]
Bug 499: Added support for change listeners.

Change-Id: I9e9c46f13f77ac8b1bda459c35724a5e0b24d91f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 499: Initial draft of in-memory datastore and data broker 65/5665/5
Tony Tkacik [Tue, 18 Mar 2014 16:18:37 +0000 (17:18 +0100)]
Bug 499: Initial draft of in-memory datastore and data broker

Initial implementation of InMemoryDOMDataStore with support
for commits to the store and conflict checking

  - DOMDataBrokerImpl - initial implementation of DOM Data Broker which
       uses InMemoryDOMDataStore instances as store for Operational
       and Configuration data

  - InMemoryDOMDataStore - implementation of in-memory DOM Data Store
      which uses MutableDataTree

  - Updated SchemaAwareApplyOperation to provide
    more granular operations as
       - verifyStructure - verify if correct tree node types are used
       - isApplicable - verifies if modification is applicable to other
           snapshot

  Added test suite which tests InMemoryDOMStore, performance
  of DOMDataBroker and DOM Data Broker.

Change-Id: Ia7f8659aa128e1dc1e9a8580ac46452dfe66289a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 499: Initial implementation of data tree modifications 64/5664/4
Tony Tkacik [Tue, 18 Mar 2014 16:10:14 +0000 (17:10 +0100)]
Bug 499: Initial implementation of data tree modifications

Initial implementation of data tree modifications using
StoreMetadataNode and NodeModification.

  - DataAndMetadataSnapshot - helper class, which
      contains immutable snapshot of data and metadata

  - ModificationApplyOperation - interface definition
      of composite hierarchical operation, which
      is responsible for applying changes to provided
      subtree

  - SchemaAwareApplyOperation - implementations of
      ModificationApplyOperation based on parsed
      SchemaContext

  - MutableDataTree - class which integrates
     Data tree, Metadata tree, Node Modification tree
     and ModificationApplyOperations into mutable logical
     tree, which will serves as a basis for read-write
     transactions.

  - Unit test for MutableDataTree in following scenarios
      - Create empty MutableDataTree, write subtree, read nested nodes
      - Create empty MutableDataTree, write subtree, modify subtree
      - Create MutableDataTree with existing date, write changes and deletes

Change-Id: I5c0c84764f93d150eac6d227c4bc367b67652f9d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 499: Initial implementation of supporting tree structures 63/5663/5
Robert Varga [Tue, 18 Mar 2014 16:00:55 +0000 (17:00 +0100)]
Bug 499: Initial implementation of supporting tree structures

  - StoreTreeNode - interface defining common interface to tree
    structures used by data store.

  - TreeNodeUtils - utility methods which uses StoreTreeNode
      as tree definitions and provides functionality such
      as retrieval of deep nodes.

  - StoreMetadataNode - immutable tree node (and tree), representing
        versioning metadata and data.

  - NodeModification - mutable tree node (and tree),
       representing modification (diff) which should be applied to
       data tree. Tree is lazily populated by invoking client
       operations to be maded.

This patchset requires https://git.opendaylight.org/gerrit/#/c/5646/
to be merged.

Change-Id: I2d2437ea64ba54565ba60826fe0e7c14f071598e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Resolve Bug:593. Persister should communicate via OSGi SR instead of TCP."
Tony Tkacik [Fri, 28 Mar 2014 19:13:21 +0000 (19:13 +0000)]
Merge "Resolve Bug:593. Persister should communicate via OSGi SR instead of TCP."

6 years agoUpdate toaster example to emit lifecycle logs 05/5805/1
Robert Varga [Fri, 28 Mar 2014 18:58:38 +0000 (19:58 +0100)]
Update toaster example to emit lifecycle logs

Change-Id: I8a73f71d315489d349aa3f2b701c5cbf2ef5a2c6
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Add Enqueue validation check in FlowConfig"
Alessandro Boch [Fri, 28 Mar 2014 18:10:20 +0000 (18:10 +0000)]
Merge "Add Enqueue validation check in FlowConfig"

6 years agoAdd Enqueue validation check in FlowConfig 98/5798/3
Andrew Kim [Fri, 28 Mar 2014 02:44:47 +0000 (21:44 -0500)]
Add Enqueue validation check in FlowConfig

Backend validation to check enqueue queue is within range 0 - 2147483647

Change-Id: Ib17f3259a75fe3553455775bf7f26649ced40612
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoMerge changes Id6b8ba01,Ic4081b36
Tony Tkacik [Fri, 28 Mar 2014 16:47:30 +0000 (16:47 +0000)]
Merge changes Id6b8ba01,Ic4081b36

* changes:
  Bug:553 - RPC providers are not cleaned up on bundle stop, causing bundle restart to fail
  Bug:441-closing listener on stop of md-topologymaneger bundle

6 years agoMerge "fixed IT after netty version bump"
Tony Tkacik [Fri, 28 Mar 2014 16:14:47 +0000 (16:14 +0000)]
Merge "fixed IT after netty version bump"

6 years agofixed IT after netty version bump 02/5802/1
Michal Rehak [Fri, 28 Mar 2014 15:01:45 +0000 (08:01 -0700)]
fixed IT after netty version bump

- we need access to sun.nio.ch
- netty is needed before protocol-framework
- netty bundles internal order changed

Change-Id: I2ac25af6a559d935a733d8d28f05d95539ddc00b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
6 years agoFix IPluginInBridgeDomainConfigService API 41/5341/7
Robert Varga [Sat, 15 Feb 2014 02:39:22 +0000 (03:39 +0100)]
Fix IPluginInBridgeDomainConfigService API

IPluginInBridgeDomainConfigService protomoted Throwable into a
checked-exception status. This also includes Errors, which is not a good
thing, as Errors are not something we can handle gracefully.

Introduce a dedicated exception which implementations can use to report
instantiation problems.

Change-Id: Ib16d792acfcf77c68b92b35526ed7471e2172cbe
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Bug 500: DOMStore SPI"
Ed Warnicke [Fri, 28 Mar 2014 01:01:22 +0000 (01:01 +0000)]
Merge "Bug 500: DOMStore SPI"

6 years agoMerge "Bug 500: Type capture for DOM and Binding APIs"
Ed Warnicke [Fri, 28 Mar 2014 00:59:11 +0000 (00:59 +0000)]
Merge "Bug 500: Type capture for DOM and Binding APIs"

6 years agoMerge "Bug 500: Updated data APIs with new concepts."
Ed Warnicke [Fri, 28 Mar 2014 00:57:35 +0000 (00:57 +0000)]
Merge "Bug 500: Updated data APIs with new concepts."

6 years agoFix Enqueue Action in Flow UI 97/5797/2
Andrew Kim [Thu, 27 Mar 2014 20:53:17 +0000 (15:53 -0500)]
Fix Enqueue Action in Flow UI

Enqueue flow action accepts port and queue is optional

Change-Id: I7e6330106ed54c0ef8c3c93ffee12ded1ddf4a04
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoRemove getPort API from sal-port.yang 95/5795/1
Moiz Raja [Thu, 27 Mar 2014 18:59:23 +0000 (11:59 -0700)]
Remove getPort API from sal-port.yang

This API is not in use and it has not been properly modeled.

An RPC needs to have an input to be properly routed otherwise an exception will be thrown when registering.

Also see,

 - Bug 596
 - Gerrit https://git.opendaylight.org/gerrit/#/c/5781/

Change-Id: I28d517fe86ed63590fbd8fa17be712b581141869
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoAvoid nullpointer exception on starting up the TopologyProvider and the InventorReadA... 99/5699/2
Moiz Raja [Thu, 20 Mar 2014 19:58:16 +0000 (12:58 -0700)]
Avoid nullpointer exception on starting up the TopologyProvider and the InventorReadAdapter

The TopologyProvider and InventoryAndReadAdapter are Felix services which get started when all it's
dependencies are resolved (that is their start method gets called). The MD-SAL DataProviderService is not
or cannot be injected into them and so when start is called and the dataProviderService is used it throws an NPE

To fix this I simply moved most of the startup code into a separate method which I then call from the ComponentActivator
instead of start

Change-Id: Ia6f0b6cebd38f4af7f03c9da8a5e26e05c13f664
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoMerge "Bug 141: Connection Manager special characters"
Andrew Kim [Thu, 27 Mar 2014 16:59:07 +0000 (16:59 +0000)]
Merge "Bug 141: Connection Manager special characters"

6 years agoBug 500: DOMStore SPI 04/5604/7
Robert Varga [Tue, 11 Mar 2014 18:20:00 +0000 (19:20 +0100)]
Bug 500: DOMStore SPI

This is the API which needs to be implemented by a single logical tree
store, such that it can be plugged into the in-memory datastore
prototype.

The prototype keeps one logical data store for each of operational and
configuration subtrees. A front-end (client-visible) transaction results
in two back-end (data store) transactions. State transitions between the
three are coordinated using three-phase-commit protocol (3PC), with the
frontend transaction acting as the coordinator and the backend
transactions acting as cohorts.

Change-Id: Idfce04553e7c36ae6a1bb8c8b2699ca78c458bb4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBug 500: Type capture for DOM and Binding APIs 13/5613/4
Robert Varga [Wed, 12 Mar 2014 14:54:52 +0000 (15:54 +0100)]
Bug 500: Type capture for DOM and Binding APIs

This commit introduces the type captures of new interfaces introduced in
the preceding commit.

Change-Id: I8da8ecd0a0404e89ae20d0d85894fc9da59e9903
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBug 500: Updated data APIs with new concepts. 95/5595/9
Robert Varga [Tue, 11 Mar 2014 12:28:59 +0000 (13:28 +0100)]
Bug 500: Updated data APIs with new concepts.

  - Logical Datastore Type idenfier
  - Asynchronous Data Broker contracts - some data broker contracts
    were synchronous which could misslead consumers of APIs

  - New Transaction subtypes with support for Asynchronous reads
    - read-only transaction
    - write-only transaction
    - read-write transaction
  - Scoped Data Change Publisher - client code is able
    to specify scope of changes and logical datastore
    type on which it is listening.

Change-Id: I2367e7df633dd07b08550014bed7a35c3e88a7ba
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Added explicit revision date import of ietf-inet-types to opendaylight-statist...
Ed Warnicke [Thu, 27 Mar 2014 16:09:12 +0000 (16:09 +0000)]
Merge "Added explicit revision date import of ietf-inet-types to opendaylight-statistics-type."

6 years agoBump netty.io to 4.0.17.Final 30/5630/4
Robert Varga [Sun, 9 Mar 2014 13:57:41 +0000 (14:57 +0100)]
Bump netty.io to 4.0.17.Final

Change-Id: I0f8c3d6ec41561c9c85cba5f36119a0f1b635347
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoDo not use InstanceIdentifier.builder() 61/5761/2
Robert Varga [Tue, 25 Mar 2014 21:07:14 +0000 (22:07 +0100)]
Do not use InstanceIdentifier.builder()

Stop using the type-usafe identifier builder. This eradicates the
obvious places. The leftover now are just the BI connector.

Change-Id: Iff1d1fc58e638d02e08951dbddead067d3e746e1
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "1. Delete TLS KeyStore password from system property so that it won't be shown...
Chi-Vien Ly [Wed, 26 Mar 2014 21:25:39 +0000 (21:25 +0000)]
Merge "1. Delete TLS KeyStore password from system property so that it won't be shown by getprop command. 2. Add a default location for TLS KeyStore files when the arguments are not provided."

6 years agoBug:553 - RPC providers are not cleaned up on bundle stop, causing bundle restart... 82/5782/1
Kamal Rameshan [Wed, 26 Mar 2014 21:12:19 +0000 (14:12 -0700)]
Bug:553 - RPC providers are not cleaned up on bundle stop, causing bundle restart to fail

Change-Id: Id6b8ba01194d71d2eb7ea97ca70088dec8b29d6e
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
6 years agoBug:441-closing listener on stop of md-topologymaneger bundle 01/5701/2
Kamal Rameshan [Thu, 20 Mar 2014 20:36:09 +0000 (13:36 -0700)]
Bug:441-closing listener on stop of md-topologymaneger bundle

Change-Id: Ic4081b36a557110f6daeb7a6fb8a3b39ee1be8b2
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
6 years agoAdd Flow actions to UI 68/5768/4
Andrew Kim [Tue, 25 Mar 2014 21:16:37 +0000 (16:16 -0500)]
Add Flow actions to UI

Flow UI now exposes only supported flow actions for particular network element

Change-Id: Ic7e251628192a48d47350d39ecf007df25cfeb37
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoResolve Bug:593. Persister should communicate via OSGi SR instead of TCP. 71/5771/1
Tomas Olvecky [Wed, 26 Mar 2014 09:11:26 +0000 (10:11 +0100)]
Resolve Bug:593. Persister should communicate via OSGi SR instead of TCP.

Config persister now pushes configuration to netconf service directly by
java calls instead of using TCP connection to localhost. This allows
removing netconf client dependency from config-netconf-connector and
removes confusion when running more than one ODL process with same
configuration.

Change-Id: I96426b0fd1fe7110a59111a2b563e7494ebb811b
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years ago1. Delete TLS KeyStore password from system property so that it won't be shown by... 64/5764/1
Jason Ye [Tue, 25 Mar 2014 23:53:36 +0000 (16:53 -0700)]
1. Delete TLS KeyStore password from system property so that it won't be shown by getprop command.
2. Add a default location for TLS KeyStore files when the arguments are not provided.

Change-Id: I017d20d460f755ddb94a18c8a30c037aec76de54
Signed-off-by: Jason Ye <yisye@cisco.com>
6 years agoBug 141: Connection Manager special characters 63/5763/1
Sapan Shah [Tue, 25 Mar 2014 21:43:58 +0000 (14:43 -0700)]
Bug 141: Connection Manager special characters

Change-Id: I6778e0f9e20ab2cd22d01d77b43e6a1e3bade5bd
Signed-off-by: Sapan Shah <sapshah@cisco.com>
6 years agoUpdate to use yang concepts 57/5757/1
Robert Varga [Tue, 25 Mar 2014 12:00:56 +0000 (13:00 +0100)]
Update to use yang concepts

Change-Id: I529ec122c54d51efe10128985e8b1b0cd715461b
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoFix sal-binding-api dependencies 52/5752/1
Robert Varga [Tue, 25 Mar 2014 01:32:15 +0000 (02:32 +0100)]
Fix sal-binding-api dependencies

Remove unused dependencies on sal-common and add used dependencies on
yang concepts and guava.

Change-Id: Ifb2b16f00b9af2bb8716412b4e6d4fa0fd5bdc54
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBug 564 - add missing sal-remote dependency. 50/5750/3
Milos Fabian [Tue, 25 Mar 2014 08:44:40 +0000 (09:44 +0100)]
Bug 564 - add missing sal-remote dependency.

Change-Id: Ic6968699f0214226dd9881d08684febeaf031525
Signed-off-by: Milos Fabian <milfabia@cisco.com>
6 years agoMerge "Add MountInstance client documentation and promote to ListenableFuture"
Tony Tkacik [Tue, 25 Mar 2014 05:24:51 +0000 (05:24 +0000)]
Merge "Add MountInstance client documentation and promote to ListenableFuture"

6 years agoMerge "Fix sal-common-api dependencies"
Tony Tkacik [Tue, 25 Mar 2014 05:20:41 +0000 (05:20 +0000)]
Merge "Fix sal-common-api dependencies"

6 years agoMerge "Do not catch Throwables, but rather Exceptions"
Tony Tkacik [Tue, 25 Mar 2014 05:11:38 +0000 (05:11 +0000)]
Merge "Do not catch Throwables, but rather Exceptions"

6 years agoFix sal-common-api dependencies 41/5741/1
Robert Varga [Tue, 25 Mar 2014 01:27:36 +0000 (02:27 +0100)]
Fix sal-common-api dependencies

sal-common-api should not depend on org.osgi.core nor sal-common. Remove
these dependencies and fix users which relied on org.osgi.core being
brought into compilation transitively.

Change-Id: Idf27f78e0c52c8a93e38c1fb7f8bba6615c3b745
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Moving simple fwding logic from ARPHandler into SimpleForwarding"
Giovanni Meo [Tue, 25 Mar 2014 01:23:09 +0000 (01:23 +0000)]
Merge "Moving simple fwding logic from ARPHandler into SimpleForwarding"

6 years agoAdd FLOOD_ALL action to FlowConfig 18/5718/1
Andrew Kim [Sun, 23 Mar 2014 01:40:52 +0000 (20:40 -0500)]
Add FLOOD_ALL action to FlowConfig

Change-Id: I8222562e0f76b33f7c992a426f86d912358ed2c1
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoMoving simple fwding logic from ARPHandler into SimpleForwarding 86/5586/5
Yevgeny Khodorkovsky [Mon, 10 Mar 2014 19:49:39 +0000 (14:49 -0500)]
Moving simple fwding logic from ARPHandler into SimpleForwarding

- Per Colin's idea, moving reactive fwding logic into SimpleForwarding
- SimpleForwarding listens to packet-in. Forwards IP packets
  between known hosts to dest (assuming a simple path will be installed).
- Some cleanup and debug stmts

Change-Id: Ib0f29af34d6dead26f7393b4238d62fe1935ecdf
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
6 years agoFix small resource leak in config-manager. 98/5698/1
Tomas Olvecky [Thu, 20 Mar 2014 15:47:45 +0000 (16:47 +0100)]
Fix small resource leak in config-manager.

When transaction is aborted, its ObjectName was not unregistered from platform mbean server.

Change-Id: Ia9b70ca68622fc187ed3db734d9344bd0d7b4ce9
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoFix sal-netconf-connector's pom.xml 97/5697/1
Tomas Olvecky [Thu, 20 Mar 2014 15:10:19 +0000 (16:10 +0100)]
Fix sal-netconf-connector's pom.xml

The offending pom was not configured to use sal generator, so there was no way
how to get required capability for netconf southbound plugin.

Change-Id: I4b266fde7c8f78347138755db8cbbafe7970d584
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoFix sal-remoterpc-connector's Import-Packages. 96/5696/1
Tomas Olvecky [Thu, 20 Mar 2014 13:05:32 +0000 (14:05 +0100)]
Fix sal-remoterpc-connector's Import-Packages.

BND version 2.4.0 produces illegal manifest with the old code - inserts
com.google.common.collect twice. This will propagate as persister failure.
Remove offending line, format distribution.opendaylight pom.xml,
move sal-remoterpc-connector version to common's distribution management.

Change-Id: I2b2a6e81855834648923e1b21e3c443d9ac48562
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoMerge "Fixed the problem in which different containers could have different mac addre...
Alessandro Boch [Thu, 20 Mar 2014 01:14:43 +0000 (01:14 +0000)]
Merge "Fixed the problem in which different containers could have different mac addresses. This caused problems such as a gateway appearing as host, host appearing on isl's etc."

6 years agoFix for Bug #533 86/5686/1
Ryan Moats [Wed, 19 Mar 2014 16:23:07 +0000 (11:23 -0500)]
Fix for Bug #533

Ensure start of Allocation Pool is set properly in all cases

Change-Id: Ie51dd0e019588b2769663b950527b8558db3624d
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
6 years agoDo not catch Throwables, but rather Exceptions 39/5339/6
Robert Varga [Fri, 14 Feb 2014 23:08:05 +0000 (00:08 +0100)]
Do not catch Throwables, but rather Exceptions

This turns catch Throwable into catch Exception, as doing the former
catches Errors, which are documented to be pretty much irrecoverable
conditions. Looking at
http://docs.oracle.com/javase/7/docs/api/java/lang/Error.html non of
these call sites can recover from an Error happening, so they should
never catch them.

Change-Id: I85237594f307a5a8778fb5a63f9dad4d120fc9d7
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoFixed the problem in which different containers could have different mac addresses... 68/5668/2
Asad Ahmed [Tue, 18 Mar 2014 21:06:22 +0000 (14:06 -0700)]
Fixed the problem in which different containers could have different mac addresses. This caused problems such as a gateway appearing as host, host appearing on isl's etc.

Change-Id: I8b9d4f4c632d89a1379f08f281838772379c9d5c
Signed-off-by: Asad Ahmed<asaahmed@cisco.com>
6 years agoMerge "Resolve Bug:448 - Remove yang-store api and impl."
Tony Tkacik [Tue, 18 Mar 2014 10:45:26 +0000 (10:45 +0000)]
Merge "Resolve Bug:448 - Remove yang-store api and impl."

6 years agoMerge "Take advantage of MultipartTransactionAware"
Tony Tkacik [Tue, 18 Mar 2014 10:42:51 +0000 (10:42 +0000)]
Merge "Take advantage of MultipartTransactionAware"

6 years agoAdd MountInstance client documentation and promote to ListenableFuture 22/5622/2
Robert Varga [Thu, 13 Mar 2014 08:23:27 +0000 (09:23 +0100)]
Add MountInstance client documentation and promote to ListenableFuture

This adds documentation to MountInstance interface. Also promote
Future<> to ListenableFuture<>, as there is only a single implementation
anyway.

Change-Id: I9346f1f38c633b32fa7039f143d6c7634cb97359
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoupdate the pom files to enable the nexus repository path to be configured by properti... 19/5619/1
David K. Bainbridge [Wed, 12 Mar 2014 20:16:43 +0000 (13:16 -0700)]
update the pom files to enable the nexus repository path to be configured by properties such that if can be overriden via the command line to support deployment to alternative locations

Change-Id: Ie96244a1a2a3f6b2f3760f366899017a44aa381d
Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
6 years agoResolve Bug:448 - Remove yang-store api and impl. 98/5598/4
Tomas Olvecky [Mon, 10 Mar 2014 08:56:13 +0000 (09:56 +0100)]
Resolve Bug:448 - Remove yang-store api and impl.

Depends on yangtools commit https://git.opendaylight.org/gerrit/#/c/5579/ .
Instead of having multiple bundle trackers for config and netconf, keep only
one. Each bundle containing yang files should use sal code generator, which
generates YangModuleInfo objects. Using this instead of speculatively having
to parse all current yang files for each adding bundle event allows not having
to deal with broken yang dependencies when bundle events come in wrong order.
Put SchemaContextProvider to OSGi SR in config-manager, so that any bundle
working with yang can use it. This replaces too specific YangStoreService which
was coupled with yang-jmx-generator. Users can listen for changes directly
on OSGi SR - they receive service changed event when yang module is added or
removed.

Change-Id: Iabcb35929a1eeef0df328f3f948d70e1bfcbba0d
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoMerge "Bug 453 - sal-rest-connector doesn't provide stream discovery feature"
Tony Tkacik [Wed, 12 Mar 2014 10:16:42 +0000 (10:16 +0000)]
Merge "Bug 453 - sal-rest-connector doesn't provide stream discovery feature"

6 years agoMerge "Add a container for pass-through netconf access"
Tony Tkacik [Wed, 12 Mar 2014 10:14:45 +0000 (10:14 +0000)]
Merge "Add a container for pass-through netconf access"

6 years agoMerge "Fix clustering versions"
Tony Tkacik [Wed, 12 Mar 2014 10:13:30 +0000 (10:13 +0000)]
Merge "Fix clustering versions"

6 years agoMerge "Fixed whitespace dependent tests in config-persister-directory-adapter"
Tony Tkacik [Wed, 12 Mar 2014 10:11:54 +0000 (10:11 +0000)]
Merge "Fixed whitespace dependent tests in config-persister-directory-adapter"

6 years agoMerge "Use ObjectRegistration instead of Registration"
Tony Tkacik [Wed, 12 Mar 2014 10:01:04 +0000 (10:01 +0000)]
Merge "Use ObjectRegistration instead of Registration"

6 years agoMerge "added generated files to .gitignore"
Tony Tkacik [Wed, 12 Mar 2014 09:56:59 +0000 (09:56 +0000)]
Merge "added generated files to .gitignore"

6 years agoMerge "Fix typos in documentation"
Tony Tkacik [Wed, 12 Mar 2014 09:53:20 +0000 (09:53 +0000)]
Merge "Fix typos in documentation"

6 years agoMerge "Resolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT."
Tony Tkacik [Wed, 12 Mar 2014 09:51:58 +0000 (09:51 +0000)]
Merge "Resolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT."

6 years agoFix typos in documentation 07/5607/1
Moiz Raja [Wed, 12 Mar 2014 08:13:38 +0000 (09:13 +0100)]
Fix typos in documentation

Change-Id: I0023e7256f02170c04cc00579ee791f5a3578b1d
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoMerge "Adding some more traces for better debuggability"
Alessandro Boch [Tue, 11 Mar 2014 22:39:44 +0000 (22:39 +0000)]
Merge "Adding some more traces for better debuggability"

6 years agoAdding some more traces for better debuggability 05/5605/2
Asad Ahmed [Tue, 11 Mar 2014 18:03:15 +0000 (11:03 -0700)]
Adding some more traces for better debuggability

Change-Id: I2d342497a9ac52cd7487363411a0ce191581f2a3
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
6 years agoMerge "Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension."
Alessandro Boch [Tue, 11 Mar 2014 19:51:33 +0000 (19:51 +0000)]
Merge "Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension."

6 years agoFixed bug in NetUtils.isMulticastMACAddr() caused by sign extension. 03/5603/2
Shigeru Yasuda [Tue, 11 Mar 2014 16:41:55 +0000 (01:41 +0900)]
Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension.

This patch fixes a bug that returned false incorrectly when the MSB was set
in the MAC address.

Change-Id: I8d04534962b0a1a585cf0217969a6415f360140b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoMerge "When node disconnects from master controller, no node takes over"
Alessandro Boch [Tue, 11 Mar 2014 19:05:30 +0000 (19:05 +0000)]
Merge "When node disconnects from master controller, no node takes over"

6 years agoMerge "Topology Manager to avoid redundant edge updates"
Alessandro Boch [Tue, 11 Mar 2014 15:47:57 +0000 (15:47 +0000)]
Merge "Topology Manager to avoid redundant edge updates"

6 years agoAdd a container for pass-through netconf access 29/5529/3
Robert Varga [Tue, 4 Mar 2014 22:50:23 +0000 (23:50 +0100)]
Add a container for pass-through netconf access

Change-Id: I4eeba4266250df9a27412db52b0a6f9ab2d5b42d
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Cleanup warnings in restconf-broker NotificationService"
Tony Tkacik [Tue, 11 Mar 2014 11:21:44 +0000 (11:21 +0000)]
Merge "Cleanup warnings in restconf-broker NotificationService"

6 years agoMerge "Prune long-deprecated APIs"
Tony Tkacik [Tue, 11 Mar 2014 11:17:54 +0000 (11:17 +0000)]
Merge "Prune long-deprecated APIs"

6 years agoFixed whitespace dependent tests in config-persister-directory-adapter 63/5563/3
Michal Polkorab [Fri, 7 Mar 2014 10:13:00 +0000 (11:13 +0100)]
Fixed whitespace dependent tests in config-persister-directory-adapter

Change-Id: I487011b2628d1b229d72fce19a37425c6a109a64
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
6 years agoWhen node disconnects from master controller, no node takes over 88/5588/2
Yevgeny Khodorkovsky [Tue, 11 Mar 2014 02:15:42 +0000 (19:15 -0700)]
When node disconnects from master controller, no node takes over

- Node connections caches in connection manager were allocated after
  configureInstance call, thus failing CacheUpdateAware registration.

- Fix couple of NPEs in devices.web

Change-Id: I51975a4a984606ecfad8db0941315164eedc83cb
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
6 years agoTopology Manager to avoid redundant edge updates 75/5575/3
Yevgeny Khodorkovsky [Mon, 10 Mar 2014 06:07:35 +0000 (23:07 -0700)]
Topology Manager to avoid redundant edge updates

- Redundant edge updates (such as in the case of
  cluster switchover) should not be notified to apps/listeners, to avoid
  expensive tasks

Change-Id: I44845d99085771e1dfebd63d12685fd2c2d8260c
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
6 years agoAdd northbound archetype 85/5585/3
Andrew Kim [Mon, 10 Mar 2014 19:26:52 +0000 (14:26 -0500)]
Add northbound archetype

Change-Id: If7b42ddc1e6053450f8a7b17f3944c7ff026c5c4
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoFix clustering versions 84/5584/1
Robert Varga [Mon, 10 Mar 2014 19:18:45 +0000 (20:18 +0100)]
Fix clustering versions

This fixes the versions referenced in clustered-data-store and warnings
for overridden versions in sal-remoterpc-connector.

Change-Id: I5c955041e89e1c73986dca3fc541f85ccc6befae
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoUse ObjectRegistration instead of Registration 74/5574/2
Robert Varga [Sun, 9 Mar 2014 18:48:01 +0000 (19:48 +0100)]
Use ObjectRegistration instead of Registration

Registration is becoming a generic concept, not tied to a particular
object. ObjectRegistration succeeds it for uses where you need to a
getInstance() object to get the associated object back. Migrate to using
that to get rid of deprecation warnings.

Drive-by:
- fix raw type use of ServiceRegistration

Change-Id: Ieaf77ab25e5b284a39fa9a6da7b3b101eb3b9e46
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoCleanup warnings in restconf-broker NotificationService 02/5502/4
Robert Varga [Fri, 28 Feb 2014 13:27:51 +0000 (14:27 +0100)]
Cleanup warnings in restconf-broker NotificationService

The registration map is not needed and the executor is not used, so
remove them. Also reuse AbstractListenerRegistration in place of a
custom-coded class.

Change-Id: Ia4060370faa03fb85d9a90471938501a583072d3
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoPrune long-deprecated APIs 01/5501/4
Robert Varga [Fri, 28 Feb 2014 12:42:05 +0000 (13:42 +0100)]
Prune long-deprecated APIs

Prune APIs which have been deprecated well before the Hydrogen release.
No outside users should be relying on them at this point.

Change-Id: I5b966c98733912ece175ce8fa5a4a821c3b2c6d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoRemove unused import and raw type references 71/5571/2
Robert Varga [Sun, 9 Mar 2014 13:44:46 +0000 (14:44 +0100)]
Remove unused import and raw type references

Fixes a couple of warnings just by removing imports and adding <?> to
Iterator.

Change-Id: I71f9a1e0176a1a72fb402e972b1e39ac6c1bba0f
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoCleanup AbstractDataTransaction state changes 70/5570/1
Robert Varga [Sun, 9 Mar 2014 10:40:11 +0000 (11:40 +0100)]
Cleanup AbstractDataTransaction state changes

Centralize state to be internal and add time tracking, such that it can
be used in logs and statistics.

Change-Id: Ie4197cd2a10bb6b89931f5ecd9b3cc6dcfbe3011
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoRemove SupressWarnings("all") 69/5569/1
Robert Varga [Sun, 9 Mar 2014 10:15:37 +0000 (11:15 +0100)]
Remove SupressWarnings("all")

It turns out to be unnecessary except for a raw type usage -- which is
fixed.

Change-Id: Icdbfbb9b23a4446caeff4cf73a423874b05e0361
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoAdd interface documentation 68/5568/1
Robert Varga [Fri, 28 Feb 2014 12:41:49 +0000 (13:41 +0100)]
Add interface documentation

Change-Id: I3573d1153a62bfe36a01504198a3d1182d1013c1
Signed-off-by: Robert Varga <rovarga@cisco.com>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.