Comment 1 for bug 1967142

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Anton:

"neutron-vpnaas" registers two quotas:
* Vpn_endpoint_groups: https://github.com/openstack/neutron-vpnaas/blob/f82e5c7415646844654ffb97c02f52541be0c906/neutron_vpnaas/extensions/vpn_endpoint_groups.py#L83
* Vpnaas: https://github.com/openstack/neutron-vpnaas/blob/f82e5c7415646844654ffb97c02f52541be0c906/neutron_vpnaas/extensions/vpnaas.py#L499

These values are present in the API. Actually "neutron" CLI commands shows it because it prints what the API call returns.

However OSC sets a static list of resources [1] for "network" quotas. Those 9 elements are in the "openstack quota list" output you printed. What you need is to improve OSC, reading what is returned in the API call and adding new elements that could be freely registered, as Neutron quota engine allows. BTW, you'll probably need to add those new parameters to [2], that is the Network Quota resource object the API is using to return the information.

I'll add OSC to this bug.

Regards.

[1]https://github.com/openstack/python-openstackclient/blob/8f07476e53c8dd9ddeb4bd13f8e186c920eba1ee/openstackclient/common/quota.py#L69-L79
[2]https://github.com/openstack/openstacksdk/blob/master/openstack/network/v2/quota.py