Added test-provider project. 18/3118/2
authorEd Warnicke <eaw@cisco.com>
Wed, 20 Nov 2013 01:23:28 +0000 (19:23 -0600)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 27 Nov 2013 21:19:24 +0000 (21:19 +0000)
commita754f5dfa40c8b542be1fd5d792a119c9cd97af1
tree31597a8f02a308ea0e3b2247c49c2fc8ab8c8ecc
parent7fa5597d87e332c042fc768d4bd8c67ed4250111
Added test-provider project.

This creates a bundle which:
1)  Provides a dummy listner for SalFlowService
2)  Provides an osgi command loadFlowData
that will write data to the MD-SAL for flows.

Patch 2:  Added commands for removing and modifying the
test flow.

To use, from the OSGI console type:

addFlow
modifyFlow
removeFlow

and you will see log messages indicating the dummy
rpc handler has received the rpc calls.

This basically tests the round tripping through the MD-SAL,
{add,modify,remove}Flow write data modifications for flows
to the tree, and then you see the RPC calls routed in the logs.

Very useful for testing.

Change-Id: I654e1f5a20fe9b964f1b69cebcb23d6744113112
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Some work to try to add dumping routes

Change-Id: I798c8d4e050a39f224d1ac46609fc36667bedf47
Signed-off-by: Ed Warnicke <eaw@cisco.com>
.gitignore
distribution/base/pom.xml
openflowplugin-parent/pom.xml
test-provider/pom.xml [new file with mode: 0644]
test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestActivator.xtend [new file with mode: 0644]
test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestCommandProvider.java [new file with mode: 0644]
test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestServiceProvider.xtend [new file with mode: 0644]