cloudinit.net.get_devicelist includes "bonding_masters" if present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
$ ls -l /sys/class/net/
total 0
lrwxrwxrwx 1 root root 0 Feb 26 21:51 bond0 -> ../../devices/
-rw-r--r-- 1 root root 4096 Feb 26 21:51 bonding_masters
lrwxrwxrwx 1 root root 0 Feb 26 21:51 enp5s0 -> ../../devices/
lrwxrwxrwx 1 root root 0 Feb 26 21:51 lo -> ../../devices/
lrwxrwxrwx 1 root root 0 Feb 26 21:51 ovs-br -> ../../devices/
lrwxrwxrwx 1 root root 0 Feb 26 21:51 ovs-br.100 -> ../../devices/
lrwxrwxrwx 1 root root 0 Feb 26 21:51 ovs-system -> ../../devices/
$ python3 -c "from cloudinit.net import get_devicelist; print(get_
['bonding_masters', 'enp5s0', 'bond0', 'ovs-system', 'ovs-br.100', 'lo', 'ovs-br']
This doesn't present an issue currently, I don't believe.