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";
                    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"
      }
}
doesn't seem to work.

Thanks and Regards,
Gobinath
_______________________________________________
openflowplugin-dev mailing list
openflowplugin-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to