On 25/04/2019 12:11, Emmett Cox wrote:
> 
> 
> Hi everyone,

Hello,

> 
> Myself and several members of my team are investigating what changes we 
> would need to implement to allow restconf, mdsal and netconf to support 
> Yang 1.1 actions, both in a clustered and non-clustered way.

YANG Tools and MD-SAL support is there, on both DOM and Binding layers,
supported by

org.opendaylight.mdsal.dom.api.DOMActionService
org.opendaylight.mdsal.dom.api.DOMActionProviderService
org.opendaylight.mdsal.binding.api.ActionService
org.opendaylight.mdsal.binding.api.ActionProviderService

and their respective JVM-local implementations.

> To that end we've been trying to find documentation or guides regarding 
> the various ODL modules relating to restconf, mdsal and netconf and 
> determine which modules we need to change to get our use case working.
> 
> Would any of you be able to point us in the direction of anything we 
> could use to understand the modules, and where we could make a start 
> regarding the changes we'll need to make?

I am not sure about clustering support, that would be part of
controller's sal-remoterpc-connector -- which needs to hook onto the
DOMActionService/DOMActionProviderService instances available in Service
Registry. I think the gossiping protocol should support advertizing
actions without a change, but that needs to be checked out.

For NETCONF, I think the only piece missing is the translator in ...
sal-netconf-connector (and probably mdsal-netconf-connector, I always
confuse the two).

For RESTCONF, the old spec does not support actions, so there's nothing
to be done for that. For the RFC8040 implementation, I think the wiring
from HTTP to DOMActionService is missing (that would sit in
restconf-nb-rfc8040).

Regards,
Robert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to