1. Protect DescriptorPool::BuildFile in ProtobufReader using mutex
2. Protect boost::uuids::random_generator in DbHandler using mutex
3. Copy over the errors from SocketStats to SocketIOStats

Added tests for the following in DbHandler:
1. Tests that show boost::uuids::random_generator is not thread-safe.
   This test is disabled since it fails as expected with duplicate
   uuids being returned.
2. Test that shows creating a boost::uuids::random_generator on stack
   is an order of magnitude expensive than not doing so or
   multi-threaded mutex lock based approach.

Change-Id: I22326c132ff733005312722461a0c5e831fbb964
Fix memory leak in DB tests

Make sure DB_RunNotify_Yield deletes entries that it added.

Change-Id: Ibc019addea7f5fe545fd04fb799d04947adbe7b7
Remove unused code for BGP inet6 NLRI encoding and decoding

Couple of other minor changes:

- BuildProtoPrefix and BuildBgpProtoNextHop are not pure virtual anymore
- Do not use namespace using-directive in rtarget_route.cc

Change-Id: Ib5c81b520b701bb2fe772792d839683be4d3db7b
Promote bgp_stress_test from flaky to non-flaky

Change-Id: I9a9c643cf0ca6d84ffdb0e6b6e0f05777bf7c2de
send RA to all nodes address

Change-Id: Iea84b102d2c924d30a4c5eebb00da352dd578049
Merge "send RA to all nodes address"
Implement DBTable API to notify all entries

Change-Id: I6a2646167cc564a7c228c86f94d33bef7134177d
Merge "Promote bgp_stress_test from flaky to non-flaky"
added new ut test case: delete vn and check if ri is deleted in api server
use a free port for launching st deamon.

Change-Id: I98bdd1ed203d759a4c7afc17bbddc35879e4376a
Add negative tests for FromProtoPrefix

Change-Id: Idc55794e560aa86a8676f76c47979f1c614403a9
Merge "Implement DBTable API to notify all entries"
Fix race condition in state_machine_test

Change-Id: I79b76936cc51f916b7096ffe44482990bf422126
Merge "1. Protect DescriptorPool::BuildFile in ProtobufReader using mutex 2. Protect boost::uuids::random_generator in DbHandler using mutex 3. Copy over the errors from SocketStats to SocketIOStats"
Merge "Fix memory leak in DB tests"
Merge "Fix race condition in state_machine_test"
Change version info on mainline to 2.0

Change-Id: Idef34527dbb1fffef472669352ed98fffcd217b4
Change default configuration file of contrail daemons to enable
local logging at SYS_NOTICE level
Closes-Bug: #1373177

Change-Id: I8e0b3090675b79ed7b8e400a6104f065d878356e
Use a singleton instance of OpenstackDriver and use it where needed

Change-Id: I689a6a72f9e4b88130a87a1008309d5f593e50d5
Closes-Bug: 1375984
Patching esoteric compilation error in MacAddress::last_octet,
that was result of possible ambiguosity in selecting method for []
operator.

Change-Id: Ib794b2ca8a7db155be7ef2cdf19331f968e317ca
Initial support for FreeBSD platform:
- ethhdr structures have been replaced with ether_header
- icmphdr structures have been replcaed with icmp
- iphdr structures have been replcaed with ip

All above replacements have been done to make the code common
with the BSD.

Change-Id: I8554ab3017714e30b406dfdd0a40799de9c0a9a4
Authors: Grzegorz Bernacki, Michał Dubiel, Dominik Ermel