Update vif driver of Ryu plugin

Fixes bug 1059393

This patch allows Ryu plugin to be compatible with Nova Security Groups.

Change-Id: Ief1039f4b73af2e815fed429cd717e64888565c9
correct nvplib to update device_id

Fixes bug 1061391

Change-Id: Ide8efdfb12dd0f403d7e4f468b1c9f3cc024f9a9
tests/unit/ryu/test_ryu_db: db failure

Fixes bug 1061408

The unit test of test_ryu_db fails when it is specified to run as follows.

$ ./run_tests.sh quantum.tests.unit.ryu.test_ryu_db
RyuDBTest
    test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)ERROR

======================================================================
ERROR: test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/quantum/tests/unit/ryu/test_ryu_db.py", line 30, in setUp
    options = {"sql_connection": cfg.CONF.DATABASE.sql_connection}
  File "/quantum/openstack/common/cfg.py", line 1039, in __getattr__
    return self._get(name)
  File "/quantum/openstack/common/cfg.py", line 1361, in _get
    value = self._substitute(self._do_get(name, group))
  File "/quantum/openstack/common/cfg.py", line 1377, in _do_get
    info = self._get_opt_info(name, group)
  File "/quantum/openstack/common/cfg.py", line 1470, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: DATABASE

----------------------------------------------------------------------
Ran 1 test in 0.001s

Change-Id: Ie639914c64e6fba10112a58efa7f363615d0c9fd
get_network in nvp plugin didn't return subnet information

Adds unit test for show network which checks for subnet.

Fixes bug 1061781

Change-Id: I459a1f11a9e4294c31d002c8dbcfde873e43c800
Treat invalid namespace call

Fixes bug 1060559

Change-Id: I29250100416b87f55781fb7e97339f6d3761513f
Add control_exchange option to common/config.py

fixes bug 1062517

Follows the instructions in the openstack/common/rpc/__init__.py and
defines a control_exchange option.

Change-Id: I92c50e1aea44954b2c9d62db1df536b9044b6951
Improve unit test times

Revert the change using a temporary file for the database.
The sqlalchemy version is updated to >=0.7.8 (this includes
fixes for memory leaks).

Change-Id: Ib5d128edfef0f8e0afebaf408f7834fa3de2481a
Merge "get_network in nvp plugin didn't return subnet information"
Merge "tests/unit/ryu/test_ryu_db: db failure"
Merge "Add control_exchange option to common/config.py"
Merge "Update vif driver of Ryu plugin"
Merge "Improve unit test times"
Ensures port is not created when database exception occurs

Fixes bug 1064261

The port creation code did not correctly treat a database error. That is,
if there was an exception the port would be created and an error returned
to the client.

Change-Id: I6cf36d1c641b46716afb16f228b8daa631099a5d
Logging indicates when service starts and terminates

Fixes bug 1064070

The patch adds a log entry indication that the service has started. In
addition to this if there is an "exit" statement in the code, then the
log message will indicate that the service has been terminated.

Change-Id: Idb6cff4b85d26331df2c6e14aa0680e82b4e2cd7
Merge OVSVethInterfaceDriver into OVSInterfaceDriver

Fixes bug 1049385

Due to some issues using OVS internal interfaces across namespaces
with OpenFlow controllers (bug 1048681), a patch introduced the
OVSVethInterfaceDriver in addition to the base OVSInterfaceDriver.
However, OVSVethInterfaceDriver is just a variation of OVSInterfaceDriver
and the difference is how to create an interface (OVS internal vs veth).
This patch merge OVSVethInterfaceDriver into OVSInterfaceDriver
by introducing a new flag 'ovs_use_veth' (which defaults to False).

Change-Id: Ie8b01e6776bf703f72a9e2a471b24e126f6e2322
Merge "correct nvplib to update device_id"
add test for create subnet with default gateway and conflict allocation pool

Create subnet with default gateway and conflict allocation pool should return
status code 409:
$ quantum subnet-create net1 --allocation-pool start=10.0.0.1,end=10.0.0.5 \
10.0.0.0/24
Found overlapping allocation pools:{u'start': u'10.0.0.1',
u'end': u'10.0.0.5'} 10.0.0.1 for subnet 10.0.0.0/24.

Change-Id: I8608314ad7899a752eea239dbe224e25c00a375b
Update common.

policy.py and setup.py are not updated as they cause test failures.
I will investigate them separately.

Change-Id: Ie46626e67ce5c32baf0eda9f63afb33611d5015a
Update default base database to be V2

Fixes bug 1070353

Change-Id: Ie9271dd1ef2597ba74a0fea51ecf151ae2e8f7dd
IP subnet validation fixes

Fixes bug #1067959

Assure prefix length is included in CIDR definition.

Change-Id: I32bb3dd1e5bffb409b3adee03015e21cce71caea