diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-08-03 20:35:30 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-08-03 20:35:51 +0200 |
commit | 90ca36db8158de1376fd38b5e2a79456a1717002 (patch) | |
tree | ad5766e4581a210e4aa6de4c1d2369096c54067a /inventory/host_vars/ch-sw1.yml | |
parent | finalize ch-router config (diff) |
added ch-sw1
Diffstat (limited to 'inventory/host_vars/ch-sw1.yml')
-rw-r--r-- | inventory/host_vars/ch-sw1.yml | 23 |
1 files changed, 23 insertions, 0 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 }} |