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
Fix bug 1373264
	Reserving port 9011 for supervisor-support-service group
	changes to list Contrail Support Services in the contrail-status output.

Change-Id: I03fcdb49058170b3fc6106891bb88f5bad21336e
Merge "Explicitly delete both ingress and egress acls when security group is deleted." into R1.10
Merge "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." into R1.10
Merge "Fix bug 1373264 	Reserving port 9011 for supervisor-support-service group 	changes to list Contrail Support Services in the contrail-status output." into R1.10
[service monitor] Introspect to reflect ha state
- Link VM to SI during launch of nova vm
- Fix spacing in db.py

Change-Id: I0e288abb7cb540bf9ae951dda1a9e3410618dc79
Merge "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" into R1.10
Merge "[service monitor] Introspect to reflect ha state - Link VM to SI during launch of nova vm - Fix spacing in db.py" into R1.10
Check against security group rules in all groups while checking for quota

Change-Id: If654d928dfecdbc4ab3464777cb9e4cba17b7333
Closes-Bug: 1365463
(cherry picked from commit 0b0f714273e9134b98aabc499a55b639a67023d9)
[SVC monitor]  Service instance UVE update does list standby VM

Change-Id: I5846137b74f62b52920d6afa3b457b24cd1e015d
1)Using VM's uuid as Namespace name 2) Test case for stale cleaner

Change-Id: I77e0ee7191960d4516555f2c69eecd29ed6e6077