summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-sw1.yml23
-rw-r--r--inventory/hosts.ini2
2 files changed, 24 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-sw1.yml b/inventory/host_vars/ch-sw1.yml
new file mode 100644
index 00000000..9ba68ed5
--- /dev/null
+++ b/inventory/host_vars/ch-sw1.yml
@@ -0,0 +1,23 @@
+---
+switch_interfaces_yaml: |
+ - spec: Te1/0/1
+ description: "sw0"
+ switchport_mode: trunk
+
+ - spec: Te1/0/2
+ description: "RFU"
+ switchport_mode: trunk
+
+ - spec: range Te1/0/3-4
+ vlan: {{ network_zones['lan'].vlan }}
+ - spec: range Gi1/0/5-16
+ vlan: {{ network_zones['lan'].vlan }}
+
+ - spec: range Gi1/0/17-22
+ vlan: {{ network_zones['iot'].vlan }}
+
+ - spec: range Gi1/0/23-27
+ vlan: {{ network_zones['svc'].vlan }}
+
+ - spec: Gi1/0/28
+ vlan: {{ network_zones['mgmt'].vlan }}
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index ac336af2..42a4434e 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -39,7 +39,7 @@ ansible_port=22
[chaos_at_home_switches]
ch-sw0 host_name=sw0 ansible_host=192.168.42.200
-ch-sw1 host_name=sw1
+ch-sw1 host_name=sw1 ansible_host=192.168.42.201
[chaos_at_home_ap]
ch-ap0 host_name=ap0