Fix agent crash on Xen platform triggered due to creation of VN object for LinkLocalVN. Added UT for the same
Change-Id: Iff50a95187bc72456b7ddc90c2797b648828040d
Handle the following sequence of events correctly in Agent UVE code
--VM Disassociation from VMI
--VM Deletion
--VM Addition
--VM Reassociation to same VMI
(Because VM gets deleted and re-added, store VM UUID instead of VM pointer as metadata on interface entry)

Change-Id: I453c1eec392136c9a437c326e06f2dfd7defd765
-Pick interface admin status from vm interface configuration (part of id-perms attribute) and use it as one of the criteria for evaluating interface's active/inactive status.
-Display admin_state of interface in agent introspect page for interface.
-Add UT
Change-Id: I10127a7711022607c214b2350026be67c8c08898
Add DNS port as a config field in the ini file

Change-Id: Ie3798528bd55aeaaa05e78fc158cb8119086d536
-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
Accomodate change in API behavior

Change-Id: Ia994582370cbfe16548fb431a1dbf0d601692028
1. Extract IPv4 address from standard port group attached to contrail
   vrouter VM as vRouter IP address to be used to send port attach
   and detach notifications
2. Ignore contrail vrouter VM since it does not need to be reflected
   in the VNC DB
3. Ignore distributed virtual portgroups attached to contrail dvswitch
   that do not have a PVLAN spec attached since those do not need
   to be reflected in the VNC DB

Change-Id: I1959a41eaebbd43a26e1161c4d8950e72e892818
Merge "Handle the following sequence of events correctly in Agent UVE code --VM Disassociation from VMI --VM Deletion --VM Addition --VM Reassociation to same VMI (Because VM gets deleted and re-added, store VM UUID instead of VM pointer as metadata on interface entry)"
Merge "-Pick interface admin status from vm interface configuration (part of id-perms attribute) and use it as one of the criteria for evaluating interface's active/inactive status. -Display admin_state of interface in agent introspect page for interface. -Add UT Change-Id: I10127a7711022607c214b2350026be67c8c08898"
Merge "Add DNS port as a config field in the ini file"
Merge "1. Extract IPv4 address from standard port group attached to contrail    vrouter VM as vRouter IP address to be used to send port attach    and detach notifications 2. Ignore contrail vrouter VM since it does not need to be reflected    in the VNC DB 3. Ignore distributed virtual portgroups attached to contrail dvswitch    that do not have a PVLAN spec attached since those do not need    to be reflected in the VNC DB"
Move ifmap dependency tracker to the ifmap library so it can be used in the agent

Change-Id: I66393602dcb263e3e325adb25f22f4597d2d6225
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 "Accomodate change in API behavior"
Avoid unecessary call to cassandra when using walk.

This commit avoid an unecessary call to cassandra when invoking
the method walk.
According to the documentation cfg.get_range() returns a
tuple of (key, cols).

Change-Id: I4c4c1e62595036e6bea873f7c696f6a1f2a2dfee
set the default DNS port

Change-Id: I7e5d84b8839ce9c509267fddc558b1a53469c9b9
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"