kuryr/kuryr/tests/unit
Hongbin Lu da736d115b Allow multiple binding drivers
In before, only one binding driver is allowed. This patch introduces
a new config to support multiple binding drivers. The first use case
is to allow SR-IOV binding to be co-existed with other binding.

* Rename the config 'driver' to 'default_driver' in 'binding' group.
  This is for making it clear that it is allowed to have more than
  one type of bindings.
* Introduce a new config called 'enabled_drivers'.
* Allow client to pass a driver name to port_bind and port_unbind.
  If this parameter is None, kuryr will load the default driver.

Partial-Implements: blueprint sriov-binding
Change-Id: I14b23379de9f2459ba97d5d82dfdb51553370cb1
2017-10-17 12:06:57 -04:00
..
binding Allow multiple binding drivers 2017-10-17 12:06:57 -04:00
segmentation_type_drivers Allow multiple binding drivers 2017-10-17 12:06:57 -04:00
__init__.py Separate unit tests from fullstack tests 2015-12-08 09:08:04 +02:00
base.py Add unit test for veth binding driver 2017-03-01 17:05:31 +08:00
test_config.py Allow multiple binding drivers 2017-10-17 12:06:57 -04:00
test_opts.py binding: Add driver based subsystem 2016-10-03 12:28:01 +02:00
test_utils.py E128 ignore statement make code unclearly 2017-02-13 19:40:18 +08:00