)]}'
{"specs/version17.0/flavor-quota.rst":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"16d9ec6481d0030426078eb25655c81d059f55f8","unresolved":true,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* project_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":50,"context_line":"    The project ID the quota is for"},{"line_number":51,"context_line":"* flavor_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":52,"context_line":"    The flavor ID the quota is for"},{"line_number":53,"context_line":"* load_balancer ``(Integer , nullable\u003dFalse)``"},{"line_number":54,"context_line":"    Quota for load_balancers"}],"source_content_type":"text/x-rst","patch_set":2,"id":"a832428b_0a139d32","line":51,"range":{"start_line":51,"start_character":28,"end_line":51,"end_character":42},"updated":"2025-09-24 15:27:37.000000000","message":"nullable\u003dTrue could be interesting if we want to have quotas when not using a flavor","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":35873,"name":"Daniel Failing","display_name":"Daniel Failing","email":"dev@danfai.de","username":"danfai"},"change_message_id":"322556214e311ef4f4b2e6d3979e822d183a703d","unresolved":true,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* project_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":50,"context_line":"    The project ID the quota is for"},{"line_number":51,"context_line":"* flavor_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":52,"context_line":"    The flavor ID the quota is for"},{"line_number":53,"context_line":"* load_balancer ``(Integer , nullable\u003dFalse)``"},{"line_number":54,"context_line":"    Quota for load_balancers"}],"source_content_type":"text/x-rst","patch_set":2,"id":"8d5c7647_dda6f416","line":51,"range":{"start_line":51,"start_character":28,"end_line":51,"end_character":42},"in_reply_to":"a832428b_0a139d32","updated":"2025-10-01 10:34:06.000000000","message":"For this we still have the other table quotas, which is by project id. An alternative could be to add a column flavor_id to the quotas table, which is by default NULL.\n(It also would mean to add quotas for all resources from day 1)","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"8f7673a867527afc576e42f1639d09c31d1ed00e","unresolved":true,"context_lines":[{"line_number":49,"context_line":"* project_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":50,"context_line":"    The project ID the quota is for"},{"line_number":51,"context_line":"* flavor_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":52,"context_line":"    The flavor ID the quota is for"},{"line_number":53,"context_line":"* load_balancer ``(Integer , nullable\u003dFalse)``"},{"line_number":54,"context_line":"    Quota for load_balancers"},{"line_number":55,"context_line":"* in_use_load_balancer ``(Integer , nullable\u003dTrue)``"}],"source_content_type":"text/x-rst","patch_set":2,"id":"806babe7_4c6b6d79","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":17},"updated":"2025-09-24 15:12:32.000000000","message":"can you explicitly write \"Octavia flavor ID\" (to avoid confusion with Nova flavors)","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":35873,"name":"Daniel Failing","display_name":"Daniel Failing","email":"dev@danfai.de","username":"danfai"},"change_message_id":"322556214e311ef4f4b2e6d3979e822d183a703d","unresolved":true,"context_lines":[{"line_number":49,"context_line":"* project_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":50,"context_line":"    The project ID the quota is for"},{"line_number":51,"context_line":"* flavor_id ``(String(36) , nullable\u003dFalse)``"},{"line_number":52,"context_line":"    The flavor ID the quota is for"},{"line_number":53,"context_line":"* load_balancer ``(Integer , nullable\u003dFalse)``"},{"line_number":54,"context_line":"    Quota for load_balancers"},{"line_number":55,"context_line":"* in_use_load_balancer ``(Integer , nullable\u003dTrue)``"}],"source_content_type":"text/x-rst","patch_set":2,"id":"59c140cf_0570b6c5","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":17},"in_reply_to":"806babe7_4c6b6d79","updated":"2025-10-01 10:34:06.000000000","message":"Improved, better like this?","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"8f7673a867527afc576e42f1639d09c31d1ed00e","unresolved":true,"context_lines":[{"line_number":55,"context_line":"* in_use_load_balancer ``(Integer , nullable\u003dTrue)``"},{"line_number":56,"context_line":"    In use load_balancers for this flavor."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Add new config option in quotas with ``per_flavor_loadbalancer_quota`` which"},{"line_number":59,"context_line":"will be used by default if nothing is set in the DB."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5c611eb8_4f716985","line":58,"range":{"start_line":58,"start_character":4,"end_line":58,"end_character":31},"updated":"2025-09-24 15:12:32.000000000","message":"why not, but I guess that admins will want to have different quota values for each flavor\n\nwhat about adding a \"default_quota\" in the flavor object?\nan admin would create a flavor for 10vCPUs amps and specify for instance \"10 LBs per project\"","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":35873,"name":"Daniel Failing","display_name":"Daniel Failing","email":"dev@danfai.de","username":"danfai"},"change_message_id":"322556214e311ef4f4b2e6d3979e822d183a703d","unresolved":true,"context_lines":[{"line_number":55,"context_line":"* in_use_load_balancer ``(Integer , nullable\u003dTrue)``"},{"line_number":56,"context_line":"    In use load_balancers for this flavor."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Add new config option in quotas with ``per_flavor_loadbalancer_quota`` which"},{"line_number":59,"context_line":"will be used by default if nothing is set in the DB."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"a7ce1dd0_0022a2b7","line":58,"range":{"start_line":58,"start_character":4,"end_line":58,"end_character":31},"in_reply_to":"5c611eb8_4f716985","updated":"2025-10-01 10:34:06.000000000","message":"This sounds good. Just to confirm, this would be part of the flavor object, not flavor_profile?\nWould you also extend the flavor object to have specific quota for e.g. listeners, pools, members?\n\nMy goal at the moment is to only use load_balancer quota, but I could see use-cases for listeners as well (e.g. global license for commercial LB solutions provided through Octavia)","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"16d9ec6481d0030426078eb25655c81d059f55f8","unresolved":true,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"REST API impact"},{"line_number":62,"context_line":"---------------"},{"line_number":63,"context_line":"Changes to the current API:"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* /lbaas/quotas/{project_id}"},{"line_number":66,"context_line":"    Add a new optional parameter ``flavor_id``, with which the code base would"}],"source_content_type":"text/x-rst","patch_set":2,"id":"f22428d5_63b200f7","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":27},"updated":"2025-09-24 15:27:37.000000000","message":"any ideas on the format of the objects returned by GET /quotas(/project_id)?\nwould it dump the usage of all the flavors in a single call?","commit_id":"add0175b3af63d140c412498875c180b68f541e9"},{"author":{"_account_id":35873,"name":"Daniel Failing","display_name":"Daniel Failing","email":"dev@danfai.de","username":"danfai"},"change_message_id":"322556214e311ef4f4b2e6d3979e822d183a703d","unresolved":true,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"REST API impact"},{"line_number":62,"context_line":"---------------"},{"line_number":63,"context_line":"Changes to the current API:"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* /lbaas/quotas/{project_id}"},{"line_number":66,"context_line":"    Add a new optional parameter ``flavor_id``, with which the code base would"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1da8b85d_f4c12a97","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":27},"in_reply_to":"f22428d5_63b200f7","updated":"2025-10-01 10:34:06.000000000","message":"Initially I thought of not being able to get all quota with one call, but rather have to iterate over all flavors if you want to get all global and flavor specific quota.\nIn order to not introduce breaking changes to the API, I would prefer not changing the format too much. Not sure if we could introduce a parameter specifying to return all flavor specific quota for a project?","commit_id":"add0175b3af63d140c412498875c180b68f541e9"}]}
