1 计算资源 配额
nova quota-defaults
root@controller1:/var/log# nova quota-defaults
+-----------------------------+-------+
| Property | Value |
+-----------------------------+-------+
| metadata_items | 128 |
| injected_file_content_bytes | 10240 |
| ram | 51200 |
| floating_ips | 10 |
| key_pairs | 100 |
| instances | 10 |
| security_group_rules | 20 |
| injected_files | 5 |
| cores | 20 |
| fixed_ips | -1 |
| injected_file_path_bytes | 255 |
| security_groups | 10 |
+-----------------------------+-------+
列出一个租户的配额
$ nova quota-show --tenant $tenant
root@controller1:/var/log# nova quota-show --tenant 2eb66e48785045c69641e9a656de4312
+-----------------------------+-------+
| Property | Value |
+-----------------------------+-------+
| metadata_items | 128 |
| injected_file_content_bytes | 10240 |
| ram | 51200 |
| floating_ips | 10 |
| key_pairs | 100 |
| instances | 10 |
| security_group_rules | 20 |
| injected_files | 5 |
| cores | 20 |
| fixed_ips | -1 |
| injected_file_path_bytes | 255 |
| security_groups | 10 |
+-----------------------------+-------+
2 块存储配额
1 显示一个租户的配额 : cinder quota-show TENANT_NAME
2 删除 $ cinder quota-delete tenantID
3 更新 $ cinder quota-update --quotaName NewValue tenantID
3 网络配额
$ neutron net-create test_net
其余操作类似
可以通过 quantum help找到quota相关命令,