Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSX-T Edge Gateway QoS (rate limiting) support #563

Merged
merged 6 commits into from
Apr 13, 2023

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Apr 5, 2023

Closes #472

This PR adds two things:

  • Gateway QoS profile lookup functions GetAllNsxtEdgeGatewayQosProfiles and GetNsxtEdgeGatewayQosProfileByDisplayName
  • NSX-T Edge Gateway Qos (rate limiting) configuration functions NsxtEdgeGateway.GetQoS and
    NsxtEdgeGateway.UpdateQoS

Note. This feature is supported on VCD 10.3.2+ and

Testing

Testing requires Gateway QoS profiles pre-created in NSX-T manager therefore there is a new GatewayQosProfile field in TestConfig struct.

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius changed the title Edge gateway rate limiting support NSX-T Edge Gateway QoS (rate limiting) support Apr 6, 2023
@Didainius Didainius marked this pull request as ready for review April 6, 2023 06:44
@Didainius Didainius removed the request for review from dataclouder April 6, 2023 06:46
Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

LGTM!

@Didainius Didainius merged commit 20d6b67 into vmware:main Apr 13, 2023
@Didainius Didainius deleted the edge-rate-limit branch April 13, 2023 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edge QoS profile switching (rate limiting)
5 participants