Derive ip family from prefix while provisioning static routes

Change-Id: I95a9bb9f5a4200ce60e26ac0300f893d474ada0c
This bug adds the ModuleId from the Messages into the field
 names stats table, so that it can be queried to get a list
 of ModuleId's occuring in any time range.

Closes-Bug:#1360414

Change-Id: I8256ff794850bd321ad8fe543fa83b8356c5f21b
Schema change to link loadbalancer pool to VMI

Add a link from loadbalancer pool to virtual machine interface(VMI).
VMI is linked to a logical interface of a physical router where the
configuration is stored.

Change-Id: I1f708e12ad0bef87c33da34b189d1c86574c4b81
Closes-Bug: #1381775
Adding skeleton for a new daemon: prc-manager

The name stands for 'physical router configuration manager'.
It listens to rabbit-mq updates from API server. When messages are received, it reads corresponding information from cassandra. It manages configuration for physical routers (MX only for now) using netconf utility.

Change-Id: I36ac5f8999f8f921f4ecec1bc87d4c7742ed88df
Catch PermissionDenied exception on security_group_update so that we can return proper error when sg rule quota is exceeded.

Change-Id: I1ebfe45a50521653ec92f115e12b692cc554dec4
Closes-Bug: 1365463
Fix circular route re-origination bug with transit VN

Problem:

When a service is applied between a VN and a transit VN, routes from the
VN that are re-originated into the transit VN as ServiceChain routes get
re-originated again as ServiceChain routes into the regular VN.

Cause:

Implementation prior to transit VN used to ignore routes that did belong
to the destination VN of the service chain.  Code changes for transit VN
functionality relaxed this check, but did not cover the case where route
belongs to the source VN.

Fix:

Add check to ignore routes from source VN.

Change-Id: Ifdff8e828f0d4a9bc20ab055e0e9206d2cfd347a
Partial-Bug: 1365277
Add vrouter-instance ServiceInstanceType

Change-Id: Iab21f83743e100cd89471ee03ccba6110abbe551
Cleanup and refactor code in service_chain_test.cc

Following changes have been implemented:

- Use using instead of using namespace
- Add and use helper methods for creating peers and configuring chains
- Add and use helper methods for verfification of routes and paths
- Consolidate use of task_util::WaitForIdle to a few helper methods

Change-Id: I33ccdb0b988fec768bb5c44b1de5d5c91fdd8bb3
Schema changes for VCPE feature.
-Define an object to represent subnet
-Define a link from this subnet object to virtual-machine-interface object

Change-Id: I2fdc56d4be68bec32f3b2f45ba735e9efea1f733
Bug:#1380771 Adding the load balancer session persistence parameters fro Service Instance's Virtual ip. The session persistense type and name are written to haproxy configuration file in the backend section

Change-Id: I44a2b5c750f2ab62221d5bd43925df3de2dc85cd
Merge "Catch PermissionDenied exception on security_group_update so that we can return proper error when sg rule quota is exceeded."
Export underlay source port as 0 when encapsulation type is MPLSoGRE.

In vrouter underlay source port calculation is done for each flow record irrespective of its encap type. Agent instead of exporting this value (given by vrouter) as-is, should send the value as 0 when encap type is MPLSoGRE

Add unit test case to verify this.

Change-Id: I2c582d83ba2dafdf65b351a374c8f87d4517464e
Closes-Bug: #1382355
Merge "Bug:#1380771 Adding the load balancer session persistence parameters fro Service Instance's Virtual ip. The session persistense type and name are written to haproxy configuration file in the backend section"
Merge "Export underlay source port as 0 when encapsulation type is MPLSoGRE."
Merge "Adding skeleton for a new daemon: prc-manager"
Merge "Schema changes for VCPE feature. -Define an object to represent subnet -Define a link from this subnet object to virtual-machine-interface object"
Run config unit tests from scons

Currently they have been added to flaky-tests and will be promoted
once we have it run successfully consistently. The workflow is to have
 * scons controller/src/api-lib
 * scons controller/src/config/api-server
 * scons controller/src/config/schema-transformer
run the unit tests. A future commit will try to have this run from
within source using ./run_tests.sh
Also add explicit list of tests in common as test_utils/test_common are helpers instead of tests

Change-Id: I5b72c6a18e8be9bcdf6d68146b9c220a9196746e
Rename prc-manager to device-manager

Change-Id: I8de2095779faba4efa630b77f383e35146de3a53
Display description from the NodeStatusUve when service is in
initializing state so that user can figure out the reason when
using contrail-status. Changed process info library and pysandesh
to set the appropriate description when a process's state is
non functional.
Closes-Bug: #1381631

Change-Id: Id530470630c5777873aa4b7718c0b1d3eb29925b
Merge "Add vrouter-instance ServiceInstanceType"