add support for servers resouces quota for instance

Registered by Yaguang Tang

libvirt can use tc and cgroup to implement resources quota such as cpu blkio ,network traffic .
all these feathers are essential for public cloud .

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Low
Drafter:
Yaguang Tang
Direction:
Approved
Assignee:
Yaguang Tang
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Yaguang Tang
Completed by
Yaguang Tang

Related branches

Sprints

Whiteboard

Since not all of the code is up for review for this at this point, I'm removing it from the grizzly plan. --Russell

draft to associate cgroup cpu,blkio params such as cpu.shares cpu.cfs_quota_us with a specified instane type through the instance_type_extra_specs table.

Gerrit topic: https://review.openstack.org/#q,topic:bp/instance-resource-quota,n,z

Addressed by: https://review.openstack.org/14151
    Add support for Server CPU Bandwidth IO quota.

wiki http://wiki.openstack.org/InstanceResourceQuota

Gerrit topic: https://review.openstack.org/#q,topic:bp/quota-instance-resource,n,z

Addressed by: https://review.openstack.org/22103
    Add XML schema support for bp quota-instance-resource.

Addressed by: https://review.openstack.org/22104
    Add support for instance vif traffic control.

Addressed by: https://review.openstack.org/22105
    Add support for instance disk IO control.

Addressed by: https://review.openstack.org/22106
    Add support for instance CPU consumption control.

Addressed by: https://review.openstack.org/141736
    Add support for instance Mem consumption control

(?)

Work Items