Add Quantum NEC OpenFlow plugin support

NEC OpenFlow plugin supports several OpenFlow controllers. This commit
also adds a third party script to support Trema Sliceable Switch,
one of open source OpenFlow controllers.

Change-Id: I5dddf04a25bc275c3119d751ca79b482e1875902
Add comments on how to run devstack with Quantum

Fixes bug 1077826

Change-Id: I224db4e00e3c937f3106e9a099b79de789be1fc1
xenapi: Extract plugin installation functions

This change extracts the plugin installation functions, and covers the
extracted functions with tests. Use:

    ./test_funtions.sh run_tests

to run the tests.

Change-Id: I1d78d9e8cc4d52ee2df83d07e4c74dda4805f21a
Make sure the NOVA_INSTANCES_PATH is created

Under some conditions when NOVA_STATE_PATH is set
the NOVA_INSTANCES_PATH directory under it is removed
but then not correctly recreated if the parent directory
is owned by root instead of the current user running
devstack. This change fixes that problem by creating
the NOVA_INSTANCES_PATH as root, and then chowning it
to the correct user.

Change-Id: I7fb724787b5e915bae9bd058454d2aa38991364e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Add comments on how to run devstack with Quantum"
Change default PUBLIC_NETWORK_NAME/DEFAULT_FLOATING_POOL name

This patch changes the default network name/floating pool from nova
to pubic as the name public makes more sense than nova for a public
network.

Change-Id: I4153750c08d1510dbad3051681e8c142a79fe1a1
Add support for iso files as glance images

Change-Id: Id1731c1a0a579fab44bb3944d2369b3feecf15d2
Merge "xenapi: Extract plugin installation functions"
Only start zeromq-receiver when we're using zeromq.

Change-Id: Ibd3e6a74f1098e330be0fcbbb83b9188e51202ad
Merge "Add support for iso files as glance images"
Use example settings in horizon repo as local_settings.py

The current horizon_settings.py in devstack is out-of-date and we
tend to forget to update this file. This commit changes devstack
to use the example settings in horizon repo.

Change-Id: I0bb6af21a806a72ed59f31b094dd21da85ca335e
Don't clobber all iSCSI connections during nova cleanup

The existing cleanup_nova() code inadvertently logs out of all iSCSI
connections on the machine because it does not pass the target name
as the -T parameter. This patch changes it to step through the targets
that match the pattern, logging out of each individually, and following
up with a delete op to cleanup the database.

Change-Id: I26c14acbe0e8de18f0e3bf7ad83b37379503e199
Merge "Don't clobber all iSCSI connections during nova cleanup"
Allow a plugin specific interface_driver config in q-lbaas

Previously interface_driver for q-lbaas is hardcoded and q-lbaas does
not work when quantum plugin requires additional configuration (like
ovs_use_veth=True). This commit set up interface_driver using
quantum_plugin_setup_interface_driver function.

This commit also moves a script related Quantum service plugin to
lib/quantum_plugins/services/

Change-Id: Iad11c1b31071dfb580843be18be78c83feb91f10
Correctly source .stackenv

Specifically to recall HOST_IP and SERVICE_HOST for the current DevStack configuration.

Bug 930274

Change-Id: I299d94101ab93faccc88917503409e0afaa0a523
Clean up Nova API prereq

Bug 980966

Change-Id: If5bbcc094b54a2de96151d69653e57e0e540d6de
Move glace's swift config to lib/glance

Change-Id: Icbb355c15bfffe17725ea5cc64cfa5e76c1e74e6
Split disk creation out of configure_swift()

Grenade needs to be able to configure Swift without initializing the
backing disk files.  Move it into create_swift_disk() and call
from init_swift().

Also move start of n-obj (if swift3 is not enabled) to start_nova().

Change-Id: Id33939182d84eeff10ba4139eeced2c1bc532f0f
Merge "Split disk creation out of configure_swift()"
add emacs shell-script tagging

for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.

Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902