interface_driver = networking_foo.agent.linux.interface.FooInterfaceDriver
**ToDo: Interface Driver port bindings.**
- These are currently defined by the ``VIF_TYPES`` in
- ``neutron/extensions/portbindings.py``. We could make this config-driven
- for agents. For Nova, selecting the VIF driver can be done outside of
+ ``VIF_TYPE_*`` constants in ``neutron/extensions/portbindings.py`` should be
+ moved from neutron core to the repositories where their drivers are
+ implemented. We need to provide some config or hook mechanism for VIF types
+ to be registered by external interface drivers. For Nova, selecting the VIF
+ driver can be done outside of
Neutron (using the new `os-vif python library
<https://review.openstack.org/193668>`_?). Armando and Akihiro to discuss.
VIF_TYPE_HW_VEB = 'hw_veb'
VIF_TYPE_VROUTER = 'vrouter'
VIF_TYPE_OTHER = 'other'
-VIF_TYPES = [VIF_TYPE_UNBOUND, VIF_TYPE_BINDING_FAILED, VIF_TYPE_OVS,
- VIF_TYPE_IVS, VIF_TYPE_BRIDGE, VIF_TYPE_802_QBG,
- VIF_TYPE_802_QBH, VIF_TYPE_HYPERV, VIF_TYPE_MIDONET,
- VIF_TYPE_IB_HOSTDEV, VIF_TYPE_HW_VEB,
- VIF_TYPE_DVS, VIF_TYPE_OTHER, VIF_TYPE_DISTRIBUTED,
- VIF_TYPE_VROUTER]
VNIC_NORMAL = 'normal'
VNIC_DIRECT = 'direct'