summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-sw2.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-25 20:26:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-25 20:26:43 +0200
commit73d46b706e32a1079e6e6b3969562d6972ee4f14 (patch)
tree6d97caad56eb6e8c1e9de0a30d688b04e36f987f /inventory/host_vars/ch-sw2.yml
parentbasic apt-cache-ng role (diff)
ch-sw0,ch-sw1 -> ch-sw2,ch-sw3
Diffstat (limited to 'inventory/host_vars/ch-sw2.yml')
-rw-r--r--inventory/host_vars/ch-sw2.yml68
1 files changed, 68 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-sw2.yml b/inventory/host_vars/ch-sw2.yml
new file mode 100644
index 00000000..f2f6d3df
--- /dev/null
+++ b/inventory/host_vars/ch-sw2.yml
@@ -0,0 +1,68 @@
+---
+switch_interfaces_yaml: |
+ - spec: Te1/0/1
+ description: "sw1"
+ switchport_mode: trunk
+
+ - spec: Te1/0/2
+ description: "RFU"
+ switchport_mode: trunk
+
+ - spec: Te1/0/3
+ description: "FRU"
+ vlan: {{ network_zones.lan.vlan }}
+
+ - spec: Te1/0/4
+ description: "equinox-ws"
+ vlan: {{ network_zones.lan.vlan }}
+ - spec: Gi1/0/6
+ description: "equinox-ws"
+ vlan: {{ network_zones.mgmt.vlan }}
+
+ - spec: Gi1/0/5
+ vlan: {{ network_zones.lan.vlan }}
+ - spec: range Gi1/0/7-16
+ vlan: {{ network_zones.lan.vlan }}
+
+ - spec: range Gi1/0/17-18
+ description: "ap"
+ switchport_mode: general
+ tagged_only: true
+ allowed_vlans_tagged:
+ - {{ network_zones.mgmt.vlan }}
+ - {{ network_zones.lan.vlan }}
+ - {{ network_zones.iot.vlan }}
+
+ - spec: Gi1/0/19
+ description: "phoebe-eno2"
+ vlan: {{ network_zones.svc.vlan }}
+ - spec: Gi1/0/20
+ description: "phoebe-eno1"
+ vlan: {{ network_zones.lan.vlan }}
+ - spec: Gi1/0/21
+ description: "phoebe-eno4"
+ switchport_mode: general
+ tagged_only: true
+ allowed_vlans_tagged:
+ - {{ network_zones.magenta.vlan }}
+ - spec: Gi1/0/22
+ description: "phoebe-eno3"
+ switchport_mode: general
+ tagged_only: true
+ allowed_vlans_tagged:
+ - {{ network_zones.iot.vlan }}
+ - {{ network_zones.mgmt.vlan }}
+ - {{ network_zones.c3voc.vlan }}
+
+ - spec: Gi1/0/23
+ vlan: {{ network_zones.svc.vlan }}
+
+ - spec: Gi1/0/24
+ description: "magenta-modem"
+ vlan: {{ network_zones.magenta.vlan }}
+
+ - spec: range Gi1/0/25-26
+ vlan: {{ network_zones.iot.vlan }}
+
+ - spec: range Gi1/0/27-28
+ vlan: {{ network_zones.mgmt.vlan }}