apache/cloudstack-cloudmonkeyCloudMonkey :cloud::monkey_face: 是 Apache CloudStack 的命令行界面(CLI)工具。它既可作为交互式 shell 使用,也可作为命令行工具运行,简化 Apache CloudStack 的配置与管理流程。
现代版 CloudMonkey 是用 Go 语言重写并简化的版本,兼容 Apache CloudStack 4.9 及以上版本。而用 Python 编写的遗留版 CloudMonkey 可用于 Apache CloudStack 4.0-incubating 及以上版本。
有关详细文档,请参见 Wiki。
CloudMonkey 适用于:
开发 CloudMonkey 需要:
使用 make help 查看可用构建目标:
bash$ make help all 构建程序二进制文件 test-bench 运行基准测试 test-short 仅运行简短测试 test-verbose 以详细模式运行测试并生成覆盖率报告 test-race 使用竞态检测器运行测试 check tests 运行测试 test-xml 运行测试并生成 xUnit 输出 test-coverage 运行覆盖率测试 debug 使用 dlv 运行可调试的二进制文件 lint 运行 golint fmt 对所有源文件运行 gofmt
构建并直接运行:
bash$ make run
手动构建并运行:
bash$ make all $ ./bin/cmk
构建多平台发行版本:
bash$ make dist
可通过以下邮件列表参与 CloudMonkey 相关讨论:
user 邮件列表报告问题或在 Github 提交 issueadd_component_x)~/.cmk/config(原路径 ~/.cloudmonkey/config),并引入默认 localcloud 配置文件CloudMonkey 基于 Apache 许可证 2.0 版授权,详情参见:[***]
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务