support for flow drop and short flow reason.

Change-Id: I94933d1fc6da9e30975882f3d458c8ebcb0f5529
Fix service_instance_test

Change-Id: Idd9d993e7d45e25e3f6c158f078404161daa6e06
Update API to set properties on ifmap agent table nodes.

Change-Id: I06e2c499c77093cc57e22bc2b0981e13f44eb9e0
Fix flaky tests further broken by XMPP ASN change fix.

As a result of commit e383a8eedc0b3b7106ea5ed13d5f92ee2753ade0 all XMPP
connections are flapped when the ASN is changed.  Since the mock agent
used in some unit/module tests does not re-subscribe to instances if a
connection flaps, some tests got broken.

Specifically, tests that did not configure an ASN (or anything else) at
the start of the test, brought up XMPP connections to mock agents, and
only then configured the ASN (and routing-instances), were impacted.

Fix is to tweak the tests to minimally configure the ASN at the start.

Also tweak the ASNUpdate test in rtarget_peer_test to account for XMPP
connection flap.

Use XmppStateMachineTest which uses small timer values so that the XMPP
connections come back quickly after a flap. Add the class in the common
bgp_server_test_util.h file and remove duplicate definitions from other
places.

Change-Id: I67f739c8f1fcdda4ac923fa42d74e75b343180ae
Bug 1349957: Get tenant id before deleting the port

Change-Id: I4eb8a3b0692bf283befb9fb361f17d32c863bee2
* Print nexthop id in log message

Change-Id: If13fb3feaa2cb68bac075693c10a082dc41ec8c7
Add uuid to the NamespaceTask

This patch introduces an uuid to the
NamespaceTask class in order to use it
for the map between task and svc_instance.

The aim of this change is fix potential
concurrency issue.

Change-Id: I036dcd13357b4539d6d303610f5e9d44d65a2790
* Change tunnel type field in composite NH key maintained in
  agent path.
* Test case to verify that ecmp composite NH gets properly updated
  upon tunnel type change.

Change-Id: I7d4bc5de56c493d79c9620b6b1212f563bb5cd7c
Fix test_nh.cc testcase.

Change-Id: I8ef87b91bff832e2ed53411be90065c26ccae1e5
Merge "Fix service_instance_test"
Merge "Update API to set properties on ifmap agent table nodes."
Merge "* Print nexthop id in log message"
Merge "* Change tunnel type field in composite NH key maintained in   agent path. * Test case to verify that ecmp composite NH gets properly updated   upon tunnel type change."
Merge "Fix test_nh.cc testcase."
Merge "support for flow drop and short flow reason."
Merge "Bug 1349957: Get tenant id before deleting the port"
Merge "Add uuid to the NamespaceTask"
Merge "Fix flaky tests further broken by XMPP ASN change fix."
Make BGP state machine use short timers in tests.

Few tests such as rarget_peer_test used to fail occasionally because
bgp peers could not be established within the wait time of the test.

Make all such tests use the StateMachineTest class, which has short
timers. Remove duplicate definitions of StateMachineTest and move it
to bgp_server_test_util.h.

Rename StateMachineTest in state_machine_test to StateMachineUnitTest.

Remove unnecessary use of mock classes for BgpXmppChannelManager and
BgpXmppChannel in a few tests.

Change-Id: I53885053b673da1dcb0725b5d04e9ad00dd94caf