jobScheduler does not work when the first non-loopback interface has no ip address
Because the used splayclass is
sys.ipv4 is not defined when the first non-loopback interface has no IP address, the class triggerring the execution is never defined.
We can change this to hostname only as a workaround.
We also need to:
- Fix the interfaces parsing to take the first available IP and avoid stopping after the first interface having no defined address
- Add logs for splayclass to know at anytime what is the defined class in verbose logs
- More generally add logs when promises containing undefined variables are skipped