]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add a common test case for Port Binding Extension
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Wed, 16 Jan 2013 02:13:15 +0000 (11:13 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Wed, 16 Jan 2013 16:45:15 +0000 (01:45 +0900)
commit1a76d75d07cfcb59f1437cb25db793acdb6148f6
treeb232f1c48513d87c05239558e02f916b3215a53e
parentd8b0f10ec7a5e0726d1b09e84e6cc388d957ba03
Add a common test case for Port Binding Extension

This commit merges the test cases for Port Binding Extension in
Linux Bridge plugin and Open vSwitch plugin into a common one.
It makes it easier for each plugin to support the port binding extension.

This commit also adds binding:capabilities attribute to OVS plugin.
Note that binding:capabilities is under discussion and it may be changed
in the future. This change is done just to make OVS plugin support
same as Linux Bridge plugin and pass the common unit test for the extension.

blueprint vif-plugging-improvements

Change-Id: Idc38ea65fe2059e23814d94cd0a0f11a09d1f43e
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/_test_extension_portbindings.py [new file with mode: 0644]
quantum/tests/unit/linuxbridge/test_linuxbridge_plugin.py
quantum/tests/unit/openvswitch/test_openvswitch_plugin.py