controller.git
9 years agoMerge "BUG-1568 Getting rid of StreamGobller from netconf ssh client."
Tony Tkacik [Thu, 21 Aug 2014 09:09:01 +0000 (09:09 +0000)]
Merge "BUG-1568 Getting rid of StreamGobller from netconf ssh client."

9 years agoMerge "BUG-1541 Make EXI and clientConnectTimeout configurable in testtool."
Tony Tkacik [Thu, 21 Aug 2014 09:08:47 +0000 (09:08 +0000)]
Merge "BUG-1541 Make EXI and clientConnectTimeout configurable in testtool."

9 years agoMerge "Fix race condition in SSH NETCONF server"
Tony Tkacik [Thu, 21 Aug 2014 09:08:33 +0000 (09:08 +0000)]
Merge "Fix race condition in SSH NETCONF server"

9 years agoMerge "Patch to eliminate sleeps in RemoteRpc tests"
Moiz Raja [Thu, 21 Aug 2014 07:43:36 +0000 (07:43 +0000)]
Merge "Patch to eliminate sleeps in RemoteRpc tests"

9 years agoBUG-1568 Getting rid of StreamGobller from netconf ssh client. 03/10103/2
Maros Marsalek [Wed, 20 Aug 2014 13:11:35 +0000 (15:11 +0200)]
BUG-1568 Getting rid of StreamGobller from netconf ssh client.

We have another thread in SshClientAdapter that works as StreamGobller
http://www.ganymed.ethz.ch/ssh2/FAQ.html#blocking

Change-Id: I3f61b14cb22396d8b5898028bd83f62d98c6866d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "NETCONF scalability: share instances"
Tony Tkacik [Thu, 21 Aug 2014 07:20:59 +0000 (07:20 +0000)]
Merge "NETCONF scalability: share instances"

9 years agoMerge "BUG-1493: split off recursion tracking and rework it"
Tony Tkacik [Thu, 21 Aug 2014 07:18:03 +0000 (07:18 +0000)]
Merge "BUG-1493: split off recursion tracking and rework it"

9 years agoMerge "BUG-1493: Add test suite documentation"
Tony Tkacik [Thu, 21 Aug 2014 07:17:48 +0000 (07:17 +0000)]
Merge "BUG-1493: Add test suite documentation"

9 years agoPatch to eliminate sleeps in RemoteRpc tests 84/10084/3
Abhishek Kumar [Wed, 20 Aug 2014 01:49:06 +0000 (18:49 -0700)]
Patch to eliminate sleeps in RemoteRpc tests

Instead of using sleeps to wait for message processing to complete
the tests now installs a probe on the subject(actor). Subject(actor) sends
message to the probe when it processes message. The test monitors the
probe for specific messages and knows when the message has been
processed by the subject(actor).

Patch#2: Fixed probe creation and updated assertions

Change-Id: I10652b59e4138adbe6c6821d4411b06e1b3f1598
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoSmall fixes to feature files. 80/10080/5
Ed Warnicke [Tue, 19 Aug 2014 23:43:54 +0000 (18:43 -0500)]
Small fixes to feature files.

As it turns out... the default artifact type
for config files is jar from commons/opendaylight/pom.xml

This is not corrected there because jar *is* the thing that
is used by the legacy distributions...

But if we don't correct it here, if you try to test a feature
against an empty .m2... the test will fail.

(Yes, this is how I spend my evenings, emtpying out my .m2
directory :( )

Change-Id: Icd24a7a2437f999da3f0c10618fead203b726c62
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Increasing the time-out to allow for message processing."
Moiz Raja [Wed, 20 Aug 2014 18:51:33 +0000 (18:51 +0000)]
Merge "Increasing the time-out to allow for message processing."

9 years agoBUG-1493: split off recursion tracking and rework it 62/10062/5
Robert Varga [Thu, 14 Aug 2014 09:13:19 +0000 (11:13 +0200)]
BUG-1493: split off recursion tracking and rework it

This patch reworks tracking of recursion state into a separate class.
This allows us to unify the four call sites and provide a simple
heuristic. A state object is allocated each time we enter a new child
and its buidlers are collected when we emerge from it -- resulting in
more accurate event reporting, eliminating false positives.

Further optimization allows us to stop recursing as soon as we know no
listeners are affected by the outcome at a particular level.

Change-Id: I2be29cebb79892c85a22e79b18c2e62f77bfb7d4
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1493: Add test suite documentation 61/10061/4
Robert Varga [Sat, 16 Aug 2014 00:23:50 +0000 (02:23 +0200)]
BUG-1493: Add test suite documentation

This patch adds some sorely needed documentation.

Change-Id: I2cdf5122ba861b083203f82336300736e824ca3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG 932 - Swagger HTTP POST contains incorrect object"
Devin Avery [Wed, 20 Aug 2014 13:14:36 +0000 (13:14 +0000)]
Merge "BUG 932 - Swagger HTTP POST contains incorrect object"

9 years agoNETCONF scalability: share instances 00/10100/1
Robert Varga [Wed, 20 Aug 2014 12:29:07 +0000 (14:29 +0200)]
NETCONF scalability: share instances

Scalability testing shows that the netconf session code:
- retains XML document reference
- does not reuse QName instances

Change-Id: I6b58355e3fa74d67872d665d0f8dc2d16abe156c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1541 Make EXI and clientConnectTimeout configurable in testtool. 97/10097/1
Maros Marsalek [Wed, 20 Aug 2014 11:28:34 +0000 (13:28 +0200)]
BUG-1541 Make EXI and clientConnectTimeout configurable in testtool.

Change-Id: I0152a78691b87a2d2674b0ecf0e4844f0ca9b35b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoFix race condition in SSH NETCONF server 96/10096/1
Maros Marsalek [Wed, 20 Aug 2014 09:32:44 +0000 (11:32 +0200)]
Fix race condition in SSH NETCONF server

Change-Id: I205a1670b30dcfad4230418c133fd87e069e15e6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Fix exception when netconf device provides YIN schemas"
Tony Tkacik [Wed, 20 Aug 2014 07:16:33 +0000 (07:16 +0000)]
Merge "Fix exception when netconf device provides YIN schemas"

9 years agoBUG 932 - Swagger HTTP POST contains incorrect object 68/9068/10
Jozef Gloncak [Wed, 16 Jul 2014 12:03:20 +0000 (14:03 +0200)]
BUG 932 - Swagger HTTP POST contains incorrect object

POST link now contains specific JSON structure which ends with POST suffix
and contains all containers and lists which are direct subchildren of
current node (URI link). It is list of possible objects which can be used
in POST request. Concretelly are these objects specified below this *POST
JSON object and are also all specified in Parameters section of GUI POST
URI link with ** prefix. Two stars (**) mean that only one of parameters
with ** prefix should be specified.

Change-Id: I3acdfd1f181fbef7cca0060d534b706d934bb1e3
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoIncreasing the time-out to allow for message processing. 83/10083/1
Abhishek Kumar [Wed, 20 Aug 2014 01:45:09 +0000 (18:45 -0700)]
Increasing the time-out to allow for message processing.

Change-Id: I2e6b71ac6be262c604dfdaf95373d2c3f96e4537
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoAdded a missing dependency to codahale's metrics 75/10075/1
Abhishek Kumar [Tue, 19 Aug 2014 18:21:33 +0000 (11:21 -0700)]
Added a missing dependency to codahale's metrics
package in remoterpc bundle

Change-Id: Ieb06010fa56686d46d95625dde3249cee25354b2
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoMerge "Bug 1534: Changed blocking calls to async in dist data store"
Moiz Raja [Tue, 19 Aug 2014 16:55:29 +0000 (16:55 +0000)]
Merge "Bug 1534: Changed blocking calls to async in dist data store"

9 years agoMerge "Custom mailbox that is bounded and instrumented."
Moiz Raja [Tue, 19 Aug 2014 16:54:17 +0000 (16:54 +0000)]
Merge "Custom mailbox that is bounded and instrumented."

9 years agoMerge "Moving common code out of remote rpc to clustering common bundle"
Moiz Raja [Tue, 19 Aug 2014 16:53:44 +0000 (16:53 +0000)]
Merge "Moving common code out of remote rpc to clustering common bundle"

9 years agoMerge "Turn on feature testing for those features that pass"
Devin Avery [Tue, 19 Aug 2014 14:24:06 +0000 (14:24 +0000)]
Merge "Turn on feature testing for those features that pass"

9 years agoMerge "Moved the resources to a separate plugin so they can be used by others."
Devin Avery [Tue, 19 Aug 2014 14:23:14 +0000 (14:23 +0000)]
Merge "Moved the resources to a separate plugin so they can be used by others."

9 years agoMerge "Revert "Added the Buffer-Id to packet-in.""
Ed Warnicke [Tue, 19 Aug 2014 13:39:19 +0000 (13:39 +0000)]
Merge "Revert "Added the Buffer-Id to packet-in.""

9 years agoRevert "Added the Buffer-Id to packet-in." 60/10060/1
Ed Warnicke [Tue, 19 Aug 2014 11:17:33 +0000 (11:17 +0000)]
Revert "Added the Buffer-Id to packet-in."

This reverts commit 41a6be9bc180cd81e24e5872ca0682e15b37a7f6.

This revert was because it *appears* this patch is breaking integration (not sure how yet).

Change-Id: I1daf9b240c8c31a17e8b4a3f7fc5d20186a6cd0e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix exception when netconf device provides YIN schemas 52/9852/7
Maros Marsalek [Mon, 11 Aug 2014 09:45:38 +0000 (11:45 +0200)]
Fix exception when netconf device provides YIN schemas

Change-Id: I8397b709f2202e76f8b25915563482c8d05ee83b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Added the Buffer-Id to packet-in."
Ed Warnicke [Tue, 19 Aug 2014 04:52:33 +0000 (04:52 +0000)]
Merge "Added the Buffer-Id to packet-in."

9 years agoCustom mailbox that is bounded and instrumented. 73/9973/6
Abhishek Kumar [Fri, 15 Aug 2014 06:15:28 +0000 (23:15 -0700)]
Custom mailbox that is bounded and instrumented.

This is for use with Akka actors. It enables monitoring
of actor's mailbox size via JMX.

Change-Id: Ic1e478e4411f53ff0239d316a1ca02eaa80360ed
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
9 years agoTurn on feature testing for those features that pass 47/10047/3
Ed Warnicke [Mon, 18 Aug 2014 18:08:42 +0000 (13:08 -0500)]
Turn on feature testing for those features that pass

(includes a fix for features/config)

From this point onward, those features should
break the build if they are broken.

Change-Id: I9eecdabe2e7556a5d60a720f86d7a5e78421b6ef
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMoved the resources to a separate plugin so they can be 61/9861/9
Ed Warnicke [Mon, 11 Aug 2014 18:28:20 +0000 (13:28 -0500)]
Moved the resources to a separate plugin so they can be
used by others.

The idea here would be to allow the projects to build
their own local runnable instances, as well as integration,
while keeping things in sync.

A couple of notes:
1)  Please be patient, this is a pull apart of work to
get features working in general, so there may be
some extra things in commons/opendaylight/pom.xml
for that are for that follow on patch.  Mea culpa.

2)  I created an opendaylight-karaf-empty distribution
that *just* pulls in the resources to be used
for feature testing (see next patch)

Change-Id: Id4816f7083cedde8fe1e1ff2aaa58d581d45c8ab
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoPropogating cohort failure back to calling actor 75/9975/7
Basheeruddin Ahmed [Fri, 15 Aug 2014 08:11:16 +0000 (01:11 -0700)]
Propogating cohort failure back to calling actor

Created new ThreePhaseCommitCohortFailureTest negative test cases

patch 2: updated based on Tom's code review comments
patch 3: reformatted Shard class
patch 4: minor comments taken care of.
patch 5: review comments taken care of
patch 6/7: getSender/getSelf issue fixed
Change-Id: I403d8e7cbf44739b16a21345c645b7b66f9f8ac6
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoMoving common code out of remote rpc to clustering common bundle 01/10001/3
Harman Singh [Sat, 16 Aug 2014 00:50:58 +0000 (17:50 -0700)]
Moving common code out of remote rpc to clustering common bundle

Change-Id: Iad469f809ac55b2d873ff4d48e912ad66184c68d
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoMerge "Bug 1430: Obtain config params from config system"
Devin Avery [Mon, 18 Aug 2014 15:28:25 +0000 (15:28 +0000)]
Merge "Bug 1430: Obtain config params from config system"

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 agoBug 1534: Changed blocking calls to async in dist data store 65/9965/7
tpantelis [Thu, 14 Aug 2014 07:03:47 +0000 (03:03 -0400)]
Bug 1534: Changed blocking calls to async in dist data store

Changed the read and commit methods to use async akka actor calls instead of
submitting tasks to a ListeningExecutorService that do blocking akka
calls. This obviates the need for the ListeningExecutorService.

Change-Id: I7a3f369917431067ad1817a3ab53a358bc21f123
Signed-off-by: tpantelis <tpanteli@brocade.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 agoAdded the Buffer-Id to packet-in. 68/9968/1
André Martins [Fri, 15 Aug 2014 02:10:08 +0000 (03:10 +0100)]
Added the Buffer-Id to packet-in.

Acordingly with OF-spec Packet-In have a Buffer-Id.

Change-Id: I93a1007a48d1d29c34d981ef6965b3062ad8fc4b
Signed-off-by: André Martins <aanm@ua.pt>
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 1430: Obtain config params from config system 05/9905/2
tpantelis [Sat, 9 Aug 2014 02:38:04 +0000 (22:38 -0400)]
Bug 1430: Obtain config params from config system

This is a follow-up patch to obtain the various data store executor
config params from the config system intsead of system properties.

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