apache / apache/cloudstack-go

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

Open
#140 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
39
Forks
47
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing GetNetworkID and GetNetworkByName to the listNetworks API request and compare the keyword and name parameters across CloudStack versions. Determine a compatibility approach for versions older than 4.22, then verify that searching by network name works with both older and newer CloudStack releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.