gophercloud icon indicating copy to clipboard operation
gophercloud copied to clipboard

Support for filtering loadbalancer flavors

Open pawcykca opened this issue 9 months ago • 0 comments

The OpenStack Octavia API v2 includes the support for filtering flavors by their name and status (enabled/disabled) as below:

GET /v2.0/lbaas/flavors?name=name
GET /v2.0/lbaas/flavors?enabled=True
GET /v2.0/lbaas/flavors?enabled=False

Currently, Gophercloud doesn't support such filtering: https://github.com/gophercloud/gophercloud/blob/master/openstack/loadbalancer/v2/flavors/requests.go#L17-L20

It would be nice to implement this in Gophercloud to be able to list only the flavors we need/are looking for.

pawcykca avatar May 18 '24 20:05 pawcykca