From 5b1b7241b7f6f15819946528147959950ba291d7 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 12 Nov 2020 19:40:41 +0100 Subject: [PATCH] nodes/home.nas: introduce --- nodes/home/nas.py | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 nodes/home/nas.py diff --git a/nodes/home/nas.py b/nodes/home/nas.py new file mode 100644 index 0000000..2088360 --- /dev/null +++ b/nodes/home/nas.py @@ -0,0 +1,48 @@ +# ZFS-Pool 'storage' is not configured using bw, because we're using +# RAID-Z2 with ZIL and ARC on SSDs + +nodes['home.nas'] = { + 'hostname': '172.19.138.90', + 'bundles': { + 'zfs', + }, + 'groups': set(), + 'metadata': { + 'interfaces': { + 'eno1': { + 'ips': { + '172.19.138.90/24', + }, + }, + 'br0': { + 'ips': { + '172.19.138.20/24', + }, + 'gateway4': '172.19.138.1', + }, + }, + 'systemd-networkd': { + 'bonds': { + 'bond0': { + 'match': { + 'enp8*', + 'enp9*', + }, + }, + }, + 'bridges': { + 'br0': { + 'match': { + 'bond0', + }, + }, + }, + }, + 'vm': { + 'cpu': 8, + 'ram': 16, + }, + }, + 'os': 'debian', + 'os_version': (11,), +}