In order for instances using SR-IOV to communicate with instances using OVS or linux bridge on the same hypervisor host, the embedded switch (eswitch) forwarding database (FDB) of an SR-IOV NIC must be updated with a MAC address of an OVS/linux bridge port.
From the charm perspective, ML2 extension should be added using the same mechanism as the QoS extension: settings from neutron-api need to be propagated to neutron-gateway and neutron-openvswitch and the shared_physical_device_mappings config should be added to neutron-gateway and neutron-openvswitch config.
In order for instances using SR-IOV to communicate with instances using OVS or linux bridge on the same hypervisor host, the embedded switch (eswitch) forwarding database (FDB) of an SR-IOV NIC must be updated with a MAC address of an OVS/linux bridge port.
From the charm perspective, ML2 extension should be added using the same mechanism as the QoS extension: settings from neutron-api need to be propagated to neutron-gateway and neutron-openvswitch and the shared_ physical_ device_ mappings config should be added to neutron-gateway and neutron-openvswitch config.
https:/ /docs.openstack .org/neutron/ queens/ admin/config- sriov.html# optional- fdb-l2- agent-extension
l2 extension commit commit: /github. com/openstack/ neutron/ commit/ 2c8f61b816bf531 a17a7b45d35a538 8e8a2f607a agent.l2. extensions. fdb_population: FdbPopulationAg entExtension
https:/
neutron.
bridge fdb add de:ad:be:e:f:00 <interface_name>
# this invocation in the code /github. com/openstack/ neutron/ blob/stable/ queens/ neutron/ agent/linux/ bridge_ lib.py# L117-L119
https:/
https:/ /github. com/openstack/ neutron/ blob/stable/ queens/ neutron/ agent/l2/ extensions/ fdb_population. py#L81- L102
bridge_ lib.FdbInterfac e.add(mac, device)
def update_port(self, device, port_id, mac):
# ...
# ...
config: /github. com/openstack/ neutron/ blob/stable/ queens/ neutron/ conf/agent/ l2_ext_ fdb_population. py physical_ device_ mappings
help= _("Comma- separated list of "
"<physical_ network> :<network_ device> tuples mapping "
"physical network names to the agent's node-specific "
"shared physical network device between "
"SR-IOV and OVS or SR-IOV and linux bridge"))
https:/
shared_