You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/12/06 19:44:57 UTC
[GitHub] rhtyd commented on issue #2610: Autogenerate marvin wrapper files
for external plugins
rhtyd commented on issue #2610: Autogenerate marvin wrapper files for external plugins
URL: https://github.com/apache/cloudstack/issues/2610#issuecomment-445004476
It's currently possible to use marvin's codegenerator against a live running mgmt server's unauthenticated port to generate code. This is from tools/marvin/marvin:
```
python codegenerator.py -h
Usage: codegenerator.py [options]
Options:
-h, --help show this help message and exit
-o OUTPUT, --output=OUTPUT
The path to the generated code entities, default is .
-s SPEC, --specfile=SPEC
The path and name of the api spec xml file, default is
/etc/cloud/cli/commands.xml
-e ENDPOINT, --endpoint=ENDPOINT
The endpoint mgmt server (with open 8096) where apis
are discovered, default is localhost
```
Closing this one as the current way of code generation is shared. If you've a specific use-case or need, please re-submit a ticket or reopen this one with more details. Thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services