Github user bhaisaab commented on the pull request:
https://github.com/apache/cloudstack-cloudmonkey/pull/2#issuecomment-69530987
Hi Ian (@imduffy15),
Sounds great, I think we can do that - use cloudmonkey in a bash script to
setup resources using simulator. I'm confused by this PR - if you want to test
CloudStack, should this be on the CloudStack repo? To test CloudMonkey we can
mock a fake mgmt server and use a standard set of queries to check
cloudmonkey's output as it receives known json result from the fake mgmt server.
On this page I've shared an example to deploy a basic zone using
cloudmonkey as a bash tool:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool
Using jq or sed/awk/grep we can parse the result from cloudmonkey (I prefer
json output these days and use jq).
Regards.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---