Change daemon Pidfile class to not use root_helper

Some users of the Pidfile class don't specify root_helper,
which then defaults to 'sudo', which will generate an error.
Remove root_helper altogether since we actually don't need
root priveleges to read /proc/$pid/cmdline.

Changed code to use open.readline() instead of a shell, and
tweaked tests accordingly.

Also cleaned-up the rootwrap filters that allow it as they
are not used anymore.

Fixes bug 1218142

Change-Id: I6691feb1c9f7bfa261a7ec464fd8f3f92168c302
Do not apply security groups to logical ports

Security groups rules were applied to logical ports and this caused
Floating IP not to work correctly.
Correct some typo.

Change-Id: I174e60f8eb8a4d00b71fffc127e2d2d36836835d
Closes-Bug: #1221336
Fix handling of floating IP association info in Nicira plugin

Bug 1223902

This patch fixes the _update_fix_assoc routine in the Nicira plugin,
ensuring the association of a floating IP with a router is removed
when the floating IP is disassociated.
This patch also adds a unit test for validating behaviour when a floating
IP is associated to a port on a different router, which was an
uncovered use case. This new unit test required some refactoring in
test_l3_plugin.py.

Change-Id: Ibfd53a637f4d14a368b0aeff289c15f993df58dd
Fix URL used in NCS mechanism driver sync_full() operation

The URL was incorrect due to a simple argument-passing bug.

Change-Id: I2fabacdb2838022a1d187ceb70cb090c15457b7c
Closes-Bug: #1224981
Remove code that bypasses some midonet plugin unit tests

Multiple subnets unit tests were skipped

Closes-Bug: #1227079
Change-Id: Iffe731722d0e6c515bc64923673218ddde98c1f6
Allow non-admin user to list service providers

Add get_service_provider rule to policy.json

Change-Id: If4f8103231694fbf79088f7a95a277d68eecce0f
Closes-Bug: #1227697
Fix ovs-vsctl call in add_tunnel_port()

When a new GRE tunnel is created OVS agent calls ovs-vsctl
incorrectly. Command:

    sudo ovs-vsctl --timeout=2 --may-exist add-port br-tun gre-1

is produced instead of correct one:

   sudo ovs-vsctl --timeout=2 -- --may-exist add-port br-tun gre-1

Fixes bug 1227675

Change-Id: I010961658a37028e41621c4a529b5a14e7587c7f
Cisco plugin portbinding extension support

This commit adds portbinding extension support to the Cisco plugin.

Change-Id: I87554607860b040b693edeecc2706ca8edbe49b6
Fixes: Bug #1218033
Change header from LLC to Foundation

Change-Id: I11d7e734ae56568f2387a208efe0d1487377cbf9
Closes-Bug: #1214176
Fix for status always in PENDING_CREATE for Edge service router

The root cause is when deployment finished, we only update router status to
active if the status is in pending create. The problem happens when the
background sync thread update router status to active, so the status update
for vcns_router_binding table is skipped. We fixed this by seperating
checking and updating status for router and binding table.

Also fixed an issue where Edge is not deleted if neutron service is
restarted. The root cause is when neutron service restarts, the cache for
router type is empty. And because we delete the router from db before
we delete Edge, we're not able to locate the router from db to determine
the router type. The fix is to use binding table to determine the router
type.

Also piggyback a missing attribute for updating Edge interface. It must have
been removed by accident when resolving conflict during service plugin merge.

Closes-Bug: #1226229
Change-Id: I3d0639d245e71ea2a3faba70fef1a0ebb87e19fd
Merge "Cisco plugin portbinding extension support"
Merge "Change header from LLC to Foundation"
Merge "Fix ovs-vsctl call in add_tunnel_port()"
Merge "Fix handling of floating IP association info in Nicira plugin"
Merge "Do not apply security groups to logical ports"
Merge "Change daemon Pidfile class to not use root_helper"
Ensure names are truncated to accommodate NVP limit

Switches created through Advanced Plugin should have
their name truncated as well. To this aim, move things
around to avoid awkward imports or code duplications

Fixes bug #1227927

Change-Id: I3cc69356227d3bd63603ee1e53d82e6561f4cad0
Imported Translations from Transifex

Change-Id: Ibb176fafb9d27baccb95ef4e6616c9aedbf86ba5
NVP plugin: Set default max_lp_per_bridged_ls to 5000

This patch increases the default value from 64 to 5000

Bug 1227592

Change-Id: I19baa6dc48541ee5238748d21e8c410e4cdb5c00
Merge "Allow non-admin user to list service providers"