New implementation of network interfaces

Combine interfaces and network_ether_interfaces into one common
variable network_interfaces. Provisioning uses format:

network_interfaces:
  - device: device name eg. vio0 or eth0
    vlan: vlan id for this interface
    mac: mac address for interface (optional)

Additionally network role will use more settings to configure
interface.
This commit is contained in:
Timo Makinen 2020-08-27 17:42:07 +00:00
parent 78c9a2eaf1
commit c80eca3d85
11 changed files with 46 additions and 19 deletions

View file

@ -1,6 +1,9 @@
---
interfaces: [[20, "52:54:00:ac:dc:1f"]]
vmhost: vmhost01.home.foo.sh
network_interfaces:
- device: eth0
vlan: 20
mac: 52:54:00:ac:dc:1f
datadisks:
- 10