** Project changed: neutron => python-neutronclient -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1599061
Title: Some resources not listed in the help msg of quota-update command and updating these resources's quota of a given tenant returned a new tenant's quota Status in python-neutronclient: New Bug description: Two questions 1)Some resources not listed in the help msg of quota-update command,these resources are as follows: firewall firewall_policy firewall_rule rbac_policy subnetpool 2)Updating a given tenant's quotas of these resources above,Creating a new tenant's quota,the tenant id is the resource's limit. [root@localhost devstack]# neutron quota-list +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | firewall | firewall_policy | firewall_rule | floatingip | health_monitor | member | network | pool | port | rbac_policy | router | security_group | security_group_rule | subnet | subnetpool | tenant_id | vip | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | 10 | 10 | 100 | 50 | -1 | -1 | 10 | 20 | 50 | 10 | 10 | 10 | 100 | 10 | -1 | aced7a29b | 10 | | | | | | | | | | | | | | | | | b134dec82 | | | | | | | | | | | | | | | | | | 307a880d1 | | | | | | | | | | | | | | | | | | cc542 | | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ [root@localhost devstack]# [root@localhost devstack]# neutron help quota-update usage: neutron quota-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id tenant-id] [--network networks] [--subnet subnets] [--port ports] [--router routers] [--floatingip floatingips] [--security-group security_groups] [--security-group-rule security_group_rules] [--vip vips] [--pool pools] [--member members] [--health-monitor health_monitors] Define tenant's quotas not to use defaults. optional arguments: -h, --help show this help message and exit --request-format {json} DEPRECATED! Only JSON request format is supported. --tenant-id tenant-id The owner tenant ID. --network networks The limit of networks. --subnet subnets The limit of subnets. --port ports The limit of ports. --router routers The limit of routers. --floatingip floatingips The limit of floating IPs. --security-group security_groups The limit of security groups. --security-group-rule security_group_rules The limit of security groups rules. --vip vips The limit of vips. --pool pools The limit of pools. --member members The limit of pool members. --health-monitor health_monitors The limit of health monitors. output formatters: output formatter options -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} the output format, defaults to table -c COLUMN, --column COLUMN specify the column(s) to include, can be repeated table formatter: --max-width <integer> Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. json formatter: --noindent whether to disable indenting the JSON shell formatter: a format a UNIX shell can parse (variable="value") --prefix PREFIX add a prefix to all variable names [root@localhost devstack]# [root@localhost devstack]# neutron quota-update --tenant-id aced7a29bb134dec82307a880d1cc542 --subnetpool 2 +---------------------+-------+ | Field | Value | +---------------------+-------+ | firewall | 10 | | firewall_policy | 10 | | firewall_rule | 100 | | floatingip | 50 | | health_monitor | -1 | | member | -1 | | network | 10 | | pool | 10 | | port | 50 | | rbac_policy | 10 | | router | 10 | | security_group | 10 | | security_group_rule | 100 | | subnet | 10 | | subnetpool | 1 | | vip | 10 | +---------------------+-------+ [root@localhost devstack]# neutron quota-list +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | firewall | firewall_policy | firewall_rule | floatingip | health_monitor | member | network | pool | port | rbac_policy | router | security_group | security_group_rule | subnet | subnetpool | tenant_id | vip | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | 10 | 10 | 100 | 50 | -1 | -1 | 10 | 10 | 50 | 10 | 10 | 10 | 100 | 10 | 1 | 2 | 10 | | 10 | 10 | 100 | 50 | -1 | -1 | 10 | 20 | 50 | 10 | 10 | 10 | 100 | 10 | -1 | aced7a29b | 10 | | | | | | | | | | | | | | | | | b134dec82 | | | | | | | | | | | | | | | | | | 307a880d1 | | | | | | | | | | | | | | | | | | cc542 | | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ [root@localhost devstack]# [root@localhost devstack]# neutron quota-list +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | firewall | firewall_policy | firewall_rule | floatingip | health_monitor | member | network | pool | port | rbac_policy | router | security_group | security_group_rule | subnet | subnetpool | tenant_id | vip | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ | 1 | 10 | 100 | 50 | -1 | -1 | 10 | 10 | 50 | 10 | 10 | 10 | 100 | 10 | -1 | 300 | 10 | | 10 | 10 | 100 | 50 | -1 | -1 | 10 | 20 | 50 | 10 | 10 | 10 | 100 | 10 | 1 | aced7a29b | 10 | | | | | | | | | | | | | | | | | b134dec82 | | | | | | | | | | | | | | | | | | 307a880d1 | | | | | | | | | | | | | | | | | | cc542 | | +----------+-----------------+---------------+------------+----------------+--------+---------+------+------+-------------+--------+----------------+---------------------+--------+------------+-----------+-----+ [root@localhost devstack]# To manage notifications about this bug go to: https://bugs.launchpad.net/python-neutronclient/+bug/1599061/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp