Closed eduardpo closed 1 year ago
Hi eduardpo,
Reproducing your issue is key to understand it and fix it.
Personally, I have always serialized/deserialized YANG schema nodes.
Looking forward to helping you with the issue.
Hi,
'pyang --build-rpcs' would ' Generate class bindings for the input and output of RPCs defined in each module. These are placed at the root of each module'.
If the RPC has no input nor output, there would be no classes generated for them, nothing to serialize, I think.
Closing, as there was no follow up on the issue.
Empty RPC is legal AFAIK, input/output are optional...
print(pybindIETFXMLEncoder.serialise(system_reset))
Exception:
Yang RPC:
Corresponding python binding class:
Command being used to generate bindings:
Please advise, Ed