On 19/04/18 14:45, Gobinath . wrote:
> Hi All,
>
>
>
> I’m developing a new Routed RPC in openflowplugin project which uses
> “NodeContextReference” in the input of the RPC(which have been used in
> many routed rpcs too).
>
> Could you suggest how to frame the input body for such RPCs which use
> such references in the input.
>
>
>
> *_Yang File:_*
>
> *module **openflow-upgrade *{
> *namespace
> **"urn:opendaylight:params:xml:ns:yang:openflowplugin:app:openflow-upgrade:service"*;
> *prefix **openflow-upgrade*;
>
> *import **opendaylight-inventory *{*prefix **inv*; *revision-date
> **"2013-08-19"*;}
>
> *rpc **finish-upgrade-reconciliation *{
> *description **"Stops the upgrade reconciliation of a
> node"*;
> *input *{
> *uses **"inv:node-context-ref"*;
defines a 'node' leaf, which is an instance-identifer.
> *leaf **nodeId *{
> *description **"Node for which the upgrade
> reconciliation has to be stopped"*;
> *type **uint64*;
> }
> }
>
> *output *{
> *leaf **result *{
> *type **boolean*;
> }
> }
> }
> }
>
>
>
> The plain format
>
> {
>
> "input" : {
>
> "nodeId": "openflow:141097977278828"
there is no 'node' leaf present.
Regards,
Robert
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
