On 13/05/2019 13:49, Ajay Deep Singh wrote: > Hi Robert, Hey Ajay,
> > Thank you for mail, we are going through all of them trying to understand > more on Odl. > > Regarding adding support for Yang 1.1 Action in RestConf please correct my > understanding if its wrong as explained below, Going with you suggestion for > "RESTCONF the wiring from HTTP to DOMActionService is missing (that would sit > in restconf-nb-rfc8040)". > > Steps am following : > > 1. Inject service "DOMActionService" in Rfc8040RestConfWiring.java in > restconf.nb.rfc8040 . Almost correct. You will need the equivalent of org.opendaylight.restconf.nb.rfc8040.handlers.RpcServiceHandler specialized for DOMActionService and inject that. > 2. In ServicesWrapper under restconf.nb.rfc8040.services.wrapper calling > domActionService.getExtensions().getInstance(DOMYangTextSourceProvider.class) > here we need to add new interface in MD-SAL named : > DOMYangActionTextSourceProvider extending DOMActionServiceExtension to > support new yang Model supporting action, if that the case we need to add > more code in MD-Sal is that am going in correct direction.? > 3. If above understanding is correct few changes need to be added in > mdsal-dom-sip in abstract class AbstractDOMSchemaService and more which I > need to figure out. Wrong service :) DOMSchemaService takes care of propagating SchemaContext, which services all other services -- you do not need to muck with it, as all that would be required is already present in SchemaContext (and the SchemaNode tree it holds). Regards, Robert
signature.asc
Description: OpenPGP digital signature
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev