On Wed, 2020-10-21 at 12:03 -0500, Gabriel Omar Gamero Montenegro wrote:
Dear all,
Is it possible to use the same physical NIC with the SR-IOV mechanism driver together with other mechanism driver like Open vSwitch or Linux Bridge? If this is the case, how should I map the physical NIC for each agent?
yes you have to use fdb extention which is support by ml2/ovs and ml2/linuxbridge https://github.com/openstack/neutron/blob/master/neutron/agent/l2/extensions...
but with that you can use the PF for ovs and the vf for vms. im not sure if there are other docs https://docs.openstack.org/neutron/rocky/admin/config-sriov.html#optional-fd... but that is a start
I only known how to map the NIC separately for each driver; for example:
- for the Linux bridge agent: physnet1: eth3,
- for the OvS agent: physnet1: br-provider
(eth3 is a port of br-provider)
- for the SR-IOV agent: physnet1: eth3
Any guide or sample reference about implementing multiple mechanism drivers would be highly appreciated.
Thanks in advance, Gabriel Gamero