Closed stdweird closed 6 days ago
i am testing this with a bond on infiniband devices, and it is a bit odd: eg a rerun of ncm-network (even after a reboot) skips the nmstatectl apply ib0
the seoncd time, yet the apply bond0
fails.
if i however do the apply ib0
followed by the apply bond0
it works. so it looks like we need something more ordered; or always re-apply the slave interfaces when brining up the bond (like the network.pm does)
current bonding code will run the apply on alphabetically sorted interface names.
for bond interfaces, the apply on the bond interface should run after the apply on the slave interfaces. (or try to create one big yml for bond and all slaves; that might make it a but more "atomic", not sure).