3c3bb020c8
* Introduce a new config 'enabled_port_drivers'. This config allows operators to specify multiple port drivers to enable. This enables Kuryr to dynamically choose from a list of port drivers (Veth or SRIOV). * Introduce a new SRIOV port driver for performing SRIOV port binding * Choose port driver according to the type of the port. If the neutron port has SRIOV vnic type, choose the SRIOV port driver. Otherwise, choose the normal port driver (i.e. veth). * To use this feature, users are supposed to pre-create a SRIOV port and have the binding:profile populated. Furthermore, users should pass the SRIOV port to Kuryr (i.e. using --mac-address <port_mac> and/or --ip <port_ip> on 'docker run') so that Kuryr will choose the right driver. Implements: blueprint sriov-support Change-Id: I0d6552ce4a2c50edb164aff3de802e6239671c2c |
||
---|---|---|
.. | ||
drivers | ||
__init__.py | ||
test_base.py | ||
test_driver.py |