summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-sw1.yml
blob: 21fb8665f541203967babab2f9a5fa358d767dbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
switch_interfaces_yaml: |
  - spec: Te1/0/1
    description: "sw0"
    switchport_mode: trunk

  - spec: Te1/0/2
    description: "prometheus"
    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-26
    vlan: {{ network_zones['svc'].vlan }}

  - spec: range Gi1/0/27-28
    vlan: {{ network_zones['mgmt'].vlan }}