Test to check the default gateway ip allocated

Change-Id: Iebbcaef1f819f51e4c4b26bee50982d87777ee19
Fix StringIO import issue in svc-monitor

Commit 5930f33bc32743250d5a61c3b1f58ce239e053ad introduced
import of cStringIO.StringIO in svc-monitor, but stringIO
is redefined in another import.

Additionnaly, another couple of nits are fixed.

neutron_plugin_interface is also changed to set api_server_ip to
localhost if api-server.listen_ip_addr is 0.0.0.0 (the default)

Change-Id: I0608ace6953c77130beac26b7d48de72674fc6ba
Partial-Bug: #1335062
Initial support for FreeBSD platform:
- changes for the FreeBSD porto to be buildable from the master

NOTE: This patch will make the FreeBSD port buildable, but it will still
lack some features required for the port to be successfully runable.

Change-Id: Ie4aee423aa8656ee3b55f0ff89fbd92ed6c6c120
Authors: Grzegorz Bernacki, Michał Dubiel, Dominik Ermel
Fix potential deadlock in vnc_openstack

under certain circumstances (that alway happen in
contrail-installer + devstack environnement) keystoneclient
may authenticate before endpoints are populated in keystone.
In that case, It'll be usable to list projects, but not to
read them. Thus, it won't be reset by resync_all_projects,
but neutron api will stay stuck as projects can't be added
to vnc.

Closes-bug: #1384265
Change-Id: Iefd107604ae9f16a2b91d74c188781ef1a52394f
(1) Move the following APIs from base/util.h to net/address.cc/h
GetIp6SubnetAddress
GetIp4SubnetAddress

(2) Also change the signature of API IsIp4SubnetMember and IsIp6SubnetMember to use aliases Ip4Address/Ip6Address instead of boost names.

(3) Update the callers to use the new moved API from address.cc

All the existing agent Unit test-cases have passed

Change-Id: I15844c52eefe5d88050285d1fcfc2e80e294bd63
Closes-Bug: #1381334
Merge "Initial support for FreeBSD platform: - changes for the FreeBSD porto to be buildable from the master"
service chain configuration test after restarting st

Change-Id: Iffe0781a656275639bf70e3c4df5f29176d01a3b
Making rules file empty as there is no need to restart the
api or ifmap in the event of either going down.
Also retaining it is causing issues. Hence removing
entries in the rules file

Change-Id: I338faf4bb22157b2d4e66293f3745e592533d418
Merge "Fix StringIO import issue in svc-monitor"
Merge "service chain configuration test after restarting st"
Merge "Making rules file empty as there is no need to restart the api or ifmap in the event of either going down. Also retaining it is causing issues. Hence removing entries in the rules file"
[Schema] Clean VMI and instance IP correctly

The VirtualMachineInterfaceST object list is not clean properly and
growing with time.

- Add function to catch the VMI delete event.
- If schema fails to read VMI or IIP on the API, delete IIP or
VirtualMachineInterfaceST into the list.
- And that patch also exit the 'process_pool_result' method if none of the
poll requests call a schema method.

Closes-bug: #1382397
Change-Id: Ib386ea5b53fbaea4ae15b34c1c74837b06b258ef
Fix the device_id and device_owner of gw

This patch fix the values returned for the
gateway port of a router.
In order to be able to get the device_id
when doing a neutron port-show this patch
also add a new link in schema between
the service instance and the logical
router.

Change-Id: I98f8a268a3bae94e73e11ac40784009652faf848
Improvements to RTargetGroup intropsect

Following changes are implemented:

- Allow filtering the output of ShowRtGroupReq by target
- ShowRtGroupSummaryReq lists targets without dependent routes
- ShowRtGroupPeerReq lists all targets for a peer
- Targets in output of summary response are clickable

Change-Id: I2c5661f6414b5335c5498f61fd0922e5da0dd4e5
Closes-Bug: 1382634
Merge "Fix potential deadlock in vnc_openstack"
Merge "Test to check the default gateway ip allocated"
Merge "Fix the device_id and device_owner of gw"
Merge "[Schema] Clean VMI and instance IP correctly"
Merge "(1) Move the following APIs from base/util.h to net/address.cc/h GetIp6SubnetAddress GetIp4SubnetAddress"
Partial-Bug: #1378454
 -Feature: Send IPMI information of the cluster from server-manager
           to Cassandra database
 -Fix: Created ipmi.sandesh file to hold the structure to be sent.
       Modified viz.sandesh and vns.sandesh to have the sandesh structure
       elements.
  Made changes for review-1
  Made changes for review-2
Change-Id: I62b15ff36e535ad70cc209f43aae6200243a4b1e