Derive ip family from prefix while provisioning static routes

Change-Id: I95a9bb9f5a4200ce60e26ac0300f893d474ada0c
Use a random short TTL between 1 and 32 seconds when active publisher number is less then asked for by a subscriber

Change-Id: I58e0c16fd214642d1dd131bd3d5bb7da90e02a4a
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
Separate out cassandra and kombu clients from api server so that they could be used by other daemons

Change-Id: Ie80df7dee18fbb528e48a0c1b29d190c17395299
Increase the retry_count to connect tot VncApi from 10 to 30

contrail-api takes more than 10 sec to listen on 9100, If neutron plugin tries to
connect to Vncapi before that on 8082(haproxy), it gets 503. This happens in a single node setup
after reboot, Fixing it by increasing the retires to 30.

Change-Id: Idfd1c9e92a26468771d0375dfb252cb920b3f82c
Partial-Bug: 1379640
Review comments to remove tabs and extra spaces.
to incorporate flexmock infrastructure for tests.

Change-Id: I0fe854734d6acc0db455e80b46875a3bf7694bc0
Merge "Separate out cassandra and kombu clients from api server so that they could be used by other daemons"
Fix clobber from commit 0998a277f40f09166a43c0972f68fa50372b7bdc

Above commit had incorrectly clobbered getting uuid directly from subnet_vnc
Restore earlier behavior getting uuid from subnet_vnc

Change-Id: If3f1960035b526ad47a80672464dbd7b0f184d71
Change FileDescriptorSet to be an optional field in self describing
message proto file to accomodate any future plans to send schemas
separately from the protobuf messages.

Change-Id: I4a2b96585b20102a850503cc23ed0a354bbb2771
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
If the API client updates a network object with subnets and does not send a subnet_uuid, we were allocating a new UUID. If the subnet already exists, we should reuse the subnet_uuid. Now, we read from cassandra before generating a new UUID.

Change-Id: I13426663c8a2a8e79fbf170dffb81c726506cee1
Closes-Bug: 1381779
(cherry picked from commit c2f71af5f2e9a6f31ce65e48c0e4a4c62e82f0c8)
Merge "Use a random short TTL between 1 and 32 seconds when active publisher number is less then asked for by a subscriber"
bug 1381704 - update cassandra db with sequence when upgrading from earlier version

Change-Id: Ic39a4e1fc46c5259f3a5de69e778ac1352dc034d
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
ISSUE : Services like DNS, ICMP not working in vmware

FIX :
  1. The vlan-id was over-written by ether-type in ProtoHandler::EthHdr
  2. vlan-id was stored in host-order inside the packet
  3. Modify the following packet forming functions to add VLAN header when
     outgoing interface has vlan-enabled
     ArpHandler::ArpHdr
     DhcpHandler::FillDhcpResponse
     DhcpHandler::CreateRelayPacket
     DhcpHandler::CreateRelayResponsePacket
     IcmpHandler::SendResponse
  4. Fix compilation error in test_route.cc
  5. Fix memory leak in instance_service_test
  6. When adding DHCP Option-82 the length of options was returned as 0.
     This resulted in truncated DHCP packet. Fix DhcpHandler::WriteOption82
     to update dhcp-options correctly
  7. Set the smac_ in message to vrouter only in case of VCenter

UNIT TESTS :
   (PktTest, tx_no_vlan_1) : Verify EthHdr doesnt insert VLAN header when
   outgoing interface is not VLAN enabled

   (PktTest, tx_vlan_1) : Verify EthHdr inserts VLAN header when outgoing
    interface is VLAN enabled.

   The protocol packet format are already verified by existing tests

BUG:#1381176
Change-Id: Ida3c78308ddfa9ca6e7beeed24d851fad62d3823
Merge "Change FileDescriptorSet to be an optional field in self describing message proto file to accomodate any future plans to send schemas separately from the protobuf messages."
Merge "Fix clobber from commit 0998a277f40f09166a43c0972f68fa50372b7bdc"
Adding the vlan argument  to send to agent from vmware nova compute plugin

Change-Id: I4ded049152242ab66b44afb00ea72126abbebed1
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