fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

Allow multiple IP's per interface for IB #238

Closed jabl closed 4 years ago

jabl commented 5 years ago

When using Lustre LNet multi-rail it's still useful to split different server adapters into separate subnets, but no need to create multiple pseudo devices on the clients, it suffices to just have multiple IP's on the same interface.

VilleS1 commented 4 years ago

Can you explain the logic? Why does it use "if item.address is not string" for example?

jabl commented 4 years ago

It assumes that if it's not a string then it's an iterable. So in group_vars you can provide a list of ip's and netmasks.