controller.git
9 years agoMerge "Modifications to error handling in restconf"
Devin Avery [Mon, 18 Aug 2014 15:24:20 +0000 (15:24 +0000)]
Merge "Modifications to error handling in restconf"

9 years agoMerge "BUG-1541 Netconf device simulating testtool"
Ed Warnicke [Mon, 18 Aug 2014 15:20:04 +0000 (15:20 +0000)]
Merge "BUG-1541 Netconf device simulating testtool"

9 years agoMerge "BUG-1541 Extract AuthProvider interface"
Ed Warnicke [Mon, 18 Aug 2014 15:19:51 +0000 (15:19 +0000)]
Merge "BUG-1541 Extract AuthProvider interface"

9 years agoMerge "BUG-1535 Ignore exception on toaster.close"
Ed Warnicke [Mon, 18 Aug 2014 14:52:59 +0000 (14:52 +0000)]
Merge "BUG-1535 Ignore exception on toaster.close"

9 years agoMerge "BUG-1558 Fix BindingAwareActivator ignoring removedService call."
Ed Warnicke [Mon, 18 Aug 2014 14:52:43 +0000 (14:52 +0000)]
Merge "BUG-1558 Fix BindingAwareActivator ignoring removedService call."

9 years agoMerge "Fix precondition formatting"
Ed Warnicke [Mon, 18 Aug 2014 14:52:17 +0000 (14:52 +0000)]
Merge "Fix precondition formatting"

9 years agoBUG-1541 Netconf device simulating testtool 87/9887/3
Maros Marsalek [Tue, 12 Aug 2014 13:31:27 +0000 (15:31 +0200)]
BUG-1541 Netconf device simulating testtool

Produces executable jar file.

The jar can simulate arbitrary number of netconf devices that listen on configured ports
Schemas are loaded from a provided folder
Can also generate ODL initial config files for started simulated devices to support testing with ODL distribution

Change-Id: I8fce73fa7c568a272c29073f26a4e8aafeebfd82
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1541 Extract AuthProvider interface 86/9886/3
Maros Marsalek [Tue, 12 Aug 2014 13:30:57 +0000 (15:30 +0200)]
BUG-1541 Extract AuthProvider interface

Change-Id: I8df939b1c712fe85f3cd269df50b01ceee2d9538
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1535 Ignore exception on toaster.close 14/10014/1
Maros Marsalek [Mon, 18 Aug 2014 08:27:36 +0000 (10:27 +0200)]
BUG-1535 Ignore exception on toaster.close

It tries to delete data from store, but if the broker gets closed it cannot remove data since the broker throws exception

Change-Id: I49bbbe410b9f1cb67711974c27f0375dc15c17dc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1558 Fix BindingAwareActivator ignoring removedService call. 13/10013/1
Maros Marsalek [Mon, 18 Aug 2014 07:42:02 +0000 (09:42 +0200)]
BUG-1558 Fix BindingAwareActivator ignoring removedService call.

Change-Id: I0a062bb144af7d4d70bc3f708e0f919bcce3dc9b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "bug 537 - Node Reconciliation"
Ed Warnicke [Fri, 15 Aug 2014 19:54:29 +0000 (19:54 +0000)]
Merge "bug 537 - Node Reconciliation"

9 years agoMerge "Bug 1503: RestconfError "data-missing" is error code 404."
Ed Warnicke [Fri, 15 Aug 2014 19:27:38 +0000 (19:27 +0000)]
Merge "Bug 1503: RestconfError "data-missing" is error code 404."

9 years agoMerge "BUG-1554: fill out ID/KEY"
Ed Warnicke [Fri, 15 Aug 2014 19:22:11 +0000 (19:22 +0000)]
Merge "BUG-1554: fill out ID/KEY"

9 years agobug 537 - Node Reconciliation 74/8174/15
Michal Rehak [Fri, 15 Aug 2014 18:25:19 +0000 (20:25 +0200)]
bug 537 - Node Reconciliation

https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Backlog:Node_Status_Reconciliation

* FRM Reconciliation Notify Listener (DataChangeScope.BASE for FlowCapableNode in DataStore/OPERATIONAL)
* FlowCookieProducer - MapHolder for an unique relation flow_cookie to flow_id via FRM
* FlowStatTracker changes
        * search flow_id by flow_cookie for exist flow
* add flow_id - flow_cookie for new Flow
* FRM migration for new DataBroker API
* merge with new DataStore/OPERATIONAL hierarchy (Flow vs. FlowStatistics)
* fixed flow delete - generated cookie is bypassed with mask=0

In additional commit has fixed Bug 282 - Pre-configuration of flows causes exception
+ remove the transaction validators - not needed for now

Change-Id: Iadc2b111780524b9a8fd86cfc248e5fa194e6638
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoBUG-1554: fill out ID/KEY 86/9986/1
Robert Varga [Fri, 15 Aug 2014 18:14:00 +0000 (20:14 +0200)]
BUG-1554: fill out ID/KEY

When a list is being inserted it is required to fill out both its key
and its mandatory leaves.

Change-Id: I8a076b965a32620dfde4ecddf93d2b9f68737e96
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Adding more unit tests for remote rpc connector and Integrating routing table"
Moiz Raja [Fri, 15 Aug 2014 17:32:37 +0000 (17:32 +0000)]
Merge "Adding more unit tests for remote rpc connector and Integrating routing table"

9 years agoMerge "Hotfix bug 1556 - FRM: NPE thrown in notification"
Ed Warnicke [Fri, 15 Aug 2014 17:18:25 +0000 (17:18 +0000)]
Merge "Hotfix bug 1556 - FRM: NPE thrown in notification"

9 years agoBug 1503: RestconfError "data-missing" is error code 404. 93/9893/5
Robert Varga [Tue, 12 Aug 2014 18:08:49 +0000 (20:08 +0200)]
Bug 1503: RestconfError "data-missing" is error code 404.

The base specification listed the error code to be 409, which is in
direct violation on HTTP. The restconf specification will be fixed in
the upcoming draft, meanwhile we are going for the new, sane behavior
regardless.

Change-Id: I7a6cf67a794f8348d746ba94b7de9580d0472a61
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoHotfix bug 1556 - FRM: NPE thrown in notification 82/9982/1
Vaclav Demcak [Fri, 15 Aug 2014 15:18:41 +0000 (17:18 +0200)]
Hotfix bug 1556 - FRM: NPE thrown in notification

* FlowCapableTopologyExpoerter - flow:1 is not exist because it is not created correctly

Change-Id: Ifa5b984329796e5df7aa0f71b1932b73d0ff99a0
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write...
Ed Warnicke [Fri, 15 Aug 2014 15:24:43 +0000 (15:24 +0000)]
Merge "Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write path""

9 years agoRevert "BUG-1425: Integrated new Binding to Normalized Node codec for write path" 80/9980/1
Ed Warnicke [Fri, 15 Aug 2014 14:49:27 +0000 (14:49 +0000)]
Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write path"

This reverts commit eb2bd48a9148a4fbeae292ffd03e30083c2ff024.

Change-Id: Ic8183f6620c51d8a4a87a38af1e9a554e7f9016a
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "write /nodes/node/table/0 with ensure parents when node first appears"
Ed Warnicke [Fri, 15 Aug 2014 12:48:58 +0000 (12:48 +0000)]
Merge "write /nodes/node/table/0 with ensure parents when node first appears"

9 years agoMerge "Bug-1520 Config subsystem:config-impl tests"
Ed Warnicke [Fri, 15 Aug 2014 12:03:22 +0000 (12:03 +0000)]
Merge "Bug-1520 Config subsystem:config-impl tests"

9 years agowrite /nodes/node/table/0 with ensure parents when node first appears 71/9771/5
Martin Bobak [Wed, 6 Aug 2014 12:28:31 +0000 (14:28 +0200)]
write /nodes/node/table/0 with ensure parents when node first appears

Change-Id: Ic30ee64e7f1c53de7902aa322fc2de20bcf5b9b8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Bug-1520 Config subsystem:config-api tests"
Ed Warnicke [Fri, 15 Aug 2014 11:24:05 +0000 (11:24 +0000)]
Merge "Bug-1520 Config subsystem:config-api tests"

9 years agoMerge "Bug-1520 Config subsystem:config modules tests"
Ed Warnicke [Fri, 15 Aug 2014 11:23:42 +0000 (11:23 +0000)]
Merge "Bug-1520 Config subsystem:config modules tests"

9 years agoModifications to error handling in restconf 14/9714/5
tpantelis [Wed, 13 Aug 2014 12:55:16 +0000 (08:55 -0400)]
Modifications to error handling in restconf

Modified error handling for read and write Tx to transfer to transfer
RpcError info from ReadFailedException and
TransactionCommitFailedException to the RestconfDocumentedException.

Change-Id: Ifb47f0cdfda5a11d53add9d7ef8fbe50954c0206
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoAdding more unit tests for remote rpc connector and Integrating routing table 62/9862/6
Harman Singh [Tue, 5 Aug 2014 21:06:24 +0000 (14:06 -0700)]
Adding more unit tests for remote rpc connector and Integrating routing table

Updated with code review comments

Change-Id: Ie88870e6cf6e9446f352e5b931e5063f5f0ec012
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoFix precondition formatting 57/9957/1
Robert Varga [Thu, 14 Aug 2014 19:45:42 +0000 (21:45 +0200)]
Fix precondition formatting

Preconditions take String.format() arguments, not {} placeholders.

Change-Id: I6fe863e3954ccb0c6a861ec969691072933406a2
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemoving additional plugin, not required for config files 03/9903/4
Harman Singh [Tue, 12 Aug 2014 23:30:13 +0000 (16:30 -0700)]
Removing additional plugin, not required for config files

Change-Id: I7da3ac25b4d19a91ed7bf198125c597cb0473c56
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoMerge "Akka config change"
Moiz Raja [Thu, 14 Aug 2014 17:22:03 +0000 (17:22 +0000)]
Merge "Akka config change"

9 years agoMerge "Move the CompositeModificatoinPayload message to proper package The package...
Moiz Raja [Thu, 14 Aug 2014 17:19:08 +0000 (17:19 +0000)]
Merge "Move the CompositeModificatoinPayload message to proper package The package of protobuff generated code is excluded from sonar testing"

9 years agoBug 948 : Inventory and topology manager shifted to new DataStore API 47/9747/9
Martin Bobak [Wed, 6 Aug 2014 05:22:08 +0000 (07:22 +0200)]
Bug 948 : Inventory and topology manager  shifted to new DataStore API

Change-Id: I1a3f2fb47742da0622a096bd6305e7a848a59a36
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agohotfix Bug 1499 - deleted flow still present 88/9788/2
Vaclav Demcak [Thu, 7 Aug 2014 13:48:23 +0000 (15:48 +0200)]
hotfix Bug 1499 - deleted flow still present

StatisticManager needs to delete the statistics and the flows too.
* fix a path to delete whole flow (no only statistics)

Note: bugfix could help for bug 1345 too.

Change-Id: I8a8bee995d42daa9f1832cc8e26cc2c02b2e64c1
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoMerge "Add additional fields to Neutron Router"
Madhu Venugopal [Thu, 14 Aug 2014 13:19:08 +0000 (13:19 +0000)]
Merge "Add additional fields to Neutron Router"

9 years agoMerge changes I162c84f7,Iffa37d3f
Ed Warnicke [Thu, 14 Aug 2014 09:21:13 +0000 (09:21 +0000)]
Merge changes I162c84f7,Iffa37d3f

* changes:
  BUG-1425: Integrated new Binding to Normalized Node codec for write path
  BUG-1425: package binding-data-codec

9 years agoAdd additional fields to Neutron Router 39/9939/1
Dave Tucker [Wed, 13 Aug 2014 23:59:21 +0000 (00:59 +0100)]
Add additional fields to Neutron Router

This adds additional fields to the Neutron Router object that can assist
with providing Distributed L3

Change-Id: I71dabe323a55a9028e54b1b46e923a7e4614f46d
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMove the CompositeModificatoinPayload message to proper 38/9938/1
Basheeruddin Ahmed [Wed, 13 Aug 2014 23:35:27 +0000 (16:35 -0700)]
Move the CompositeModificatoinPayload message to proper
package
The package of protobuff generated code is
excluded from sonar testing

Change-Id: I4eeae429febe32a8a347c319f6dec60cd0df5946
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoBUG-1425: Integrated new Binding to Normalized Node codec for write path 57/9757/11
Robert Varga [Mon, 4 Aug 2014 17:29:10 +0000 (19:29 +0200)]
BUG-1425: Integrated new Binding to Normalized Node codec for write path

Integrated binding to normalized node codec for write path to datastore,
for deserialization legacy codecs are still used.

This patch requires https://git.opendaylight.org/gerrit/9795
to be merged in YANGTools before.

Removed private dead data broker code from MD-SAL.

Change-Id: I162c84f7da8330d94992122de3af19e76c1e41d2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAkka config change 25/9925/1
Abhishek Kumar [Wed, 13 Aug 2014 19:13:58 +0000 (12:13 -0700)]
Akka config change

Renamed host name from localhost to 127.0.0.1
Some jenkins slaves are unable to resolve localhost

Change-Id: I4079dccc33616eea135a516f4cf6f8335f3df50d
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoBUG-1425: package binding-data-codec 11/9911/3
Robert Varga [Wed, 13 Aug 2014 06:03:28 +0000 (08:03 +0200)]
BUG-1425: package binding-data-codec

Preparatory patch, which includes the codec in the base package.

Change-Id: Iffa37d3fb2d0604db0250f6c9c48845042925d15
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix comparison logic in neutron floating ip rest implementation 22/9922/1
Flavio Fernandes [Wed, 13 Aug 2014 16:43:38 +0000 (12:43 -0400)]
Fix comparison logic in neutron floating ip rest implementation

* Detect when external network has no subnets (in addition to more than one)
* Fix compare after looking up NeutronFloatingIP singleton

Change-Id: Id84360fc9d984e9815de56b90be4a1c753fdbcd8
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBug-1520 Config subsystem:config-impl tests 80/9780/3
Maros Marsalek [Wed, 23 Jul 2014 11:45:57 +0000 (13:45 +0200)]
Bug-1520 Config subsystem:config-impl tests

Change-Id: I8c09cbf90585e179f84e3ac1e83e5946379be66f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug-1520 Config subsystem:config-api tests 54/9254/4
Maros Marsalek [Mon, 21 Jul 2014 11:34:13 +0000 (13:34 +0200)]
Bug-1520 Config subsystem:config-api tests

Change-Id: Iefb8b8ac1a5099c276ab200a3a6337cb8befefe7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug-1520 Config subsystem:config modules tests 53/9253/4
Maros Marsalek [Mon, 21 Jul 2014 10:52:04 +0000 (12:52 +0200)]
Bug-1520 Config subsystem:config modules tests

Change-Id: I2ad29ce1eb8ba0d5286c426ab3e61627d8e7a8dc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Bug-1338: Create a grouping for order to help create generic OrderComparator...
Ed Warnicke [Wed, 13 Aug 2014 14:40:16 +0000 (14:40 +0000)]
Merge "Bug-1338: Create a grouping for order to help create generic OrderComparator in OFP"

9 years agoMerge "BUG-997 Use shared schema context factory in netconf-connector"
Ed Warnicke [Wed, 13 Aug 2014 13:43:31 +0000 (13:43 +0000)]
Merge "BUG-997 Use shared schema context factory in netconf-connector"

9 years agoMerge "Add exists method on DOMStoreReadTransaction and DOMDataReadTransaction"
Tom Pantelis [Wed, 13 Aug 2014 12:12:10 +0000 (12:12 +0000)]
Merge "Add exists method on DOMStoreReadTransaction and DOMDataReadTransaction"

9 years agoMerge "Better handle remove interface from router for unknown port uuid"
Madhu Venugopal [Wed, 13 Aug 2014 05:42:00 +0000 (05:42 +0000)]
Merge "Better handle remove interface from router for unknown port uuid"

9 years agoBetter handle remove interface from router for unknown port uuid 06/9906/1
Flavio Fernandes [Wed, 13 Aug 2014 02:37:16 +0000 (22:37 -0400)]
Better handle remove interface from router for unknown port uuid

When doing "Remove interface from router" and only port uuid is
provided; the lookup in hash map may return null. If so, there
needs to be a check against NPE.

Change-Id: Ibaea49ac3fdfc08e92c95e818e5ec82628822f3f
Ref: http://docs.openstack.org/api/openstack-network/2.0/content/PUT_removeRouterInterface__v2.0_routers_remove_router_interface_router_ext.html
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Bug #1532 Neutron Port bindings missing Security Group List"
Madhu Venugopal [Wed, 13 Aug 2014 02:23:58 +0000 (02:23 +0000)]
Merge "Bug #1532 Neutron Port bindings missing Security Group List"

9 years agoMerge "Optimizations, Monitoring and Logging"
Ed Warnicke [Tue, 12 Aug 2014 23:09:32 +0000 (23:09 +0000)]
Merge "Optimizations, Monitoring and Logging"

9 years agoBug #1532 Neutron Port bindings missing Security Group List 92/9892/2
Brent Salisbury [Tue, 12 Aug 2014 17:35:24 +0000 (13:35 -0400)]
Bug #1532 Neutron Port bindings missing Security Group List

Neutron Port calls are returning empty SecGroup lists. The
bindings are there, just not the return.

Change-Id: I882f0921af35e690672ee3a728cc2c029c4739fa
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoMerge "Fixed remove rpc api in rpc registry"
Moiz Raja [Tue, 12 Aug 2014 20:59:42 +0000 (20:59 +0000)]
Merge "Fixed remove rpc api in rpc registry"

9 years agoAdd exists method on DOMStoreReadTransaction and DOMDataReadTransaction 43/9843/10
Moiz Raja [Sun, 10 Aug 2014 23:18:33 +0000 (16:18 -0700)]
Add exists method on DOMStoreReadTransaction and DOMDataReadTransaction

Introducing this API does not impact clients as it is mostly internal.

One reason for adding this API is because of ensureParentsByMerge used in a couple of places
which keeps checking if a parent node exists by reading a node to figure out if it exists. This is
fine for the InMemoryDataStore but it can be terrible in a distributed data store where the shard
which contains the data is remote. All sorts of overhead is associated with a remote read including
serialization which can actually be pretty expensive.

Change-Id: Ib5be5f6dc60be683d7a04c81dad08c56cd5681f4
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Working md-sal features, including restconf, toaster, flow-services"
Devin Avery [Tue, 12 Aug 2014 15:49:37 +0000 (15:49 +0000)]
Merge "Working md-sal features, including restconf, toaster, flow-services"

9 years agoMerge "Fix to topology-lldp-discovery to allow for clean karaf feature"
Devin Avery [Tue, 12 Aug 2014 15:49:19 +0000 (15:49 +0000)]
Merge "Fix to topology-lldp-discovery to allow for clean karaf feature"

9 years agoMerge "config-persister-feature-adapter to push configs from karaf features"
Devin Avery [Tue, 12 Aug 2014 15:48:31 +0000 (15:48 +0000)]
Merge "config-persister-feature-adapter to push configs from karaf features"

9 years agoMerge "Minor changes to config-persister to allow for karaf"
Devin Avery [Tue, 12 Aug 2014 15:48:07 +0000 (15:48 +0000)]
Merge "Minor changes to config-persister to allow for karaf"

9 years agoFixed remove rpc api in rpc registry 31/9831/6
Abhishek Kumar [Fri, 8 Aug 2014 21:42:06 +0000 (14:42 -0700)]
Fixed remove rpc api in rpc registry

Added tests

Change-Id: Ib5204f5226d11a1d8cdec7cf99809333bd1f1457
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoMerge "Updated RpcRegistry to accept a list of route identifiers while adding or...
Moiz Raja [Tue, 12 Aug 2014 15:12:24 +0000 (15:12 +0000)]
Merge "Updated RpcRegistry to accept a list of route identifiers while adding or removing routes."

9 years agoOptimizations, Monitoring and Logging 25/9825/9
Moiz Raja [Fri, 8 Aug 2014 17:56:08 +0000 (10:56 -0700)]
Optimizations, Monitoring and Logging

- Made identifiers type-safe
- Changed logging so that most of it is done at debug level instead of info
- Make cluster logging configurable via logback.xml
- Add Bean for looking at the local shards on shard manager
- Add Preconditions in a places where it matters

Change-Id: Ie2b17e89bd88edde1366d0a4d23abf9fb97e6e55
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Missing capability in 10-rest-connector.xml file"
Moiz Raja [Tue, 12 Aug 2014 13:18:08 +0000 (13:18 +0000)]
Merge "Missing capability in 10-rest-connector.xml file"

9 years agoBUG-997 Use shared schema context factory in netconf-connector 00/9700/8
Maros Marsalek [Mon, 4 Aug 2014 14:35:47 +0000 (16:35 +0200)]
BUG-997 Use shared schema context factory in netconf-connector

+ Fix disconnect by netconf-connector. Until now, the connection to remote device was still open even if initialization failed.

Change-Id: I23ee999c7898665498519abf19610deef3d410a3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoHandling ShardTransaction Failure Scenarios 81/9881/1
Basheeruddin Ahmed [Tue, 12 Aug 2014 06:31:45 +0000 (23:31 -0700)]
Handling ShardTransaction Failure Scenarios
and corresponding test cases

Note: Cohort failures handling is being worked on
and will be taken care in separate commit

Change-Id: I7ef165b9cb8c91088b4f20ae6c19418f92edb37c
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoUpdated RpcRegistry to accept a list of route identifiers while 20/9820/5
Abhishek Kumar [Fri, 8 Aug 2014 18:51:37 +0000 (11:51 -0700)]
Updated RpcRegistry to accept a list of route identifiers while
adding or removing routes.

Removed few redundant defensive null checks.

Change-Id: I24310d2a3871a4bff2afa5a06b3657f4d2709794
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoInclude lastCommittedTransactionTime in Shard JMX 50/9850/7
Basheeruddin Ahmed [Mon, 11 Aug 2014 06:43:50 +0000 (23:43 -0700)]
Include lastCommittedTransactionTime in Shard JMX
MBean
Changed the maximum-frame-size to a larger value

patch 2: rebased
patch 3: merge with other changes
patch 4: commit not returning if cohort was null, included failedTransactionsCount
patch 5/patch6: updated with review comments
patch 7: reformatted based on comment

Change-Id: I85218131dc8edb51f4c2c9fcbb34be79b547789c
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoWorking md-sal features, including restconf, toaster, flow-services 48/9848/3
Ed Warnicke [Mon, 11 Aug 2014 04:56:11 +0000 (23:56 -0500)]
Working md-sal features, including restconf, toaster, flow-services

Note: DO NOT MERGE until
https://git.opendaylight.org/gerrit/9847 (yangtools)
is merged as it is needed for this change.

Change-Id: Iad975cfb63b62930465edcd9e415856873b5acde
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix to topology-lldp-discovery to allow for clean karaf feature 46/9846/3
Ed Warnicke [Mon, 11 Aug 2014 04:19:06 +0000 (23:19 -0500)]
Fix to topology-lldp-discovery to allow for clean karaf feature

Change-Id: Ife3388610a2d816f7bb8e5214cc98d123c4b604b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoconfig-persister-feature-adapter to push configs from karaf features 45/9845/3
Ed Warnicke [Mon, 11 Aug 2014 03:01:08 +0000 (22:01 -0500)]
config-persister-feature-adapter to push configs from karaf features

Change-Id: I66063a44210d1a6d7804903f17bc8fc0b2995af8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMinor changes to config-persister to allow for karaf 44/9844/2
Ed Warnicke [Mon, 11 Aug 2014 02:43:06 +0000 (21:43 -0500)]
Minor changes to config-persister to allow for karaf

These minor changes expose a ConfigPusher service for use
by a config-persister-feature-adapter (to follow) that
can push configs attached to features.

Change-Id: I382d2ab578d19ea9c24afa521a9a5a047360fc50
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Fix broken 05-clustering.xml"
Ed Warnicke [Mon, 11 Aug 2014 16:05:03 +0000 (16:05 +0000)]
Merge "Fix broken 05-clustering.xml"

9 years agoMerge " Expose more information about a Shard via JMX"
Ed Warnicke [Mon, 11 Aug 2014 16:04:41 +0000 (16:04 +0000)]
Merge " Expose more information about a Shard via JMX"

9 years agoMerge "Bug 1430: Off-load notifications from single commit thread"
Devin Avery [Mon, 11 Aug 2014 15:28:26 +0000 (15:28 +0000)]
Merge "Bug 1430: Off-load notifications from single commit thread"

9 years agoMerge "BUG 907 distinguish augmented nodes"
Devin Avery [Mon, 11 Aug 2014 14:05:57 +0000 (14:05 +0000)]
Merge "BUG 907 distinguish augmented nodes"

9 years agoMerge "BUG-1511: add FIXME markers"
Ed Warnicke [Mon, 11 Aug 2014 13:01:37 +0000 (13:01 +0000)]
Merge "BUG-1511: add FIXME markers"

9 years agoBUG 907 distinguish augmented nodes 14/9014/8
Jozef Gloncak [Tue, 15 Jul 2014 09:10:57 +0000 (11:10 +0200)]
BUG 907 distinguish augmented nodes

All nodes and their child contains also information about module from
which they comes from (module_name:node_name)

Change-Id: I7b146e820da1b5d3bdb62510a48e6845a78c80a2
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoMissing capability in 10-rest-connector.xml file 51/9851/2
Jozef Gloncak [Mon, 11 Aug 2014 09:33:06 +0000 (11:33 +0200)]
Missing capability in 10-rest-connector.xml file

This missing capability could probably cause problem and restconf isn't
started.

Change-Id: I6ea2dc6236948c7e77b9cddf7d015fcf4e5b7357
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBUG 1162 - problem to post list data 84/9684/3
Jozef Gloncak [Tue, 5 Aug 2014 08:59:55 +0000 (10:59 +0200)]
BUG 1162 - problem to post list data

If last path arguments of instance identifier are list with keys then in
POST operation it is necessary to append it to instance identifier as
nodeWithKey.

This code was part of RestconfImpl but it was probably deleted
accidentaly.

Change-Id: I117cbcc39dcb97e8bc5ecc852ce2e9e7da7070cf
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoFix broken 05-clustering.xml 24/9824/3
Moiz Raja [Fri, 8 Aug 2014 19:30:39 +0000 (12:30 -0700)]
Fix broken 05-clustering.xml

Change-Id: Id9a08202816836ab55ffb1510db66316b0ab74cb
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years ago Expose more information about a Shard via JMX 99/9799/4
Moiz Raja [Thu, 7 Aug 2014 19:13:49 +0000 (12:13 -0700)]
 Expose more information about a Shard via JMX

Change-Id: I4185cbf9d1399b90aa7b635bdbb4a82bce122a1a
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoBUG-1511: add FIXME markers 34/9834/1
Robert Varga [Sat, 9 Aug 2014 10:38:17 +0000 (12:38 +0200)]
BUG-1511: add FIXME markers

Fixes a simple typo and drops marker FIXMEs for future implementation.

Change-Id: Ic4f67afd978f4bb43314d161afcfe1e56c831be6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Fix usage of StringBuilder when getting parent path in PathUtils Making consta...
Moiz Raja [Sat, 9 Aug 2014 02:05:52 +0000 (02:05 +0000)]
Merge "Fix usage of StringBuilder when getting parent path in PathUtils Making constants final timing encode/decode in a test case"

9 years agoMerge "Neutron LBaaS v2.0 API support"
Madhu Venugopal [Fri, 8 Aug 2014 23:56:04 +0000 (23:56 +0000)]
Merge "Neutron LBaaS v2.0 API support"

9 years agoFix usage of StringBuilder when getting parent path 30/9830/1
Basheeruddin Ahmed [Fri, 8 Aug 2014 21:39:25 +0000 (14:39 -0700)]
Fix usage of StringBuilder when getting parent path
in PathUtils
Making constants final
timing encode/decode in a test case

Change-Id: Ia552163dfe35dcd268bd8a0620c6b34c910f47b2
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoAdding SLF4J logging 63/9763/2
Abhishek Kumar [Wed, 6 Aug 2014 22:04:32 +0000 (15:04 -0700)]
Adding SLF4J logging

Change-Id: I0dbb80f947d44846dc0ee2b340e06aed94630490
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoGossip based eventually consistent RPC Registry. 13/9713/12
Abhishek Kumar [Thu, 31 Jul 2014 21:18:28 +0000 (14:18 -0700)]
Gossip based eventually consistent RPC Registry.

There are 2 main components
1. Bucket Store:
   Stores data in buckets. Each cluster node gets a bucket. These buckets are sync'ed
   across nodes using Gossip protocol.
   Bucket Store uses a Gossiper that implements the protocol to sync data.

2. Rpc Registry:
   This uses the bucket store to store routing table. Routing table maintains mapping of
   RPC <--> Node
   Rpc Broker uses this regitry to route rpc requests to remote nodes.

Change-Id: Ifaf8955dbf6e3074d4d2951d6f503ecc0624d141
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoMerge "Fix config-manager activator"
Tony Tkacik [Fri, 8 Aug 2014 10:07:24 +0000 (10:07 +0000)]
Merge "Fix config-manager activator"

9 years agoFix config-manager activator 05/9805/1
Maros Marsalek [Fri, 8 Aug 2014 08:49:10 +0000 (10:49 +0200)]
Fix config-manager activator

Change-Id: Ic81c28e100c0ec334f66376392c02d6fb6d7d01a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "BUG-1495: fail future when no local RPC is found"
Tony Tkacik [Fri, 8 Aug 2014 07:19:52 +0000 (07:19 +0000)]
Merge "BUG-1495: fail future when no local RPC is found"

9 years agoBug-1338: Create a grouping for order to help create generic OrderComparator in OFP 02/9802/1
Kamal Rameshan [Fri, 8 Aug 2014 03:50:54 +0000 (20:50 -0700)]
Bug-1338: Create a grouping for order to help create generic OrderComparator in OFP

Change-Id: I1a2a2df249b244081e45097afbc41c71e6ff2f76
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoMerge "BUG-997 Consult QNames of yang modules with ietf-netconf-monitoring/netconf...
Tony Tkacik [Thu, 7 Aug 2014 20:20:24 +0000 (20:20 +0000)]
Merge "BUG-997 Consult QNames of yang modules with ietf-netconf-monitoring/netconf-state/schemas"

9 years agoMerge "BUG-1423 Fix distributed datastore error in config schemas(double case child)"
Tony Tkacik [Thu, 7 Aug 2014 20:19:36 +0000 (20:19 +0000)]
Merge "BUG-1423 Fix distributed datastore error in config schemas(double case child)"

9 years agoMerge "BUG-868: migrate ListenerRegistry"
Tony Tkacik [Thu, 7 Aug 2014 20:17:21 +0000 (20:17 +0000)]
Merge "BUG-868: migrate ListenerRegistry"

9 years agoMerge "Bug 1308 - Unable to publish NodeUpdated message via NotificationService"
Tony Tkacik [Thu, 7 Aug 2014 20:05:07 +0000 (20:05 +0000)]
Merge "Bug 1308 - Unable to publish NodeUpdated message via NotificationService"

9 years agoMerge "Migrate to junit 4.11"
Tony Tkacik [Thu, 7 Aug 2014 20:02:30 +0000 (20:02 +0000)]
Merge "Migrate to junit 4.11"

9 years agoMerge "BUG-1493: do not instantiate HashSet"
Tony Tkacik [Thu, 7 Aug 2014 19:57:53 +0000 (19:57 +0000)]
Merge "BUG-1493: do not instantiate HashSet"

9 years agoMigrate to junit 4.11 70/9670/6
Robert Varga [Mon, 4 Aug 2014 20:47:39 +0000 (22:47 +0200)]
Migrate to junit 4.11

Removes the version override and drags tests into 4.11. Also reverts
29ad7ba749eac80e6514b1ca37aa850c30649b55 for a proper fix.

Change-Id: I981163ee2c1d036ab04331eeba36f24a7e6f8002
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoExpose the Raft State of a Shard and the name of it's Leader via JMX 81/9781/3
Moiz Raja [Thu, 7 Aug 2014 11:22:17 +0000 (04:22 -0700)]
Expose the Raft State of a Shard and the name of it's Leader via JMX

Change-Id: Id8b57706902e93e0021db44533622fde283d82b4
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoTune replication and stabilize tests 41/9741/5
Moiz Raja [Wed, 6 Aug 2014 11:28:43 +0000 (04:28 -0700)]
Tune replication and stabilize tests

Made following changes for replication
- Increased Heartbeat timeout to 500 milliseconds.
- Send only one entry from the replicated log to the follower in append entries

Both of these tweaks have been made to prevent election timeouts and frequent switching of leaders

Changes to tests
- Added a duration when constructing an ExpectMsg. This prevents ExpectMsg from waiting forever when
  and expected event does not occur
- Removed all Thread.sleep from the tests and replace them with waiting for a specific LogEvent this is
  a more deterministic.

Change-Id: Ie9ce0c9c73bf1b170a78879b1e2dab76f1de64df
Signed-off-by: Moiz Raja <moraja@cisco.com>