apache / apache/cloudstack-go

Breaking change in v2.19.0 in GetNetworkID for CloudStack versions < 4.22

未关闭
#140 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
39
派生
47
PR 合并指标
30 天内没有已合并 PR

描述

In version 2.19.0 `GetNetworkID` was changed to use `name` instead of `keyword` for searching networks by name.

This broke backwards compatibility for CloudStack versions older than 4.22, which are not aware of the `name` parameter of the `listNetworks` API.

The following functions are affected:

* `GetNetworkID`
* `GetNetworkByName`

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪 GetNetworkID 和 GetNetworkByName,直到 listNetworks API 请求,并比较不同 CloudStack 版本中的 keyword 和 name 参数。确定针对早于 4.22 的版本的兼容性方案,然后验证按网络名称搜索在较旧和较新的 CloudStack 发行版中都能正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。