Discovery Service always connects to Collector @ 127.0.0.1:8086. Therefore, if analytics-node is not provisioned
to run on the same server as config-node, then Discovery doesn't connect to the Collector. Pass DiscoveryClient
object to init_generator() so that sandesh client library subscribe for 'Collector' service.
Closes-Bug: #1366902

Change-Id: I7485ee982c259c312074e1103b6516569304db66
(cherry picked from commit 6c66b43847c7ea30e0c5e9ade5a1846f1c5df7e9)
Remove extraneous code since it is we now sync project from keystone on demand.

Closes-Bug: 1373051

Change-Id: I741d13e49521645acbc73b1eaea81b368e68d33f
(cherry picked from commit aac0725c9ad501b1a6cd32138f7813a3100dcf4c)
Merge "Discovery Service always connects to Collector @ 127.0.0.1:8086. Therefore, if analytics-node is not provisioned to run on the same server as config-node, then Discovery doesn't connect to the Collector. Pass DiscoveryClient object to init_generator() so that sandesh client library subscribe for 'Collector' service. Closes-Bug: #1366902" into R1.10
Merge "Remove extraneous code since it is we now sync project from keystone on demand." into R1.10
Redirecting name space prints to stderr for debugging

Change-Id: Ia9dd6fc9007ff66e5eab43ee0fe7e9668fe3bf5c
Add user-visible field (default true) in ID Perms

Change-Id: I5da6b8448163ad4536fa346ef6aca43439bcb793
check for port's tenant id when associating a floating ip to a port

Change-Id: I5365f92755b6fa6174b241d749df5b8447672455
Closes-Bug: 1373849
Signed-off-by: Sachin Bansal <sachin@contrailsystems.com>
During router create, if we are also updating external gateway, we were updating the logical_router object without reading it. This could clobber the id_perms on the server. We should read before updating the object. Ideally, we should protect against this in api server.

Change-Id: I529b7f9e0b2ab3b635809af8678addc34467422c
Closes-Bug: 1373257
Merge "check for port's tenant id when associating a floating ip to a port" into R1.10
Merge "During router create, if we are also updating external gateway, we were updating the logical_router object without reading it. This could clobber the id_perms on the server. We should read before updating the object. Ideally, we should protect against this in api server." into R1.10
Service monitor introspect changes
User visible field in id perms ported from mainline

Change-Id: If7b422925ecab8a764ba8cfc4b19cde4da55c6e0
Explicitly delete both ingress and egress acls when security group is deleted.

Change-Id: I1c814f0b52288d0e3c1531a327655dec87c9153b
Closes-Bug: 1362414
(cherry picked from commit 57c718a1adb38958f553402515923df1918903cd)
Use a singleton instance of OpenstackDriver and use it where needed

Change-Id: I49a789563b0d998374ef6c52ea343dd6da6a7064
Closes-Bug: 1375984
We will now store default quotas in default-project.
It will be overwritten every time api server is restarted. Earlier, we were writing configured values in each project which makes us not able to distinguish between the cases where quota values are set on that project or not. As a result, subsequent updates to quota values were not being applied to existing projects.

With the new change, we will for each resource, we will first check if it is configured for that project. If not, we will check the default-project (which is configured through the config file), then finally code default value of -1

Change-Id: I36eed73a028b945bf51a4f74a8e9eb625cf4bf20
Closes-Bug: 1363914
(cherry picked from commit 9bb29366cee89797cd1199bbee5ed638586507fc)
Explicitly check for None while checking for quota limit. Previous checks would treat None and 0 as same.

Change-Id: Ib48b8feee2bb702d76e7fe9a1de135475eb4d790
Closes-Bug: 1368644
(cherry picked from commit e1f535c26aca041ebfec95cfb5a3b8df4013c8d5)
Bug:#1359633 1) Stale cleaner support for Namespaces 2)Removing the references of Agent::Getinstance from NamespaceMananager classes 3) Extending the Namespace Name to have Loadbalancer poolid

Change-Id: If483d59e3de0cd2a1c0f75a81ed25335e18858c6
Closes-Bug: #1373631
-Issue: Latency graphs would not dip when reads/writes were zero
- Fix: Individual read/write latency is sent using equation:
       (curr_latency_sum - prev_latency_sum)/(curr_count - prev_count)
       over average latency.
-Test: Dip was seen in latency graph after stopping the traffic with
       the above fix.

Change-Id: I3b50e1631e030a7ad67dd276c2e5e6ef33156f9a
Merge "We will now store default quotas in default-project. It will be overwritten every time api server is restarted. Earlier, we were writing configured values in each project which makes us not able to distinguish between the cases where quota values are set on that project or not. As a result, subsequent updates to quota values were not being applied to existing projects." into R1.10
Merge "Explicitly check for None while checking for quota limit. Previous checks would treat None and 0 as same." into R1.10
Merge "Service monitor introspect changes User visible field in id perms ported from mainline" into R1.10