Rpc
- class ydk.path.Rpc
Instances of this class represent a YANG rpc and are modelled as Callables. The input data node tree is used to populate the input parameters to the rpc if any. The Callable takes as a parameter the
ServiceProvider
that can execute this rpc as its parameter returning aDataNode
instance if output is available.- __call__(service_provider)
Execute/Invoke the rpc through the given service provider.
- get_input_node()
Get the input data tree.
- get_schema_node()
Get schema node for this rpc.
- Returns
Schema node associated with this rpc.
- Return type