Ed Warnicke [Thu, 23 Jan 2014 00:53:57 +0000 (00:53 +0000)]
Merge "Fixed bug when global RPCs we're not forwarded"
Ed Warnicke [Thu, 23 Jan 2014 00:53:21 +0000 (00:53 +0000)]
Merge "Added DEBUG log statements for transaction translation."
Alessandro Boch [Wed, 22 Jan 2014 23:40:53 +0000 (23:40 +0000)]
Merge "Fixed inappropriate uses of log level INFO"
Ed Warnicke [Sun, 19 Jan 2014 23:33:16 +0000 (17:33 -0600)]
Fixed inappropriate uses of log level INFO
This is done per the recommendation here:
https://wiki.opendaylight.org/view/Draft_Syslog_Level_Settings
Change-Id: I69bbe15d81ed49511f643fd4a8c0ad60f58a0c22
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Tony Tkacik [Wed, 22 Jan 2014 13:41:40 +0000 (14:41 +0100)]
Fixed bug when global RPCs we're not forwarded
Change-Id: I2220530609cdbc02549637f92dd550ff657816d6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Wed, 22 Jan 2014 12:56:33 +0000 (13:56 +0100)]
Added DEBUG log statements for transaction translation.
Change-Id: Ia94d8a400e43bb8d0d342e9b6e68b7bf86fd6804
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Wed, 22 Jan 2014 13:28:42 +0000 (13:28 +0000)]
Merge "Default DataBroker does not read subtrees from Mountpoint"
Giovanni Meo [Wed, 22 Jan 2014 12:41:36 +0000 (12:41 +0000)]
Merge "Log transactions being allocated"
Tony Tkacik [Wed, 22 Jan 2014 10:22:53 +0000 (11:22 +0100)]
Default DataBroker does not read subtrees from Mountpoint
Changed default behaviour of DataBroker, which involved
also read from remote Netconf nodes to return only
data from local store. To access Netconf device
as a datastore one must get MountInstance for it -
MD-SAL instance exclusive for that device.
Change-Id: I5e900b3964475e95a5436746c1d47c3b68b712db
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Robert Varga [Wed, 22 Jan 2014 09:21:22 +0000 (10:21 +0100)]
Log transactions being allocated
We do get logs when the transaction processing starts, unfortunately we
do not get the context in which the transaction was created. This fixes
the deficiency by logging when the transaction is first allocated. Also
adds explicit logs about transaction state transitions.
Change-Id: I46b3a6326ec853e3d1fc32e9820f00d950fd9100
Signed-off-by: Robert Varga <rovarga@cisco.com>
Ed Warnicke [Wed, 22 Jan 2014 05:54:32 +0000 (05:54 +0000)]
Merge "More defensive RPC handling in DOM Broker"
Tony Tkacik [Mon, 20 Jan 2014 17:47:06 +0000 (18:47 +0100)]
More defensive RPC handling in DOM Broker
- RPCs registered to DOM broker now must comform to the schema
- at the time of registration of RPC implementation,
the YANG schema must be present for that RPC.
This does not affect RPC registrations for Binding Aware Broker.
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I9961efaf547818e08dec571ad9e2378d8e1f48cd
Ed Warnicke [Wed, 22 Jan 2014 04:51:21 +0000 (04:51 +0000)]
Merge "Commented out Sys.outs in runtime generated code."
Ed Warnicke [Wed, 22 Jan 2014 04:50:00 +0000 (04:50 +0000)]
Merge "Update to new version of the artifacts proposed by jenkins-controller-version-changes-11"
Ed Warnicke [Wed, 22 Jan 2014 02:14:43 +0000 (02:14 +0000)]
Merge "Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async. Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async. Added configuration for remote rpc in Configuration subsystem On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same Client was not registered with Server and addRPCImplementation was failing - fixed the same ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down."
Tony Tkacik [Tue, 21 Jan 2014 19:10:20 +0000 (20:10 +0100)]
Commented out Sys.outs in runtime generated code.
Change-Id: I8c7b532d6d6c10e3bb8a5da7e29aa32d70e79f58
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
jenkins-controller [Tue, 21 Jan 2014 17:43:33 +0000 (17:43 +0000)]
Update to new version of the artifacts proposed by jenkins-controller-version-changes-11
Change-Id: If1cdd56839fc0e15cb2c1fa946897b58d7bcfa37
Signed-off-by: jenkins-controller <jenkins-controller@opendaylight.org>
Abhishek Kumar [Thu, 12 Dec 2013 19:50:31 +0000 (11:50 -0800)]
Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async.
Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async.
Added configuration for remote rpc in Configuration subsystem
On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same
Client was not registered with Server and addRPCImplementation was failing - fixed the same
ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same
Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down.
Change-Id: I6054443b39394f82258522205ccd4be470f597f0
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Tomas Olvecky [Thu, 16 Jan 2014 09:50:38 +0000 (10:50 +0100)]
Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.
As of yangtools commit
f5e9689b95d945c22c7a38870681cab899326de9, all projects
in yangtools repo have version 0.6.0-SNAPSHOT. This commit bumps all
yangtools dependencies to this version.
Change-Id: I4aab7c67ee7ce99618a8935cb6b6fecc5688aace
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tony Tkacik [Wed, 15 Jan 2014 13:36:35 +0000 (14:36 +0100)]
Fixed deployment of mount points (dynamic instances of MD-SAL)
- Converted some xtend sources into Java classes
- Added mount point deployer - service responsible for
deploying dynamic instances of MD-SAL, which have
separate context and could be created and retrieved via
MountService.
Change-Id: I9c0798e2f5f0af647d97b22a2da2f6c46bf9b72d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Wed, 15 Jan 2014 13:04:02 +0000 (14:04 +0100)]
Updated implementation of Netconf, fixed DOM Mountpoint
Change-Id: Ia0d4f92a65174e891a8111571ced24182d9f47c6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Mon, 13 Jan 2014 13:44:44 +0000 (13:44 +0000)]
Merge "Fix a few POM versioning/dependency warnings"
Robert Varga [Wed, 8 Jan 2014 15:29:04 +0000 (16:29 +0100)]
Fix a few POM versioning/dependency warnings
Change-Id: I8c0fbfcb6a2c5b1d032a6ec26ff9176cca7f6834
Signed-off-by: Robert Varga <rovarga@cisco.com>
Moiz Raja [Tue, 7 Jan 2014 21:48:00 +0000 (13:48 -0800)]
Switch from using a Long as FlowId to a Uri
Couple of things you may want to pay attention to,
a. FlowProgrammerAdapter maintains a mapping between a Flow and it's id in a map in infinispan
b. Look at internalAddFlowAsync. If it finds that a flow is in the flow to id mapping cache. It will remove the flow and add it back in. This is what makes the switch add back a flow when it a switch comes back alive.
c. The sync vs async behavior should now be properly done
Change-Id: Id156ebbc7b6e643e4a5960aa735d0812bf5cbe48
Signed-off-by: Moiz Raja <moraja@cisco.com>
Ed Warnicke [Fri, 10 Jan 2014 17:11:43 +0000 (17:11 +0000)]
Merge "Fixed bug when converting augmentation in Instance Identifier"
Tony Tkacik [Fri, 10 Jan 2014 09:02:10 +0000 (10:02 +0100)]
Fixed bug when converting augmentation in Instance Identifier
QName for augmentation s not present in compile-time generated
classes, but Instance Identifier codec did not explicitly checked
that.
Changed implementation in a way, that now it does not uses
reflection, but runtime generated Augmentation codec to
provide valid QName.
Change-Id: If24e9c6bc67975440239dd20a6ec5025977aab58
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 9 Jan 2014 20:22:34 +0000 (20:22 +0000)]
Merge "Minor changes in md-sal tests."
Martin Vitez [Thu, 9 Jan 2014 14:08:48 +0000 (15:08 +0100)]
Minor changes in md-sal tests.
Temporary ignored test, removed @Override annotation.
Change-Id: I4d483770a96bf57973164f82c27f20f7d29a1e1f
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Tony Tkacik [Tue, 7 Jan 2014 13:00:32 +0000 (14:00 +0100)]
Bug 267: Fixed augmentation read from configuration store
- Fixed missing support of direct read of augmentation
from configuration store.
- Added regresion unit test, which test storing Node with
FlowCapableNode augmentation and reading it directly
via InstanceIdentifier pointing to the augmentation.
Change-Id: I31c1f14d09e8c6f22720d50d25b7c6c457f37c8b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Tue, 7 Jan 2014 03:37:25 +0000 (03:37 +0000)]
Merge "Support for mount points in Restconf"
Tony Tkacik [Mon, 6 Jan 2014 19:44:26 +0000 (20:44 +0100)]
Support for mount points in Restconf
Added support for mount points in Restconf paths, which allows for
deeper queries inside remote nodes such as Netconf.
Change-Id: I348e494bae138f7d46ca70ab051f36b5b021641d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Alessandro Boch [Fri, 3 Jan 2014 17:52:35 +0000 (17:52 +0000)]
Merge changes Idf3f69db,I4499d7c7,I512af911
* changes:
Initial fix to topology-adapter.
Fixed topology-manager now that we have topology-lldp-discovery
Added topology-lldp-discovery module
Ed Warnicke [Wed, 25 Dec 2013 23:00:30 +0000 (15:00 -0800)]
Fixed topology-manager now that we have topology-lldp-discovery
Change-Id: I4499d7c76322c0a4e78e51eed84a0ce1497b62cc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Ed Warnicke [Thu, 19 Dec 2013 12:52:42 +0000 (12:52 +0000)]
Merge "Fixed bug in discovering JVM loaded case classes during code generation"
Tony Tkacik [Thu, 19 Dec 2013 11:15:18 +0000 (12:15 +0100)]
Fixed bug in discovering JVM loaded case classes during code generation
- Added debug logging
- routing table updates
- rpc router creation, non-routed service registration
proxy instantiation.
Change-Id: Iab0ad7451382ab8179cff2febf17c19e96daf464
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Wed, 18 Dec 2013 16:10:41 +0000 (16:10 +0000)]
Merge "Fixed Bug 250 - bits serialization between Binding Broker and DOM broker"
Tony Tkacik [Wed, 18 Dec 2013 13:59:11 +0000 (14:59 +0100)]
Fixed Bug 250 - bits serialization between Binding Broker and DOM broker
- fixed serialization bug for YANG bits type when crossing brokers
- Added regression test for bug, based on provided bug report
- Decreased log level to debug and trace for some code generation
functionality.
Change-Id: I07982bb7ffefb4350ec4922c02207eb4dc368ab8
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Anil Vishnoi [Tue, 17 Dec 2013 13:28:30 +0000 (18:58 +0530)]
MD-SAL Statistics Manager - Changed Group/Meter Augmentataion location in operational data tree
Also added check, to only entertain multipart responses associated to the multipart request sent
by statistics-manager.
Change-Id: I51b1f4c9245ca30914293add0ea5fbefb3f1945b
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
Ed Warnicke [Mon, 16 Dec 2013 15:23:04 +0000 (15:23 +0000)]
Merge "Fixed bug in cross-broker RPC routing"
Ed Warnicke [Fri, 13 Dec 2013 19:54:40 +0000 (19:54 +0000)]
Merge "Fixed union serialization and deserialization"
Tony Tkacik [Fri, 13 Dec 2013 13:11:03 +0000 (14:11 +0100)]
Fixed bug in cross-broker RPC routing
- Fixed cross-broker (Binding to DOM) and (DOM to Binding)
rpc routing by adding explicit routing and invocation strategies
- Lowered reporting level for fingAugmentableArgument to DEBUG
so it does not polute logs
- Extracted and converted RpcProviderRegistry implementation
from BindingAwareBrokerImpl (Xtend) to RpcProviderRegistryImpl
(java).
Change-Id: I8339abdc864162c70a149cf59fdbdf97093ae8c0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Fri, 13 Dec 2013 19:04:32 +0000 (20:04 +0100)]
Fixed union serialization and deserialization
Change-Id: I8cd8b325fcea1dfd52e2b4166cf6ba4d9ec866a9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 12 Dec 2013 14:41:01 +0000 (14:41 +0000)]
Merge "Added more granular error reporting during commit validation."
Tony Tkacik [Wed, 11 Dec 2013 15:28:43 +0000 (16:28 +0100)]
Added more granular error reporting during commit validation.
Change-Id: I96a9f2fdd256e1b394d3a21fbaccf16f7350d316
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Tue, 10 Dec 2013 19:40:02 +0000 (19:40 +0000)]
Merge "Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available"
Tony Tkacik [Tue, 10 Dec 2013 14:21:07 +0000 (15:21 +0100)]
Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available
- Classloader for each encountered generated class is added to javassist ClassPool
if not already there, to make sure we have full visibility into supertype hierarchy
of class
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I760b6d53df2e07a9ed5e73fecd655999061cc3be
Tony Tkacik [Sun, 1 Dec 2013 16:53:21 +0000 (17:53 +0100)]
Fix to allow RESTCONF PUTing of Flows
- Due to a bug in the JAXB spec, which is propogated to
JAXRS, which forbids '/', even escaped, in path segments
in URLs... we can't use the nesting by refs under /flows.
- Therefore I've moved flow config to
nodes -> node -> table -> flow
- Making that change in the existing FlowConsumerImpl proved extremely
hard. Due to the press of time I've introduced a very simple set of
FlowProvider, FlowCommitHandler, FlowTransaction, FlowTransactionValidator,
to cleanly separate the logic. We can migrate over the validation rules as
need be.
PatchSet 11: Abstract the Transaction. Add Groups.
PatchSet 12: Fixes for Meters
PatchSet 13: Yet another rebase
PatchSet 14: Squashing https://git.opendaylight.org/gerrit/#/c/3304/8
Must proceed: http://git.opendaylight.org/gerrit/3596/1
in openflowplugin
Change-Id: I1f1cd04a04f7a30630062725e63112cda4b049f1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Mon, 9 Dec 2013 17:39:39 +0000 (17:39 +0000)]
Merge "Implementation for enabling remote rpc calls between 2 instances of md-sal"
Ed Warnicke [Mon, 9 Dec 2013 17:10:49 +0000 (17:10 +0000)]
Merge "Fix for bug 211, where direct write and read of augmentation was not processed correctly"
Tony Tkacik [Fri, 6 Dec 2013 15:40:56 +0000 (16:40 +0100)]
Fix for bug 211, where direct write and read of augmentation was not processed correctly
- Fixed TypeNotAvailable issue with end-to-end Openflow
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I9797fb4a1b71d456cc9126f98e4f3043e49b5666
Tony Tkacik [Thu, 5 Dec 2013 20:51:46 +0000 (21:51 +0100)]
Implementation for enabling remote rpc calls between 2 instances of md-sal
- This provides implementation for enabling remote rpc calls between 2 instances of md-sal.
The current implementation enables remote execution of globally unique services in the
cluster. For details, please refer to this wiki page
(https://wiki.opendaylight.org/view/Zeromq_connector). This wiki page is a draft.
- Added relativePath in pom so that parent pom can be found.
- Removed dependency to sal-infinispan-routingtable
- Exported "impl" as well from zeromq-routingtable. Fixed dependencies in RouterTest.
- Removed oss.sonatype release repo from md-sal pom. ODL nexus repo mirrors it.
- Updated server code to handle exception
- Server code now uses WB pattern instead of listerner pattern.
- Fixed pom so that parent can be resolved
- Rebased due to changed in unmerged dependency
- Added state machine to RpcSocket.
- Added unit tests to RpcSocketTest and SocketManagerTest.
- Added CompositeNode methods to ExampleConsumer & XML files for creation of CompositeNodes
- Added CompositeNode testcases to RouterTest
- Translated scala code to java
- Added code to convert CompositeNode to xml and back to help
- with serialization.
- Added more unit and integration tests.
This is squash for:
https://git.opendaylight.org/gerrit/2882
https://git.opendaylight.org/gerrit/3022
https://git.opendaylight.org/gerrit/3028
https://git.opendaylight.org/gerrit/3159
Change-Id: I44739fd8ad61043c2e786875bb7787e3fa68e435
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Alex Fan <railor33@gmail.com>
Ed Warnicke [Sat, 7 Dec 2013 23:03:29 +0000 (23:03 +0000)]
Merge "Added transactions statistics for BI Broker."
Lukas Sedlak [Fri, 6 Dec 2013 13:35:50 +0000 (14:35 +0100)]
Added transactions statistics for BI Broker.
Added implementation of gathering transaction statistics when binding independent broker is used.
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: Ia7fb9374575be62bb6bd6b2ace3112d28524bde5
Tony Tkacik [Wed, 4 Dec 2013 16:18:11 +0000 (17:18 +0100)]
Moved IT code to separate project, Fix for Bug 184, created test-jar
Change-Id: I9ed91016c93aba64548498b48de6ff1995cee021
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Milos Fabian [Tue, 3 Dec 2013 18:11:43 +0000 (19:11 +0100)]
Added documentation generator to yang-maven-plugin.
Generated html files are located in target/site/models.
Change-Id: I6cc8a8a3a2a7b6c420efaa211ed48c5ad34c0105
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Ed Warnicke [Tue, 3 Dec 2013 12:20:46 +0000 (12:20 +0000)]
Merge "Exposed binding-rpc-registry to config subsystem."
Tony Tkacik [Tue, 3 Dec 2013 09:26:38 +0000 (10:26 +0100)]
Exposed binding-rpc-registry to config subsystem.
Change-Id: I68920fd7547bab5dd868140322db03366e0d15a3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Mon, 2 Dec 2013 20:38:38 +0000 (20:38 +0000)]
Merge "Fixed serialization of InstanceIdentifier's which contains Augmentation in path."
Tony Tkacik [Mon, 2 Dec 2013 11:46:22 +0000 (12:46 +0100)]
Fixed serialization of InstanceIdentifier's which contains Augmentation in path.
Change-Id: I0ef71ec04eaa14f95fc0f4857254eef506d78bb4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Lukas Sedlak [Mon, 2 Dec 2013 11:38:03 +0000 (12:38 +0100)]
Added transactions statistics support.
Added implementation of DataBrokerImplRuntimeMXBean as DataBrokerRuntimeMXBeanImpl;
Modified DataBrokerImplModule with DataBrokerRuntimeMXBeanImpl;
Added "submitted" leaf into opendaylight-md-sal-common.yang;
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: I5494c7175b37c14e39d6b2b3d87fccd3358f1a57
Ed Warnicke [Sun, 1 Dec 2013 18:13:32 +0000 (18:13 +0000)]
Merge "Wired ClusteredDataStore with Configuration Subsytem"
Tony Tkacik [Wed, 27 Nov 2013 16:48:30 +0000 (17:48 +0100)]
Wired ClusteredDataStore with Configuration Subsytem
MD-SAL clustered Data Store is available as separete
configurable modules.
Change-Id: I15a98f19dd2eb851e8dfb73a9c4df461e6860db5
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Sun, 1 Dec 2013 14:34:41 +0000 (14:34 +0000)]
Merge "Fixed major sonar warnings in Binding Aware Broker"
Tony Tkacik [Sun, 1 Dec 2013 13:30:02 +0000 (14:30 +0100)]
Fixed major sonar warnings in Binding Aware Broker
Change-Id: I3c5721372778bc963d4fb1d5ff38585a7aa133af
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Sun, 1 Dec 2013 12:25:12 +0000 (12:25 +0000)]
Merge "Fixed bug in Data store where multiple readers could overwrite other augmentations"
Tony Tkacik [Sun, 1 Dec 2013 01:39:43 +0000 (02:39 +0100)]
Fixed bug in Data store where multiple readers could overwrite
other augmentations
- Added configuration / operational data validation - Commit
with operational data stored in configuration store will fail.
- Added initial data change event.
Change-Id: I5383cc28286bff98b95b11b63c56cd175ea2c7e9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 28 Nov 2013 10:49:40 +0000 (10:49 +0000)]
Merge "Fixed Group and Meter RPC model to use MD-SAL routing correctly"
Ed Warnicke [Thu, 28 Nov 2013 10:28:01 +0000 (10:28 +0000)]
Merge changes I178e467a,Ia8720c2c
* changes:
Mark deprecated methods in DataModification as such
Remove executable permissions from pom.xml
Tony Tkacik [Thu, 28 Nov 2013 08:36:49 +0000 (09:36 +0100)]
Fixed Group and Meter RPC model to use MD-SAL routing correctly
- Changed RPCs in Group and Meter to use node-context-ref
instead of node for routing information (same pattern as
in flow-services).
- Updated statistics manager to use updated code.
Change-Id: I7e6b156665008fea5814f6cdb16ed8de2511759a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Robert Varga [Thu, 28 Nov 2013 07:30:23 +0000 (08:30 +0100)]
Mark deprecated methods in DataModification as such
Change-Id: I178e467a3885841175755e3e9ff8f977a4276e85
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Ed Warnicke [Wed, 27 Nov 2013 21:34:49 +0000 (21:34 +0000)]
Merge "Moved Schema Aware logic from DataStore to SchemaAwareDataStore adapter"
Tony Tkacik [Wed, 27 Nov 2013 14:45:51 +0000 (15:45 +0100)]
Moved Schema Aware logic from DataStore to SchemaAwareDataStore adapter
All YANG schema logic necessary for proper function of DataStore
for all components was moved to separate component which
provides this functionality unified from one place for multiple
datastores.
Change-Id: I840f752b03e22047e8a7f3d2b7dbe3026fb087c9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Wed, 27 Nov 2013 12:11:24 +0000 (12:11 +0000)]
Merge "Fixed bug with multiple DataReaders participating in one read operation"
Tony Tkacik [Tue, 26 Nov 2013 18:01:08 +0000 (19:01 +0100)]
Fixed bug with multiple DataReaders participating in one read operation
Change-Id: I562c070acb0b16b1ffe41abb014c22319e1b5f2a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Mon, 25 Nov 2013 15:58:53 +0000 (16:58 +0100)]
Fixed two-phase commit bug when change originated in DOM Broker
- DataServiceConnector is now tracking all opened transaction
in order to prevent creating loop if transaction was
already forwarded from other broker (DataServiceConnector
is not publishing it back).
- Added logging to TwoPhase Commit and Transaction
forwarding
- Fixed some warnings regarding wildcards in generics.
Change-Id: I6e3169f20ac84222ed0837735c3ddd95115db38a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Tue, 19 Nov 2013 07:27:07 +0000 (08:27 +0100)]
Added configuration options to MD-SAL
Added default configuration to distribution
which wires MD-SAL components together.
Support for configuring wiring of following services:
- Binding Aware Broker
- Binding Aware Notification Service
- Binding Aware Data Broker Service
- Mapping service
- Binding Independent Broker
- Data Store
Default configuration wires BA Broker, BA Notification service
BA Data Broker and BI Broker together.
BA Broker requires now BI Broker to be loaded in order to
provide datastore functionality right from the beginning.
Updated integration tests, added new test cases for BA to BI
integration
Change-Id: I7776bb9b2ed75bd5589757633c17f2466b86a04c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Fri, 15 Nov 2013 14:43:43 +0000 (15:43 +0100)]
Fix for Bug 144, Bug 147, 148 - improved codec
- Added defensive locking mechanism to class generation code
- Provider's and Consumer's crossing boundatories between
brokers are blocked util their YANG schema is ready and processed.
- Added set of APIs to make generated codec contracts and interactions
more explicit.
- Extracted augmentation serialization / deserialization to sepparate
generated codec (one codec per augmentation type).
- Fixed NPE
Change-Id: I299924e911f63aba1fdeca3debeb8cc80f66f5ac
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Tue, 19 Nov 2013 14:24:18 +0000 (14:24 +0000)]
Merge "bug 152"
Prasanna Huddar [Tue, 19 Nov 2013 09:07:23 +0000 (14:37 +0530)]
ID's are made in sync with openflow specification. Flow/Group/Table/Port/Queue/Meter all Id's where string. The Spec points to uint32. So all ID have been moved to uint32 type.
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I75382f32ba715879db25cff1513283035c0d2dfd
David Bainbridge [Mon, 18 Nov 2013 22:38:17 +0000 (14:38 -0800)]
bug 152
add a null check when setting delgates, as when implementations are unregistered, registrations are closed, the delegate is set to null. this was causing a null pointer exception.
Change-Id: Ib37937cee768ba03c61154cc227316d6aef69cb8
Signed-off-by: David Bainbridge <dbainbri@ciena.com>
Ed Warnicke [Thu, 14 Nov 2013 21:21:22 +0000 (21:21 +0000)]
Merge "Fix for Bug 144"
Tony Tkacik [Thu, 14 Nov 2013 19:07:29 +0000 (20:07 +0100)]
Fix for Bug 144
- Fixed bug in generated code which tried to access non-existing field
- Added common root for tests dealing with models and their storage.
- Added regresion unit test to test situation from original bug report.
Change-Id: If71d5dab8f188c0189aa343859321d238188a76e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 14 Nov 2013 12:36:13 +0000 (12:36 +0000)]
Merge "Fixed performance issues with implementation of BA-to-BI mapping"
Tony Tkacik [Wed, 13 Nov 2013 15:40:24 +0000 (16:40 +0100)]
Fixed performance issues with implementation of BA-to-BI mapping
Codecs are lazily created on first need when traversing
boundatories between brokers
Change-Id: I72967babd613ecbc3c9f8f7bd04a4b938f7c0086
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Wed, 13 Nov 2013 17:58:40 +0000 (18:58 +0100)]
Added fix for InstanceIdentifier breakage in SAL-Compatibility
Change-Id: Ib2ac2f87c34c22a08094b085aa20d44121755751
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Giovanni Meo [Mon, 11 Nov 2013 17:47:01 +0000 (17:47 +0000)]
Merge "Fixed Restconf bug on reading Operational Data."
Ed Warnicke [Mon, 11 Nov 2013 15:55:45 +0000 (09:55 -0600)]
Fixed Restconf bug on reading Operational Data.
Change-Id: If84906b198d6da8c925072e1b444104203caa14c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Ed Warnicke [Mon, 11 Nov 2013 14:09:05 +0000 (14:09 +0000)]
Merge changes Ifdaf681e,Ifc13df7c
* changes:
Fixed merge of entries in mock data store
Added paths and mediatypes from Restconf draft 02
Tony Tkacik [Mon, 11 Nov 2013 13:27:23 +0000 (14:27 +0100)]
Fixed merge of entries in mock data store
Change-Id: Ifdaf681ecfc846e58afe0358568e86afe1822b4e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Mon, 11 Nov 2013 12:30:54 +0000 (12:30 +0000)]
Merge "Unified Two Phase Commit implementation, fixed BA to BI connection"
Tony Tkacik [Sun, 10 Nov 2013 21:45:44 +0000 (22:45 +0100)]
Unified Two Phase Commit implementation, fixed BA to BI connection
- Unified implementation of Two Phase Commit, Data Reading by abstract
sal-common-impl.
- Updated implementation of BA to BI connector to do schema-aware
serialization / deserialization.
Change-Id: Ibcfa2c4d96e4fa72f1b2499483a2752f62db8b50
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Sat, 9 Nov 2013 19:00:28 +0000 (20:00 +0100)]
Updated MountPoint implementation
- Fixed bug in AbstractDataReadRouter
Change-Id: Ie00387f57328ed5c0e8130e4456be8c1e9f0456d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Fri, 8 Nov 2013 21:02:48 +0000 (21:02 +0000)]
Merge "Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT. Remove ConfigProvider."
Maros Marsalek [Fri, 8 Nov 2013 12:15:23 +0000 (13:15 +0100)]
Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT.
Remove ConfigProvider.
Change-Id: I6d578f5c3b934456cf37a0893e816cfc8d6340f1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Ed Warnicke [Fri, 8 Nov 2013 10:46:25 +0000 (10:46 +0000)]
Merge "Unified implementations of BrokerService Proxies which are provided to Consumers/Producers."
Tony Tkacik [Fri, 8 Nov 2013 00:29:42 +0000 (01:29 +0100)]
Unified implementations of BrokerService Proxies which are provided to Consumers/Producers.
- Added AbstractBrokerServiceProxy which is Autocloseable,
and specific for each provider.
This proxy is convenience wrapper, which keeps track of all
object listeners retrieved from proxied service,
so when proxy is closed (deregistered) all registrations
are also removed.
- Added concrete implementations of AbstractBrokerServiceProxy
for Data*Services, Notification*Services and SchemaService
- Updated implementation of SchemaService to provide notifications
when new bundle with model is loaded.
Change-Id: I92b67dcb7f376fcf05ea41213aac719c7a3e902e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 7 Nov 2013 14:53:12 +0000 (14:53 +0000)]
Merge "Updated AbstractDataModification to also implement DataChange"
Tony Tkacik [Thu, 7 Nov 2013 14:28:27 +0000 (15:28 +0100)]
Updated AbstractDataModification to also implement DataChange
- AbstractDataModification now creates DataChange in the background
during the creation of diff.
This DataChange is easier for Commit Handlers to read
and do processing based on more granular changes.
Change-Id: Id0e41c444afa415c804922d0c87650dd50c555f7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Thu, 7 Nov 2013 14:06:23 +0000 (14:06 +0000)]
Merge "Unification of broker concepts implementations"
Tony Tkacik [Sun, 3 Nov 2013 19:37:46 +0000 (20:37 +0100)]
Unification of broker concepts implementations
- Introduced AbstractDataReadRouter into sal-common-impl
which deals with data read routing.
- AbstractDataReadRouter is then used inside sal-binding-broker
to route reads between binding aware components
and inside sal-dom-broker to route reads inside a mount point
or between binding independent components.
Extracted Rpc Routing logic from BrokerImpl.xtend and moved it to
separate class, which is used in the broker (global context)
and also in the mount-points (nested subsystems).
Change-Id: I7eaaddafe9f4dcb2ca6d25090246dfd51940b2d7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>