controller.git
6 years agoMinor cleanup of test suites in MD-SAL 42/8742/1
Tony Tkacik [Mon, 7 Jul 2014 14:19:00 +0000 (16:19 +0200)]
Minor cleanup of test suites in MD-SAL

- Added SuppressWarning("deprecation") to test suites
  which test backwards compatibility with Hydrogen APIs
- Marked test which needs to be rewritten for new DataBroker API
- Removed superflous version for test dependencies

Change-Id: I6e8805e1895bc2171aa5c653d8d87fd8b5c9055b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMoved data test model to sal-test-model 27/8727/2
Tony Tkacik [Mon, 7 Jul 2014 09:47:56 +0000 (11:47 +0200)]
Moved data test model to sal-test-model

Change-Id: I4df698a07919178e130cb5d390d80f9fe032f09c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 1280: Ensure list parent if written item is list item 19/8619/3
Tony Tkacik [Thu, 3 Jul 2014 11:49:38 +0000 (13:49 +0200)]
Bug 1280: Ensure list parent if written item is list item

One of properties of Java Binding is that it is imposible
to represent list as a whole and thus it was possible
to create put operation, which was correct by Binding Spec
but failed.

This fixes behaviour, if user is writing list item (MapEntryNode),
and whole list (MapNode) does not exists, list is automatically
added.

Change-Id: I41e0e30d349720f50697a6f555bab5850ec7d30c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 1283: Made return types of AsyncDataChangeEvent consistent 95/8595/2
Tony Tkacik [Thu, 3 Jul 2014 07:54:52 +0000 (09:54 +0200)]
Bug 1283: Made return types of AsyncDataChangeEvent consistent

Change-Id: I3ba1209809cc4b374fbb561537e2684682495774
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Bug 560: Fixed Mount Point RPC registration service"
Tony Tkacik [Mon, 7 Jul 2014 09:44:06 +0000 (09:44 +0000)]
Merge "Bug 560: Fixed Mount Point RPC registration service"

6 years agoMerge "Created Proper Feature File for AD-SAL"
Ed Warnicke [Fri, 4 Jul 2014 22:36:57 +0000 (22:36 +0000)]
Merge "Created Proper Feature File for AD-SAL"

6 years agoMerge "Introduce SimpleNormalizedNodeMessage for serialization of NormalizedNode...
Ed Warnicke [Fri, 4 Jul 2014 22:25:13 +0000 (22:25 +0000)]
Merge "Introduce SimpleNormalizedNodeMessage for serialization of NormalizedNode using protobuff Introduce EncoderDecoderUtil that helps in encode/decode of NormalizedNode usig protobuff Created Distributed Datastore messages in protobuff Included command to remove trailing spaces in the generated java sources of protobuf"

6 years agoMerge "Initial MD-SAL XML for Distributed Data Store"
Ed Warnicke [Fri, 4 Jul 2014 22:24:43 +0000 (22:24 +0000)]
Merge "Initial MD-SAL XML for Distributed Data Store"

6 years agoMerge "Enhancements to actor naming, logging and monitoring"
Ed Warnicke [Fri, 4 Jul 2014 22:10:50 +0000 (22:10 +0000)]
Merge "Enhancements to actor naming, logging and monitoring"

6 years agoMerge "Implement DataChangeListener"
Ed Warnicke [Fri, 4 Jul 2014 21:46:23 +0000 (21:46 +0000)]
Merge "Implement DataChangeListener"

6 years agoMerge "Fix NPE on reading data"
Ed Warnicke [Fri, 4 Jul 2014 21:45:56 +0000 (21:45 +0000)]
Merge "Fix NPE on reading data"

6 years agoIntroduce SimpleNormalizedNodeMessage for serialization of NormalizedNode using protobuff 44/8444/5
Basheeruddin Ahmed [Mon, 30 Jun 2014 00:29:00 +0000 (17:29 -0700)]
Introduce SimpleNormalizedNodeMessage for serialization of NormalizedNode using protobuff
Introduce EncoderDecoderUtil that helps in encode/decode of NormalizedNode usig protobuff
Created Distributed Datastore messages in protobuff
Included command to remove trailing spaces in the generated java sources of protobuf

Change-Id: Ic5b961567ef213893c2370eaa5df4178b58bd2fc
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoMerge "A bunch of miscellaneous services to get Distributed Data Store ready for...
Ed Warnicke [Fri, 4 Jul 2014 20:56:22 +0000 (20:56 +0000)]
Merge "A bunch of miscellaneous services to get Distributed Data Store ready for deployment"

6 years agoMerge "BUG-1274 OF issue with datapath-id"
Ed Warnicke [Fri, 4 Jul 2014 20:55:01 +0000 (20:55 +0000)]
Merge "BUG-1274 OF issue with datapath-id"

6 years agoMerge "Registering Distributed Datastore for SchemaContext changes"
Ed Warnicke [Fri, 4 Jul 2014 20:45:29 +0000 (20:45 +0000)]
Merge "Registering Distributed Datastore for SchemaContext changes"

6 years agoMerge "Bug 1306: Fixed incorrect AD/MD-SAL flow conversion."
Ed Warnicke [Fri, 4 Jul 2014 20:44:19 +0000 (20:44 +0000)]
Merge "Bug 1306: Fixed incorrect AD/MD-SAL flow conversion."

6 years agoInitial MD-SAL XML for Distributed Data Store 27/8427/5
Moiz Raja [Fri, 27 Jun 2014 21:46:06 +0000 (14:46 -0700)]
Initial MD-SAL XML for Distributed Data Store

Change-Id: Ib5c35b8ca99a8404ccdc9971e9d2d7a86de90991
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoEnhancements to actor naming, logging and monitoring 26/8426/5
Moiz Raja [Fri, 27 Jun 2014 20:45:05 +0000 (13:45 -0700)]
Enhancements to actor naming, logging and monitoring

- Actor names have now been changed to be more meaningful. This will be helpful when trying to follow the logging.
- Added logging for when the actor is created and when it is terminated

Change-Id: I825270779ce19c319807c5a3c56d4885f8cc0996
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoImplement DataChangeListener 25/8425/5
Moiz Raja [Fri, 27 Jun 2014 02:28:52 +0000 (19:28 -0700)]
Implement DataChangeListener

- Add a DataChangeReply to confirm receipt of a DataChange
- Created an AbstractUntypedActor class from which all actors extend. Currently the only thing this base
  class does is uniformly log incoming messages. Going forward will automatically register actors for DeathWatch and such.

Change-Id: Ibcc4179597023aa37b95641c0b666b3c650dc370
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoFix NPE on reading data 24/8424/5
Moiz Raja [Fri, 27 Jun 2014 01:31:07 +0000 (18:31 -0700)]
Fix NPE on reading data

When reading data if a null value is returned return Optional.absent();

Change-Id: I2d6a3a8001492c8c4c50a779b2770c72a9953494
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoA bunch of miscellaneous services to get Distributed Data Store ready for deployment 96/8396/5
Moiz Raja [Fri, 27 Jun 2014 00:49:01 +0000 (17:49 -0700)]
A bunch of miscellaneous services to get Distributed Data Store ready for deployment

- Shard can work with both Persistent and NonPersistent messages which change the state of the InMemoryDataStore
- OSGi related changes so that the DistributedDataStore can load properly in the controller
- Other changes so that there are no startup errors (like creating a single actor system)

Change-Id: Ic9b211e2007002fa800b980e8c94463241e36b59
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoRegistering Distributed Datastore for SchemaContext changes 69/8369/5
Basheeruddin Ahmed [Thu, 26 Jun 2014 12:57:41 +0000 (05:57 -0700)]
Registering Distributed Datastore for SchemaContext changes

Change-Id: I049291cf528323652c4ea4961a8b45ce59d80f41
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoMerge "Kill Dynamic Actors when we're done with them"
Ed Warnicke [Fri, 4 Jul 2014 20:22:06 +0000 (20:22 +0000)]
Merge "Kill Dynamic Actors when we're done with them"

6 years agoMerge "Distributed Datastore integration with config subsystem Updated with the usage...
Ed Warnicke [Fri, 4 Jul 2014 20:21:47 +0000 (20:21 +0000)]
Merge "Distributed Datastore integration with config subsystem Updated with the usage of sal-dom-spi exposed Config Datastore and Operation Datastore services"

6 years agoMerge "Basic DistributedDataStoreIntegrationTest added"
Ed Warnicke [Fri, 4 Jul 2014 20:21:12 +0000 (20:21 +0000)]
Merge "Basic DistributedDataStoreIntegrationTest added"

6 years agoMerge "Complete implementation of ThreePhaseCommitCohortProxy"
Ed Warnicke [Fri, 4 Jul 2014 20:20:54 +0000 (20:20 +0000)]
Merge "Complete implementation of ThreePhaseCommitCohortProxy"

6 years agoBUG-1274 OF issue with datapath-id 87/8687/1
Michal Rehak [Fri, 4 Jul 2014 16:44:33 +0000 (18:44 +0200)]
BUG-1274 OF issue with datapath-id

- replaced Long with BigInteger in order to capture value greater then maxLong
- added unit test for that

Change-Id: I17d8b0c54c5c084d428883f33aa0972e3dd986ed
Signed-off-by: Michal Rehak <mirehak@cisco.com>
6 years agoMerge "BUG-1200 changed help for agentpath && added comment describing functions.sh"
Tony Tkacik [Fri, 4 Jul 2014 14:43:12 +0000 (14:43 +0000)]
Merge "BUG-1200 changed help for agentpath && added comment describing functions.sh"

6 years agoMerge "BUG-1200 added functions for help depends on argument (-help arg)"
Tony Tkacik [Fri, 4 Jul 2014 14:27:55 +0000 (14:27 +0000)]
Merge "BUG-1200 added functions for help depends on argument (-help arg)"

6 years agoMerge "Remove commons codec version from commons.opendaylight"
Tony Tkacik [Fri, 4 Jul 2014 12:37:22 +0000 (12:37 +0000)]
Merge "Remove commons codec version from commons.opendaylight"

6 years agoMerge "Bug 1007 - Statistics manager loses threads to uncaught exceptions"
Ed Warnicke [Fri, 4 Jul 2014 12:12:59 +0000 (12:12 +0000)]
Merge "Bug 1007 - Statistics manager loses threads to uncaught exceptions"

6 years agoRemove commons codec version from commons.opendaylight 65/8665/1
Tomas Olvecky [Fri, 4 Jul 2014 12:10:52 +0000 (14:10 +0200)]
Remove commons codec version from commons.opendaylight

This (1.7) was overriding odlparent's version (1.8)

Change-Id: I86612435ad858a8c1dc4b945d6eb42947b3c6c37
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoBug 1306: Fixed incorrect AD/MD-SAL flow conversion. 64/8664/1
Shigeru Yasuda [Fri, 4 Jul 2014 12:10:01 +0000 (21:10 +0900)]
Bug 1306: Fixed incorrect AD/MD-SAL flow conversion.

  * Convert NodeConnector in IN_PORT match field into MD-SAL
    NodeConnectorId.
  * Set false to vlan-id-present if MatchType.DL_VLAN_NONE is set in
    DL_VLAN match field.

Change-Id: I474a5ba1fcf2ed69c3c9ee306ce303baa1303203
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoBug 560: Fixed Mount Point RPC registration service 55/8655/3
Lukas Sedlak [Fri, 4 Jul 2014 07:25:13 +0000 (09:25 +0200)]
Bug 560: Fixed Mount Point RPC registration service

The RPC Services can now be correctly registered for Mount Points. The RPCs are able to
correctly propagate between Binding Independent Broker and Binding Aware Broker.

This commit is dependant on commit: https://git.opendaylight.org/gerrit/#/c/8654/

Change-Id: I6c3c3e1f648d1faa8b4d43a24eacaf014123b880
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
6 years agoMerge "BUG-692 Add log to config persister test."
Tony Tkacik [Fri, 4 Jul 2014 09:24:37 +0000 (09:24 +0000)]
Merge "BUG-692 Add log to config persister test."

6 years agoMerge "Adding a method to process Identities in a YANG Model"
Tony Tkacik [Fri, 4 Jul 2014 08:27:29 +0000 (08:27 +0000)]
Merge "Adding a method to process Identities in a YANG Model"

6 years agoBUG-692 Add log to config persister test. 57/8657/1
Maros Marsalek [Fri, 4 Jul 2014 08:04:15 +0000 (10:04 +0200)]
BUG-692 Add log to config persister test.

Change-Id: Id77d577b2d4ff30531ee5de7b401d21a84944511
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoMerge "BUG-1041 cli proposal #1"
Tony Tkacik [Fri, 4 Jul 2014 07:48:26 +0000 (07:48 +0000)]
Merge "BUG-1041 cli proposal #1"

6 years agoAdding a method to process Identities in a YANG Model 90/7790/3
Jozef Gloncak [Fri, 4 Jul 2014 06:54:34 +0000 (08:54 +0200)]
Adding a method to process Identities in a YANG Model

Change-Id: Ic07025c3c86d847d2882d80fa360e9a5978275df
Signed-off-by: Mayank Agarwal <mayagarw@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoKill Dynamic Actors when we're done with them 60/8360/4
Moiz Raja [Thu, 26 Jun 2014 01:44:26 +0000 (18:44 -0700)]
Kill Dynamic Actors when we're done with them

Kill ShardTransaction on close and on ThreePhaseCommitCohort#commit
Kill ThreePhaseCommitCohort on commit

Change-Id: Ie86b66cf3841baa514d82509fbc5b817eb7c6740
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoDistributed Datastore integration with config subsystem 14/8314/6
Basheeruddin Ahmed [Wed, 25 Jun 2014 02:05:54 +0000 (19:05 -0700)]
Distributed Datastore integration with config subsystem
Updated with the usage of sal-dom-spi exposed
Config Datastore and Operation Datastore services

Change-Id: Ic8ebaf5a90239122f8112712101e3c3ecb09f2fc
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoBasic DistributedDataStoreIntegrationTest added 56/8356/4
Moiz Raja [Wed, 25 Jun 2014 23:49:11 +0000 (16:49 -0700)]
Basic DistributedDataStoreIntegrationTest added

Also added missing CreateTransaction handling in Shard and some logging

Change-Id: I049243ace55432ba4807d88228e901608cb9784a
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoComplete implementation of ThreePhaseCommitCohortProxy 18/8318/6
Moiz Raja [Wed, 25 Jun 2014 02:50:57 +0000 (19:50 -0700)]
Complete implementation of ThreePhaseCommitCohortProxy

Change-Id: I3a365da24cfc072b18be4208131ae10ce0dccc3a
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoMerge "Complete implementation of DataChangeListenerRegistration and related classes"
Ed Warnicke [Thu, 3 Jul 2014 21:00:34 +0000 (21:00 +0000)]
Merge "Complete implementation of DataChangeListenerRegistration and related classes"

6 years agoMerge "Complete implementation of DataChangeListenerProxy"
Ed Warnicke [Thu, 3 Jul 2014 21:00:18 +0000 (21:00 +0000)]
Merge "Complete implementation of DataChangeListenerProxy"

6 years agoMerge "Protocol framework: use pooled ByteBuf allocator"
Tony Tkacik [Thu, 3 Jul 2014 17:18:52 +0000 (17:18 +0000)]
Merge "Protocol framework: use pooled ByteBuf allocator"

6 years agoFix MD5 channel client channel not working 25/8625/1
Robert Varga [Thu, 3 Jul 2014 16:44:42 +0000 (18:44 +0200)]
Fix MD5 channel client channel not working

As it turns out, the client code needs the same fix server-side
received, which is to allow customizeBootstrap() to set channel.

Change-Id: I5efc541ad27bb3e317348c3bb08b13f3fd4110ed
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Bug 1290 - Swagger Documentation is failing to load - java script exception"
Tony Tkacik [Thu, 3 Jul 2014 14:36:35 +0000 (14:36 +0000)]
Merge "Bug 1290 - Swagger Documentation is failing to load - java script exception"

6 years agoMerge "Refactor Neutron Pagination Code to support Network, Port and Subnet"
Madhu Venugopal [Thu, 3 Jul 2014 13:19:04 +0000 (13:19 +0000)]
Merge "Refactor Neutron Pagination Code to support Network, Port and Subnet"

6 years agoBUG-868: donot use deprecated call 84/8584/3
Robert Varga [Wed, 2 Jul 2014 20:32:07 +0000 (22:32 +0200)]
BUG-868: donot use deprecated call

WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse() is the
replacement, so use it instead of
sendUnsupportedWebSocketVersionResponse().

Change-Id: I03116f09e757df9694ac077c9e82296eaf19de90
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1281: optimize JSON codec 83/8583/3
Robert Varga [Wed, 2 Jul 2014 19:14:47 +0000 (21:14 +0200)]
BUG-1281: optimize JSON codec

Multiple optimizations made in one go:

- do not use string concatenation for LOG.debug()
- do not use string concatenation in Preconditions.checkState()
- methods which do not need state are made static
- use chars instead of strings where possible
- do not instantiate ArrayList needlessly to access first element in a set
- optimize namespace/localname parsing by not using String.split()
- use Charset constant instead of charset name

Change-Id: If1c4ea50d7d1d2aae4f52d1dc68ff79b901208b0
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1281: Optimized CompositeNodeWrapper 82/8582/3
Robert Varga [Wed, 2 Jul 2014 18:28:52 +0000 (20:28 +0200)]
BUG-1281: Optimized CompositeNodeWrapper

When wrapping entries, we know how many we will need, so let the
ArrayList know that.

Change-Id: Ic2fc4ef451a5cdc11a8dfebccaf5a1c605e6e66d
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1281: optimize ListenerAdapter 81/8581/3
Robert Varga [Wed, 2 Jul 2014 19:28:46 +0000 (21:28 +0200)]
BUG-1281: optimize ListenerAdapter

TransformerFactory should be reused, so that's what we're doing here.
Here we do not cache the transformer, as we are called from datastore
thread, which has essentially no business in this. Same goes for
DocumentBuilderFactory.

Also, the transformation to RFC3339 timestamp was compiling the same
regex over and over, so compile it once and reuse it.

Change-Id: Ia66f42fa123bbb4f86b396520757d9bc28f7b9d2
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1281: cache TransformerFactory and Transformer 80/8580/3
Robert Varga [Wed, 2 Jul 2014 19:00:03 +0000 (21:00 +0200)]
BUG-1281: cache TransformerFactory and Transformer

The code used to instantiate a TransformerFactory for each individual
request, where a single factory can be shared between threads as long as
it is not reconfigured.

As a futher optimization, we also create a thread-local cache for
transformers, as they can be use for multiple transformations.

Change-Id: I836148208be62f66cb6b509b0746e9fb92a569f0
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "BUG-1281: optimize ControllerContext"
Tony Tkacik [Thu, 3 Jul 2014 10:49:32 +0000 (10:49 +0000)]
Merge "BUG-1281: optimize ControllerContext"

6 years agoMerge "BUG-1275: drop a marker for follow-up"
Tony Tkacik [Thu, 3 Jul 2014 10:49:20 +0000 (10:49 +0000)]
Merge "BUG-1275: drop a marker for follow-up"

6 years agoMerge "BUG-868: Fix a warning in EmptyNodeWrapper"
Tony Tkacik [Thu, 3 Jul 2014 10:49:05 +0000 (10:49 +0000)]
Merge "BUG-868: Fix a warning in EmptyNodeWrapper"

6 years agoMerge "Add GlobalBundleScanningSchemaServiceImpl.destroyInstance for cleanup in tests"
Tony Tkacik [Thu, 3 Jul 2014 10:27:02 +0000 (10:27 +0000)]
Merge "Add GlobalBundleScanningSchemaServiceImpl.destroyInstance for cleanup in tests"

6 years agoBug 1290 - Swagger Documentation is failing to load - java script 04/8604/2
Devin Avery [Thu, 3 Jul 2014 10:04:07 +0000 (06:04 -0400)]
Bug 1290 - Swagger Documentation is failing to load - java script
exception

Fixed how we generated the json model representing yang union types
Fixed json model naming for nested container types.

To validate:
1) deploy fix, and load http://localhost:8080/apidoc/explorer.
2) Verify the page loads and you can expand
opendaylight-inventory:nodes.
3) Search for "node-connector" and expand a node-connector definition.
Verify that the "port-number" type says "integer or string".

Change-Id: I8aae18ba4805c3ee57cbb655807af4f15ee61756
Signed-off-by: Devin Avery <devin.avery@brocade.com>
6 years agoAdd GlobalBundleScanningSchemaServiceImpl.destroyInstance for cleanup in tests 01/8601/2
Tomas Olvecky [Thu, 3 Jul 2014 09:25:04 +0000 (11:25 +0200)]
Add GlobalBundleScanningSchemaServiceImpl.destroyInstance for cleanup in tests

Change-Id: Id0f6f65f5a0a00bfb8271cd68700545d1c05e5f6
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoBUG-1281: optimize ControllerContext 79/8579/2
Robert Varga [Wed, 2 Jul 2014 19:57:11 +0000 (21:57 +0200)]
BUG-1281: optimize ControllerContext

- use a single instanceof of Splitter
- do not instantiate unneeded collections
- static methods should be static
- do not use string concat in LOG.error()
- do not use String.split()

Change-Id: I16d2232ab2f9ee86f64f7abc95d9b7ce073f0c22
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1275: drop a marker for follow-up 78/8578/2
Robert Varga [Wed, 2 Jul 2014 20:26:33 +0000 (22:26 +0200)]
BUG-1275: drop a marker for follow-up

This class duplicates a lot of code from yangtools, so a proper middle
ground needs to be found. Drop a FIXME: so we do not forget.

Change-Id: I001c2fae9dbc1d9a13c8e91bb04ad9f3f22eaf1b
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: Fix a warning in EmptyNodeWrapper 77/8577/2
Robert Varga [Wed, 2 Jul 2014 18:29:30 +0000 (20:29 +0200)]
BUG-868: Fix a warning in EmptyNodeWrapper

Simple use of deprecated method to implement the same method. Add
@Deprecated marker to silence the warning.

Change-Id: I274e7afdecdd9ece5b0b8809ad1fee53abbafef3
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "BUG-692 Improve log message when negotiation fails"
Tony Tkacik [Wed, 2 Jul 2014 15:00:54 +0000 (15:00 +0000)]
Merge "BUG-692 Improve log message when negotiation fails"

6 years agoMerge "BUG-868: remove InstanceIdentifier.getPath() users"
Tony Tkacik [Wed, 2 Jul 2014 14:13:27 +0000 (14:13 +0000)]
Merge "BUG-868: remove InstanceIdentifier.getPath() users"

6 years agoMerge changes I38344133,Ib209ceed,I3f643034,I2f4ed366
Tony Tkacik [Wed, 2 Jul 2014 14:13:14 +0000 (14:13 +0000)]
Merge changes I38344133,Ib209ceed,I3f643034,I2f4ed366

* changes:
  BUG-868: getChildren() has been superseded by getValue()
  BUG-868: mark inherited methods as deprecated
  BUG-868: remove deprecated use of QName constructors
  BUG-868: do not use deprecated InstanceIdentifier methods

6 years agoRefactor Neutron Pagination Code to support Network, Port and Subnet 03/8503/4
Dave Tucker [Tue, 1 Jul 2014 13:47:13 +0000 (14:47 +0100)]
Refactor Neutron Pagination Code to support Network, Port and Subnet

- Move pagination logic to PaginatedRequestFactory
- Add INeutronObject interface to bound Generics
- Add INeutronRequest interface to enable pagination to be generic

Patchset 4:
- Fix typos in @XMLElement annotation on the 'links' attributes

Change-Id: I7fb6c800268847a36eccd2bc402580cb48c60c46
Signed-off-by: Dave Tucker <djt@redhat.com>
6 years agoBUG-1041 cli proposal #1 72/7472/50
Maros Marsalek [Wed, 11 Jun 2014 14:13:03 +0000 (16:13 +0200)]
BUG-1041 cli proposal #1

Generic model based cli for netconf servers.

Command are defined with yang language.

Change-Id: I9da0c764a92707d6ede3853bae021d9df01755d7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Move ServiceReferenceMXBean to config-api"
Tony Tkacik [Wed, 2 Jul 2014 13:37:36 +0000 (13:37 +0000)]
Merge "Move ServiceReferenceMXBean to config-api"

6 years agoBUG-868: remove InstanceIdentifier.getPath() users 08/8508/3
Robert Varga [Tue, 1 Jul 2014 16:18:44 +0000 (18:18 +0200)]
BUG-868: remove InstanceIdentifier.getPath() users

getPath() has been deprecated. Remove the easily call sites to
getPathArguments().

Change-Id: I2058627301404e28b58851c27d8d8117f48a7b9d
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: getChildren() has been superseded by getValue() 07/8507/3
Robert Varga [Tue, 1 Jul 2014 15:42:13 +0000 (17:42 +0200)]
BUG-868: getChildren() has been superseded by getValue()

Silences two eclipse warnings.

Change-Id: I383441335d9301d73dac5627223caaffcfd30461
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: mark inherited methods as deprecated 06/8506/3
Robert Varga [Tue, 1 Jul 2014 15:41:16 +0000 (17:41 +0200)]
BUG-868: mark inherited methods as deprecated

These methods are deprecated by the specifying class and we use them
internally. Mark them as deprecated, silencing the warnings.

Change-Id: Ib209ceed988e6407e833e16fafb69c54e350bf75
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: remove deprecated use of QName constructors 05/8505/3
Robert Varga [Tue, 1 Jul 2014 15:38:34 +0000 (17:38 +0200)]
BUG-868: remove deprecated use of QName constructors

Direct instantiation of QName is deprecated, so remove references to
them.

Change-Id: I3f64303469fc655e2adfdac72377bce38439ab78
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: do not use deprecated InstanceIdentifier methods 04/8504/3
Robert Varga [Tue, 1 Jul 2014 15:21:37 +0000 (17:21 +0200)]
BUG-868: do not use deprecated InstanceIdentifier methods

This removes the use of the deprecated constructor and some of the
getPath() call sites in favor of getPathArguments() and
InstanceIdentifier.create()/.node() methods.

Change-Id: I2f4ed36645408c6f780031d848af829cbe2a40d6
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMove ServiceReferenceMXBean to config-api 46/8546/1
Tomas Olvecky [Wed, 2 Jul 2014 11:56:39 +0000 (13:56 +0200)]
Move ServiceReferenceMXBean to config-api

Move ServiceReferenceMXBean to api in order to use it in config-util.
Deprecate newMBeanProxy methods in config registry and transaction client.
Make methods newMXBeanProxy aware of service references, add transaction
name silently when using transaction client's newMXBeanProxy.

Change-Id: I67daab1bcee6a1345beb80957dca91b452cfee67
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoBUG-1200 added functions for help depends on argument (-help arg) 80/8080/3
Jakub [Tue, 17 Jun 2014 16:25:17 +0000 (18:25 +0200)]
BUG-1200 added functions for help depends on argument (-help arg)

Change-Id: Ia2efe44f4eead3f816ec3effc2210ca9bd506c7f
Signed-off-by: Jakub <jatoth@cisco.com>
6 years agoMerge changes I8598d0bd,I560c2072
Devin Avery [Wed, 2 Jul 2014 11:30:34 +0000 (11:30 +0000)]
Merge changes I8598d0bd,I560c2072

* changes:
  Bug 488: Removed BundleContext usage for registering to DOM Components.
  Bug 488: Removed BundleContext from InMemoryDataBroker.

6 years agoMerge "Bug 488: Removed requirement for DOM providers to supply BundleContext."
Devin Avery [Wed, 2 Jul 2014 11:30:05 +0000 (11:30 +0000)]
Merge "Bug 488: Removed requirement for DOM providers to supply BundleContext."

6 years agoBUG-692 Improve log message when negotiation fails 32/8532/2
Maros Marsalek [Wed, 2 Jul 2014 09:05:28 +0000 (11:05 +0200)]
BUG-692 Improve log message when negotiation fails

Change-Id: I767094a86d989f9c3eb074928b890391d6e53783
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoComplete implementation of DataChangeListenerRegistration and related classes 17/8317/5
Moiz Raja [Wed, 25 Jun 2014 00:58:34 +0000 (17:58 -0700)]
Complete implementation of DataChangeListenerRegistration and related classes

Change-Id: If1bb663145fd6dbbb2123d014c1ea91f65f8e028
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoComplete implementation of DataChangeListenerProxy 16/8316/6
Moiz Raja [Wed, 25 Jun 2014 00:36:48 +0000 (17:36 -0700)]
Complete implementation of DataChangeListenerProxy

Change-Id: I51ba2f00289de6ff4cce005945b47f760aa0c57b
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoBug 762: Fixed bug in CsSnToXmlTest java. 10/8510/1
Tony Tkacik [Tue, 1 Jul 2014 16:49:17 +0000 (18:49 +0200)]
Bug 762: Fixed bug in CsSnToXmlTest java.

Change-Id: I5d3621a189bd5609772bf19c1130b13e0a5e53e4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Bug 1081 - Deprecate non-asynchronous Data Broker API"
Devin Avery [Tue, 1 Jul 2014 15:21:14 +0000 (15:21 +0000)]
Merge "Bug 1081 - Deprecate non-asynchronous Data Broker API"

6 years agoMerge "Make dependencyResolver protected in generated code"
Tony Tkacik [Tue, 1 Jul 2014 14:47:37 +0000 (14:47 +0000)]
Merge "Make dependencyResolver protected in generated code"

6 years agoBug 1081 - Deprecate non-asynchronous Data Broker API 22/8322/6
Tony Tkacik [Wed, 25 Jun 2014 09:32:09 +0000 (11:32 +0200)]
Bug 1081 - Deprecate non-asynchronous Data Broker API

Change-Id: I8fbe63326a0e396e128b46d96142c7db86b2b83a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Bug 1236 - Documented Binding-aware RPC services of MD-SAL"
Devin Avery [Tue, 1 Jul 2014 13:02:59 +0000 (13:02 +0000)]
Merge "Bug 1236 - Documented Binding-aware RPC services of MD-SAL"

6 years agoBug 488: Removed BundleContext usage for registering to DOM Components. 64/8464/7
Tony Tkacik [Mon, 30 Jun 2014 18:03:32 +0000 (20:03 +0200)]
Bug 488: Removed BundleContext usage for registering to DOM Components.

Change-Id: I8598d0bd8cd3396ea666c9e3d39ead6b155d1af4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 488: Removed requirement for DOM providers to supply BundleContext. 63/8463/6
Tony Tkacik [Mon, 30 Jun 2014 17:57:35 +0000 (19:57 +0200)]
Bug 488: Removed requirement for DOM providers to supply BundleContext.

Change-Id: I7a3a852dbe1dc9a48398943fc89b542e663531bc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoBug 488: Removed BundleContext from InMemoryDataBroker. 62/8462/6
Tony Tkacik [Mon, 30 Jun 2014 13:41:54 +0000 (15:41 +0200)]
Bug 488: Removed BundleContext from InMemoryDataBroker.

Change-Id: I560c2072b67aa1752ecb4237689fb813440f4e2c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMake dependencyResolver protected in generated code 93/8493/1
Tomas Olvecky [Tue, 1 Jul 2014 12:52:32 +0000 (14:52 +0200)]
Make dependencyResolver protected in generated code

Make Abstract*Module's dependencyResolver protected instead of private,
so that methods like getAttribute can be used from concrete Modules.

Change-Id: Ic02dbb59f9a9fca8138762ff476f2a5e489eb58a
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoMerge "Bug 1073: Added Transaction Chain support to Binding transactions."
Ed Warnicke [Tue, 1 Jul 2014 12:13:28 +0000 (12:13 +0000)]
Merge "Bug 1073: Added Transaction Chain support to Binding transactions."

6 years agoMerge "Bug 1073: Extracted Implementation of Binding Transaction"
Ed Warnicke [Tue, 1 Jul 2014 12:13:17 +0000 (12:13 +0000)]
Merge "Bug 1073: Extracted Implementation of Binding Transaction"

6 years agoMerge "Bug 1027: Sort map of instance-identifiers and data by length."
Ed Warnicke [Tue, 1 Jul 2014 12:12:33 +0000 (12:12 +0000)]
Merge "Bug 1027: Sort map of instance-identifiers and data by length."

6 years agoBug 1073: Added Transaction Chain support to Binding transactions. 70/8370/3
Tony Tkacik [Mon, 23 Jun 2014 07:29:50 +0000 (09:29 +0200)]
Bug 1073: Added Transaction Chain support to Binding transactions.

Added Binding Aware version of Transaction Chain
which only forwards all calls to DOM Transction Chain
and uses BindingForwarded transactions as wrappers
on top of real DOM Forwarded transactions.

Change-Id: Icf10cb8525a3229c0f41c6141bf198111fa4b240
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Implement rest of the methods for TransactionProxy"
Ed Warnicke [Tue, 1 Jul 2014 10:54:02 +0000 (10:54 +0000)]
Merge "Implement rest of the methods for TransactionProxy"

6 years agoMerge "Implement TransactionProxy#read"
Ed Warnicke [Tue, 1 Jul 2014 10:53:14 +0000 (10:53 +0000)]
Merge "Implement TransactionProxy#read"

6 years agoMerge "Implement DistributedDataStore#registerDataChangeListener"
Ed Warnicke [Tue, 1 Jul 2014 10:52:57 +0000 (10:52 +0000)]
Merge "Implement DistributedDataStore#registerDataChangeListener"

6 years agoBug 1073: Extracted Implementation of Binding Transaction 64/8364/4
Tony Tkacik [Mon, 23 Jun 2014 07:28:51 +0000 (09:28 +0200)]
Bug 1073: Extracted Implementation of Binding Transaction

Extracted implementation of Binding Transactions to
package private classes, so they could be used by
alternative implementation of Broker or TransactionChain.

Change-Id: I66825fef8217f2d55f4e987fc8e170d3c447a008
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "BUG 1211 - deletion non existing target returns 500"
Tony Tkacik [Tue, 1 Jul 2014 09:18:26 +0000 (09:18 +0000)]
Merge "BUG 1211 - deletion non existing target returns 500"

6 years agoBug 1112, Bug 629: Migrated toaster to use BindingDataBroker 68/8168/9
Tony Tkacik [Wed, 25 Jun 2014 15:47:36 +0000 (17:47 +0200)]
Bug 1112, Bug 629: Migrated toaster to use BindingDataBroker

Migrated toaster example from using DataProviderService
(Hydrogen APIs) to use new BindingDataBroker service.
Patchset did not introduce any other changes,
only the minimal required set of changes,
in order to illustrate steps needed to migrate API.

 - toaster-provider-impl.yang - Changed dependency definition
 - controller.xml - Changed configuration in test
 - 03-toaster.xml - Changed configuration in distribution
 - ToasterProviderModule.java and OpendaylightToaster.java
 - OpendaylightToaster - updated to use BindingDataBroker

Change-Id: Iff0e2877b1061d10000a1e68c8ab5504cfb6c81c
Signed-off-by: Tony Tkacik <ttkacik@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.