Skip to content

Add the Security Group for Virtual IP#3497

Open
nguyenhuukhoi wants to merge 3 commits intogophercloud:mainfrom
nguyenhuukhoi:securitygroupforvip
Open

Add the Security Group for Virtual IP#3497
nguyenhuukhoi wants to merge 3 commits intogophercloud:mainfrom
nguyenhuukhoi:securitygroupforvip

Conversation

@nguyenhuukhoi
Copy link
Copy Markdown

@github-actions github-actions bot added edit:loadbalancer This PR updates loadbalancer code semver:minor Backwards-compatible change backport-v2 This PR will be backported to v2 labels Aug 15, 2025
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 63.81%. remained the same
when pulling 2656d91 on nguyenhuukhoi:securitygroupforvip
into 7c53a81 on gophercloud:main.

Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs modification of the acceptance tests to show this feature is working as intended.
You would have to ensure the vip_sg_ids parameter is set only in newer versions of OpenStack as this is a new feature of the 2025.1 release.

VipQosPolicyID string `json:"vip_qos_policy_id,omitempty"`

// The ID of the Security Group which will apply to the Virtual IP
VipSecGroupID string `json:"vip_sg_id,omitempty"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both the linked spec and the docs say the parameter is called vip_sg_ids in plural form. A look at the code also confirms this needs to be plural.

Comment thread openstack/loadbalancer/v2/loadbalancers/requests.go Outdated
Comment thread openstack/loadbalancer/v2/loadbalancers/requests.go Outdated
@winiciusallan
Copy link
Copy Markdown
Contributor

Hi, @nguyenhuukhoi. Do you have plans to keep working on this PR? It will be a pleasure review your code to get your commits merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:loadbalancer This PR updates loadbalancer code semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants