Comments

I wrote a sample test program following the toaster example. ( no RPC's yet). but the deployment to MD-SAL is failing. Any inputs ?
014-05-22 18:47:45.594 PDT [config-pusher] ERROR o.o.c.l.b.i.UncaughtExceptionPolicy - Thread Thread[config-pusher,5,main] died because of an uncaught exception
Not enough capabilities for ConfigSnapshot{configSnapshot='<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"><module><type xmlns:mediation="urn:opendaylight:params:xml:ns:yang:controller:config:mediation-provider:impl">
mediation:mediation-provider-impl
</type><name>mediation-provider-impl</name><data-broker><type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type><name>binding-data-broker</name>
</data-broker>
</mod<>

It is a bit high level and really only creates a singleton service in ODL (which is only so useful). But we explain in detail how things work, how code gets generated and such.

2) Then I would move on to checking out this example that is hot off the presses (and is still looking for input). Check out this gerrit ticket: https://git.opendaylight.org/gerrit/#/c/7249/ . This example illustrates more of what you are looking for (but may be confusing without some of the background provided in the toaster step-by-step, including how you interact with RESTCONF [the north bound API]).

If you have any questions feel free to reach out on the controller dev e-mail list or on more questions here.