Public bug reported: I can't find a way to set up VPN quotas using the CLI tools: neither the openstack CLI nor deprecated neutron CLI has this feature.
I can only update VPN quotas using a direct API request (e.g. via curl). And can only list VPN quotas using neutron CLI tool. [root@node4578 ~]# curl -ks -H "x-auth-token: $token" -X PUT https://192.168.1.10:9696/v2.0/quotas/e28d46f9ce084b21a163f72ce1a49adf -d '{"quota": {"ipsec_site_connection": 5}}' {"quota": {"subnet": -1, "ikepolicy": -1, "subnetpool": -1, "network": -1, "ipsec_site_connection": 5, "endpoint_group": -1, "ipsecpolicy": -1, "security_group_device": -1, "security_group_rule": -1, "vpnservice": -1, "floatingip": -1, "security_group": -1, "router": -1, "rbac_policy": -1, "port": -1}} [root@node4578 ~]# [root@node4578 ~]# neutron quota-show e28d46f9ce084b21a163f72ce1a49adf neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +-----------------------+-------+ | Field | Value | +-----------------------+-------+ | endpoint_group | -1 | | floatingip | -1 | | ikepolicy | -1 | | ipsec_site_connection | 5 | | ipsecpolicy | -1 | | network | -1 | | port | -1 | | rbac_policy | -1 | | router | -1 | | security_group | -1 | | security_group_device | -1 | | security_group_rule | -1 | | subnet | -1 | | subnetpool | -1 | | vpnservice | -1 | +-----------------------+-------+ [root@node4578 ~]# openstack quota list --network --detail --project e28d46f9ce084b21a163f72ce1a49adf +----------------------+--------+----------+-------+ | Resource | In Use | Reserved | Limit | +----------------------+--------+----------+-------+ | subnets | 0 | 0 | -1 | | routers | 0 | 0 | -1 | | security_group_rules | 0 | 0 | -1 | | subnet_pools | 0 | 0 | -1 | | security_groups | 0 | 0 | -1 | | rbac_policies | 0 | 0 | -1 | | floating_ips | 0 | 0 | -1 | | networks | 0 | 0 | -1 | | ports | 0 | 0 | -1 | +----------------------+--------+----------+-------+ [root@node4578 ~]# ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1967142 Title: No way to set quotas for neutron-vpnaas resources using openstack CLI tool Status in neutron: New Bug description: I can't find a way to set up VPN quotas using the CLI tools: neither the openstack CLI nor deprecated neutron CLI has this feature. I can only update VPN quotas using a direct API request (e.g. via curl). And can only list VPN quotas using neutron CLI tool. [root@node4578 ~]# curl -ks -H "x-auth-token: $token" -X PUT https://192.168.1.10:9696/v2.0/quotas/e28d46f9ce084b21a163f72ce1a49adf -d '{"quota": {"ipsec_site_connection": 5}}' {"quota": {"subnet": -1, "ikepolicy": -1, "subnetpool": -1, "network": -1, "ipsec_site_connection": 5, "endpoint_group": -1, "ipsecpolicy": -1, "security_group_device": -1, "security_group_rule": -1, "vpnservice": -1, "floatingip": -1, "security_group": -1, "router": -1, "rbac_policy": -1, "port": -1}} [root@node4578 ~]# [root@node4578 ~]# neutron quota-show e28d46f9ce084b21a163f72ce1a49adf neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +-----------------------+-------+ | Field | Value | +-----------------------+-------+ | endpoint_group | -1 | | floatingip | -1 | | ikepolicy | -1 | | ipsec_site_connection | 5 | | ipsecpolicy | -1 | | network | -1 | | port | -1 | | rbac_policy | -1 | | router | -1 | | security_group | -1 | | security_group_device | -1 | | security_group_rule | -1 | | subnet | -1 | | subnetpool | -1 | | vpnservice | -1 | +-----------------------+-------+ [root@node4578 ~]# openstack quota list --network --detail --project e28d46f9ce084b21a163f72ce1a49adf +----------------------+--------+----------+-------+ | Resource | In Use | Reserved | Limit | +----------------------+--------+----------+-------+ | subnets | 0 | 0 | -1 | | routers | 0 | 0 | -1 | | security_group_rules | 0 | 0 | -1 | | subnet_pools | 0 | 0 | -1 | | security_groups | 0 | 0 | -1 | | rbac_policies | 0 | 0 | -1 | | floating_ips | 0 | 0 | -1 | | networks | 0 | 0 | -1 | | ports | 0 | 0 | -1 | +----------------------+--------+----------+-------+ [root@node4578 ~]# To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1967142/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

