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
Accomodate change in API behavior

Change-Id: Ia994582370cbfe16548fb431a1dbf0d601692028
Move ifmap dependency tracker to the ifmap library so it can be used in the agent

Change-Id: I66393602dcb263e3e325adb25f22f4597d2d6225
 Fixed java api unit test failures.

Change-Id: I902d03f63e52eced193fd6ee1f03d8f52d454e2c
1. Invoke VCenterMonitor to run periodically to perform the sync
   between the Vnc and VCenter DB.

Change-Id: I256574d10f289feae219d2c933a47c03aa0d4ccc
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"
Fix build-id and build-id and build-number displayed as "unknown" on mainline. We now have separate item to report version of agent in contrail-version script. Use the keyword "contrail-vrouter-agent" instead of just "contrail-vrouter" to identify agent.
Change-Id: I2964d0746acf77313af08fad3840fadae4479322
Add a pool of workers for the method walk

This commit adds a pool of workers for the method walk
to increase performance of computing dbe_resync.

Note: a bottleneck has been observed with the client ifmap, it uses
a max concurrency equal to 1. A patch is in progress to increase the
the concurrency.

Benchmarks:
  1000 tenants - client ifmap concurrency = 100

 1   worker:  507 secondes
 10  workers: 52 secondes
 20  workers: 29 secondes
 100 workers: 17 secondes

Co-Authored-By: Edouard Thuleau <edouard.thuleau@cloudwatt.com>
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>

Change-Id: Icc2b595cc4ab6d1c25b3a1266ce06205daa642d1
Merge "Quota support limit ressources by project"
added option to choose ip alloc from start or end, modified gw_ip based on ip alloc option, added check in network_update to reject modified allocation pool, dnsservers and gateway_ip

Conflicts:
	src/config/api-server/vnc_addr_mgmt.py
	src/config/api-server/vnc_cfg_ifmap.py
	src/schema/vnc_cfg.xsd

Change-Id: I35a52e2093d14f8e4815de7d2de9159a5a4afffc
Bring in code for cassandra based discovery server. Do not switch to it yet

Change-Id: I656630492e7e4a5ad07a664905815cb62bfbe3ab
avoid redundant service lookup in subscribe handling

Change-Id: I5d16aebc3d40be14cdac7b73d8dd90dd26d448a2