Quota support limit ressources by project

 o Quick Setup :

Quota is not enabled by default, unless QUOTA section
is set in API-server configuration file (/etc/contrail/api_server.conf)
Configuration files

Example : limit to 10 virtual-network per project as default

[QUOTA]
virtual-network = 10

 o Ressources limits implementation :

Project object contain a new properties 'quota'
'quota' is and k,v containing the ressource limitation
per object type, reflecting the configuration file

QuotaHelper.default_quota hashtable can be modify the developer to change the default quota on new objects.

Obviously IDL and Cassandra database do the job to make that perssistant and configurable for each project.

If limit are exceeded, basically during a REST POST request
An HTTP 403 (Forbidden) will be returned containing : "quota limit (<current limit>) exceeded for resource <object type>"

Change-Id: Ia65fd599a24412b97cf8eb32f7a9c0b9b276a2d3
Signed-off-by: Nicolas PLANEL <nicolas.planel@enovance.com>
Merge "Quota support limit ressources by project"