From 718b6cc912612b094585fe6d4dd1abe809bc6c10 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 14 May 2019 19:56:56 +0200 Subject: [PATCH] switches: manually prepare switch-a1 --- salt-pillar/hosts/init.sls | 1 + salt-pillar/switches/init.sls | 54 ++++++++++++++++++++++++++++++++--- 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/salt-pillar/hosts/init.sls b/salt-pillar/hosts/init.sls index aebd1ee..6c34909 100644 --- a/salt-pillar/hosts/init.sls +++ b/salt-pillar/hosts/init.sls @@ -7,6 +7,7 @@ hosts-inet: switch-c1: 10.0.0.12 switch-d1: 10.0.0.13 switch-c3d2-main: 10.0.0.14 + switch-a1: 10.0.0.15 ap1: 10.0.0.41 ap2: 10.0.0.42 ap3: 10.0.0.43 diff --git a/salt-pillar/switches/init.sls b/salt-pillar/switches/init.sls index 067aad1..ba1b388 100644 --- a/salt-pillar/switches/init.sls +++ b/salt-pillar/switches/init.sls @@ -542,9 +542,9 @@ switches: - mgmt - pub - c3d2 - ap17: - mode: trunk - ports: 16 + switch-a1: + mode: bond + ports: 15-16 vlans: - mgmt - pub @@ -691,7 +691,7 @@ switches: - mgmt - pub - c3d2 - ap32: + ap32old: mode: trunk ports: 5 vlans: @@ -715,3 +715,49 @@ switches: 2i+VD94/nzLdvg== =1SbG -----END PGP MESSAGE----- + + switch-a1: + model: "Ubiquiti UniFi Switch-8" + location: Saal A + ports: + mgmt: + mode: access + ports: 0/1 + switch-c1: + mode: trunk + ports: 0/7,0/8 + vlans: + - mgmt + - pub + - privTODO + priv7: + mode: access + ports: 0/2 + ap32: + mode: trunk + ports: 0/3 + poe: passive24v + vlans: + - mgmt + - pub + ap33: + mode: trunk + ports: 0/4 + poe: passive24v + vlans: + - mgmt + - pub + ap34: + mode: trunk + ports: 0/5 + poe: passive24v + vlans: + - mgmt + - pub + apTODO: + mode: trunk + ports: 0/6 + poe: passive24v + vlans: + - mgmt + - pub