TAPI icon indicating copy to clipboard operation
TAPI copied to clipboard

running yang2swag.sh fails

Open damianoneill opened this issue 5 years ago • 0 comments

When running the script it expects another project to be checkout out at ../EAGLE with the folder ../EAGLE/YangJsonTools

Looking through the OpenNetworkFoundation group on GitHub shows the following projects

https://github.com/OpenNetworkingFoundation?q=EAGLE&type=&language=

  • EagleUmlCommon
  • EagleUmlYang
  • EagleYangUml
  • EagleYangOpenApi
  • EagleUmlOpenAPI

None of these contains a folder called YangJsonTools, can you provide a pointer to this folder?

$ sh yang2swag.sh
Generating SWAGGER files from YANG files
Generating [email protected] from ./YANG//[email protected]
Usage: pyang [options] [<filename>...]

Validates the YANG module in <filename> (or stdin), and all its dependencies.

pyang: error: no such option: --generate-rpc
Generating [email protected] from ./YANG//[email protected]
Usage: pyang [options] [<filename>...]

damianoneill avatar Apr 30 '20 07:04 damianoneill