LucidHorizons / ovirt-slaves-plugin

Jenkins plugin to control VM slaves managed by ovirt/RHEV
MIT License
3 stars 0 forks source link

Change handling of retrieval of IP addresses for a VM #8

Open LucidDan opened 7 years ago

LucidDan commented 7 years ago

Currently we grab the first IP address we find for a given interface.

It would be great if we could:

1) Choose an interface by name to use as the guest IP (or perhaps choose a network vlan/label to prefer, or both) 2) Choose a preference for IPv4 vs IPv6 3) Check the IP for validity, e.g. ignore any loopback addresses or such