Fix agent crash on Xen platform triggered due to creation of VN object for LinkLocalVN. Added UT for the same
Change-Id: Iff50a95187bc72456b7ddc90c2797b648828040d
-Populate source and destination VN even for short flow whenever that information can be determined from routes. Currently flows which are marked as short because of absense of routes have Source and Destination VN as unknown.
Added UT and updated test cases accordingly.
-Also convert LOG to cout for cases where Logging is still not initialized.
Change-Id: Ifcfc1f52171785c3b78b26756b53aca9d65264f0
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>
Syntax cleanup

Change-Id: Idf6eb30ffbf4f764322200f2a43a4cee4c2e2d7a
Merge "-Populate source and destination VN even for short flow whenever that information can be determined from routes. Currently flows which are marked as short because of absense of routes have Source and Destination VN as unknown. Added UT and updated test cases accordingly. -Also convert LOG to cout for cases where Logging is still not initialized. Change-Id: Ifcfc1f52171785c3b78b26756b53aca9d65264f0"
Merge "Syntax cleanup"
Merge "Fix agent crash on Xen platform triggered due to creation of VN object for LinkLocalVN. Added UT for the same Change-Id: Iff50a95187bc72456b7ddc90c2797b648828040d"
Merge "Quota support limit ressources by project"