CPU核数:20
openstack-config --set /etc/nova/nova.conf DEFAULT quota_cores 20;
云主机个数:10
openstack-config --set /etc/nova/nova.conf DEFAULT quota_instances 10;
内存MB:51200
openstack-config --set /etc/nova/nova.conf DEFAULT quota_ram 51200;
浮动IP:10
openstack-config --set /etc/nova/nova.conf DEFAULT quota_floating_ips 10;
固定IP:-1
openstack-config --set /etc/nova/nova.conf DEFAULT quota_fixed_ips -1;
Metadata(Per Instance):128
openstack-config --set /etc/nova/nova.conf DEFAULT quota_metadata_items 128;
注入文件数:5
openstack-config --set /etc/nova/nova.conf DEFAULT quota_injected_files 128;
注入文件大小:10240字节
openstack-config --set /etc/nova/nova.conf DEFAULT quota_injected_file_content_bytes 10240;
注入文件路径大小:255字节
openstack-config --set /etc/nova/nova.conf DEFAULT quota_injected_file_path_bytes 255;
安全组:10
openstack-config --set /etc/nova/nova.conf DEFAULT quota_security_groups 255;
安全组策略:20
openstack-config --set /etc/nova/nova.conf DEFAULT quota_security_group_rules 20;
密钥对:100
openstack-config --set /etc/nova/nova.conf DEFAULT quota_key_pairs 100;
云硬盘个数:10
openstack-config --set /etc/cinder/cinder.conf DEFAULT quota_volumes 10;
云硬盘快照个数:10
openstack-config --set /etc/cinder/cinder.conf DEFAULT quota_snapshots 10;
云硬盘和快照总大小:1000GB
openstack-config --set /etc/cinder/cinder.conf DEFAULT quota_gigabytes 1000;
安全组:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_security_group 10;
安全组规则:100
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_security_group_rule 100;
公网IP:50
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_floatingip 10;
交换机:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_network 10;
端口:50
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_port 50;
路由:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_router 10;
子网:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_subnet 10;
负载均衡VIP:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_vip 10;
负载均衡池:10
openstack-config --set /etc/neutron/neutron.conf DEFAULT quota_pool 10;
本文出自 “rain” 博客,请务必保留此出处http://gushiren.blog.51cto.com/3392832/1704568
openstack Nova、Cinder、Neutron资源配额设置
原文地址:http://gushiren.blog.51cto.com/3392832/1704568