Add string 'quantum'/ version to scope/tag in NVP

This patch adds scope='quantum', tag=QUANTUM_VERSION to each element
created in NVP via quantum. This patch also removes the function
set_tenant_id_tag() as it was only used in one place and wasn't very useful.

Fixes bug 1128674

Change-Id: I9f1f8e9b49154012a82d24e31cc9fb7f2df9c604
Remove locals() from strings substitutions

Fixes bug 1168988

Change-Id: Ifd1e7a027f16062ff35e777cf2d953f652a806a7
Imported Translations from Transifex

Change-Id: If69359e85c521da70870fbc19d6326e79001cbef
Update latest OSLO code

Change-Id: I804d1eae92e89740339546f0d0f490a3e4f21204
Merge "Remove locals() from strings substitutions"
Imported Translations from Transifex

Change-Id: I5ceeb67e2053d40d527859da22cc8853438eb654
Simplify delete_health_monitor() using cascades

Currently delete_health_monitor() emulates behaviour of
cascade deletion: when a HealthMonitor instance is deleted,
all corresponding PoolMonitorAssociations are queried and
deleted one by one. This can be done automatically by means
of SQLAlchemy if we set proper cascade flags on the relationship
between HealthMonitor and PoolMonitorAssociations models.

Fixes bug 1169107.

Change-Id: I674c381192719a56433f67be53a32203c36ebe2b
Make the 'admin' role configurable

Bug 1158434

This patch adds a new policy named 'context_is_admin' which defines
an admin user as a collection of roles or else. The quantum context
has been updated to check for this policy when setting the is_admin
flag.
This patch also adds a method for gathering 'admin' roles from policy
rules as current logic requires the context to be always populate with
the correct roles for admin rules, even when the context is implicitly
generated with get_admin_context or context.elevated.
Backward compatibility is ensuring by preserving the old behavior if
the 'context_is_admin' policy is not found in policy.json

Change-Id: I9acea75cca0c47e083a9149e358328ea3ca12d68
Imported Translations from Transifex

Change-Id: I74583df2967e7c60a69072edd75877ccb64df5fd
Metadata agent: reuse authentication info across eventlet threads

Fixes bug 1152429

Change-Id: Ib65f08a46feb14abc97c0c83e57d076abd372a2c
lbaas: check object state before update for pools, members, health monitors

Fixes bug 1166365

Change-Id: I027bb1465ab08a643a02bddea30db82652be55ed
Merge "Add string 'quantum'/ version to scope/tag in NVP"
Merge "Metadata agent: reuse authentication info across eventlet threads"
Merge "lbaas: check object state before update for pools, members, health monitors"
Imported Translations from Transifex

Change-Id: I80e45f91d74c197d81a561379c0740a6d9aa4d68
Merge "Make the 'admin' role configurable"
Merge "Imported Translations from Transifex"
Send 400 error if device specification contains unexpected attributes

Bug #1171926

This patch simply enhances the validator for the 'devices' attribute
by verifying each element in the device list does not contain
unexpected attributes.

Change-Id: Id3fd182a7f711b482ad371752983264ad73b100f
Imported Translations from Transifex

Change-Id: Ica3123c46290d48cc344e0f99a71be7307aed8e5
Merge "Send 400 error if device specification contains unexpected attributes"