Control node changes for supporting IRB forwarding in EVPN

Change-Id: I00f0f3bcd4b30ecc7adaa6d14a5b1496a1d57f67
Raise proper error message if --no-gateway is used in subnet create

Change-Id: I26ed8342300dd243413796f70e4f1c11b7b10990
Closes-bug: #1364764
flow limit : exclude short flows

Change-Id: I0cd47f06bd76dc03b632534f84521a53db6316fa
Support agent on multiple platforms

Part-2 chagnes to support packet handler on different platforms

- Move adding of agent_hdr to pkt_interface class
- Define a simple buffer class
- Modify packet Tx routines to use packet buffer

Change-Id: If3417580273f7eb5964090eb58cbfb267a9ef988
[SVC] Exclude VM not related to a service instance

Service monitor should exclude VMs not linked with a service instance.

Change-Id: Ifc96873d52307ffa4b9d423f4bc4f86d93c316d5
Closes-bug: #1367327
Config test log separation

Change-Id: I8c37d05f24a4b4a2bd64a4c7edad8dd2fd9812d1
Replace bottle.abort calls with _raise_contrail_exception, which will send the exceptions in the right format.

Change-Id: I9f864aa85d459ff9f51900115de38f1284cb2fda
Partial-Bug: 1363304
Fixes for contrail-status:
1. Report 'STARTING' from supervisorctl as 'initializing' in
   contrail-status
2. Try to extract node UVE only from daemons implementing it.
   If we do not get node UVE from these daemons report state as
   'initializing'. The above changes will make sure that the
   contrail-status reported state will move to 'active' only
   after the process has initialized properly.

Change-Id: I6c588d46d488b7b980fa2b3c502479ae6f21b2c0
Add agent test in ci_unittest.

Change-Id: I08ec605e45d6186beebe9601f31974476770c235
Merge "Support agent on multiple platforms"
[SVC] Delete left network of SNAT service instance

The service monitor should delete left virtual network used by the SNAT
service instance when it destroys it.
That patch add a generic clean method for all instance managers.

Change-Id: Ib2a44c739951c97c3cb7577f86d719b02ee61952
Closes-bug: #1367097
Fix concurrency issue in DBEntryBase removal

Some bgp tests used to fail in rare cases because a BgpTable was not
empty after the test ended.  The core file showed that the BgpTable
had a route which was marked deleted and was not on the change list.
The BgpRoute had no BgpPaths and no DBState associated with it either.
The core also showed that all DBPartitions' remove queues were empty
and all DBTablePartBases' change lists were also empty.

The root cause was a concurrency issue in DBEntryBase removal.  If
DBEntryBase::ClearState and DBTablePartBase::RunNotify were working
on the same DBEntryBase, it could so happen that ClearState decided
not to enqueue the entry for removal becuase it saw that the entry
was still onlist, and RunNotify decided not to remove the entry as
it saw that the entry had non-empty DBState.

Fix is to modify RunNotify so that the OnList bit for an entry gets
cleared before checking if the entry is eligible for removal. The
dbstate_mutex ensures that only one of the two routines takes care
of removing the entry.

Change-Id: I10e9822f1a100a9739624f3e49c05ccf89018a34
Merge "Add agent test in ci_unittest."
Add ProtobufServer tests. Free receive buffer and protobuf message
in HandleReceive in ProtobufServer. Protect UdpServer pending
buffer array via mutex.

Change-Id: Ibcb7de7a06caa9746d32d66172091641599304bb
Merge "[SVC] Delete left network of SNAT service instance"
Merge "Config test log separation"
Reeavaluate all connected networks when policy is updated
Also added a test case for the same

Closes-Bug: 1366693
Change-Id: I881c165d289e8f1d16fa71d19bae08f954f039bd
Closes-bug : 1365539
Send cpu info now in UveVirtualMachineAgentTrace also (It is already being sent as part of VirtualMachineStatsTrace)

Change-Id: I0f4ae64d8273a65bb363118f80cec88cdf0a4b11
Merge "flow limit : exclude short flows"
Use libraries available in centos 7.0

Change-Id: I9940215ea26e7bd22ad25c57287363bee9dc1cd2