gophercloud
gophercloud copied to clipboard
Support for filtering loadbalancer flavors
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.