Consider an L2-type network using the Linux Bridge mechanism driver. As noted in the neutron documentation, physets are mapped to interfaces using the [linux_bridge] physical_interface_mappings configuration option. For example:
[linux_bridge]
physical_interface_mappings = provider:PROVIDER_INTERFACE
Once you have the device name, you can query sysfs to retrieve the NUMA affinity for this device. For example:
$ cat /sys/class/net/PROVIDER_INTERFACE/device/numa_node
However, there are not physical_interface_mappings configuration in stx, only '[ovs] bridge_mappings = physnet0:br-phy0,physnet1:br-phy1,' is set. And numa_node files are not found.
controller-0:~# cat /sys/class/net/br-phy0/device/numa_node
cat: /sys/class/net/br-phy0/device/numa_node: No such file or directory
controller-0:~# cat /sys/class/net/br-phy1/device/numa_node
cat: /sys/class/net/br-phy1/device/numa_node: No such file or directory
The physical interfaces' numa_node files are existed.
enp59s0f0 <-> br-phy0
enp157s0f1 <-> br-phy1
When studying the nova docs, https:/ /docs.openstack .org/nova/ stein/admin/ networking. html, I found the below descriptions.
Consider an L2-type network using the Linux Bridge mechanism driver. As noted in the neutron documentation, physets are mapped to interfaces using the [linux_bridge] physical_ interface_ mappings configuration option. For example: interface_ mappings = provider: PROVIDER_ INTERFACE
[linux_bridge]
physical_
Once you have the device name, you can query sysfs to retrieve the NUMA affinity for this device. For example: net/PROVIDER_ INTERFACE/ device/ numa_node
$ cat /sys/class/
However, there are not physical_ interface_ mappings configuration in stx, only '[ovs] bridge_mappings = physnet0: br-phy0, physnet1: br-phy1, ' is set. And numa_node files are not found.
controller-0:~# cat /sys/class/ net/br- phy0/device/ numa_node net/br- phy0/device/ numa_node: No such file or directory net/br- phy1/device/ numa_node net/br- phy1/device/ numa_node: No such file or directory
cat: /sys/class/
controller-0:~# cat /sys/class/
cat: /sys/class/
The physical interfaces' numa_node files are existed.
enp59s0f0 <-> br-phy0
enp157s0f1 <-> br-phy1
controller-0:~# cat /sys/class/ net/enp59s0f0/ device/ numa_node net/enp175s0f1/ device/ numa_node
0
controller-0:~# cat /sys/class/
1
So are the configurations or someting correct?