Reduce plugin accesses from policy engine

Bug 1179745

This patch introduces a new type of check whose aim is to fetch
the parent resource's owner only when a rule that explicitly needs
it needs to be checked.

Change-Id: I1ff429eb3f92b35bcb9b4c4e01b65f8c0a595f48
xenapi: fix rootwrap

The xenapi root wrapper did not parse the "exec_dirs" parameter, so it
failed to execute the commands. This patch works around this problem by
parsing the "exec_dirs".

Fixes bug 1185872

Change-Id: I10175c7df5d34e47eb6044711ffbe4fe4cee3ce2
Update with latest OSLO code

Change-Id: I54c0f6fa0489f0ef20187adf87f720e48ce1626c
Remove wrong reference to object attribute in nvplib

Plus, added negative tests that were not covering the
exception handling bits.

Fixes bug #1189730

Change-Id: I5df914c6b748a03816217336431c2b0b597481b5
Make reference lbaas implementation as a pluggable driver

implements blueprint multi-vendor-support-for-lbaas-step1

This patch implements the following changes:
 * merge lbaas_plugin.py and plugin.py into 'plugin.py'
   After that the default 'reference' implementation is available again.
 * move all code related to reference implementation from plugin.py to
   drivers/haproxy/plugin_driver.py
 * Inherit HaproxyOnHostPluginDriver from abstract driver and implement
   its interface.
 * modify tests accordingly

Change-Id: Ib4bfe286826acdedeadbeeff4713448c073378d2
Rename agent_loadbalancer directory to loadbalancer

Rename agent_loadbalancer directory to loadbalancer. and move
plugings/services directory one level up.
Fix tests and imports accordingly

fixes bug 1179276

Change-Id: If9e027b00824d612dfdd03e47efa9c08e419f205
Imported Translations from Transifex

Change-Id: Id74e6964c4e8ca6b47b0ad43cde17beac162e2de
Merge "Update with latest OSLO code"
Merge "Rename agent_loadbalancer directory to loadbalancer"
Merge "Remove wrong reference to object attribute in nvplib"
Remove unit tests that are no longer run.

A long time ago, quantum/tests/unit became the home for all unit
tests, but these ones in the Cisco plugin directory got left
behind. They have suffered bit-rot and need to be removed.

Also:
- Move the fake Nexus driver to new home.
- Filed new bugs to track the task of improving unit test coverage of
  Cisco plugin code.

Fixes: bug #1174311
Change-Id: I372e24aebbe1804e5b6ce62984bfd76b030a44b1
Merge "xenapi: fix rootwrap"
Merge "Remove unit tests that are no longer run."
Fix branch in db migration scripts

Fixes bug 1190942

Change-Id: I9eea3988518694922130992b547dc19768e0d005
Imported Translations from Transifex

Change-Id: I00bce7b7069d0ff8f2d62633b502103bd5e62abd
set default for gw conn info in nvp_networkgw extension

Bug 1183285

This patch simply guarantees default segmentation type and
id in gateway connection info for the 'connect' and 'disconnect'
actions are correctly set respectively to 'flat' and 0.

Change-Id: I1b4e8274651e05f4681878ab70daef990ece901b
Enable attribute-based policy on router:external_gateway_info

Bug 1186081

This patch also removes a check on is_write in policy.py since
the code block where that check is placed assumed already that
is_write == True

Change-Id: I21c54f63e1948675f67afb088c262dc5316c230d
Rename agent_loadbalancer directory to loadbalancer

Fix missing path changes

Fixes bug 1179276

Change-Id: I889eeac8013de67fccbac9bfa745a56e7f859756
Merge "Reduce plugin accesses from policy engine"
Imported Translations from Transifex

Change-Id: Iacf83194136e2d01945e5ef080d0458b942751f1