summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-sw0.yml
blob: f244c6c35cf1ecf45a66d5e181a685902f4ab856 (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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
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.lan.vlan }}
  - spec: Gi1/0/20
    description: "phoebe-eno1"
    vlan: {{ network_zones.svc.vlan }}
  - spec: Gi1/0/21
    description: "phoebe-eno4"
    switchport_mode: general
    tagged_only: true
    allowed_vlans_tagged:
    - {{ network_zones.iot.vlan }}
    - {{ network_zones.mgmt.vlan }}
  - spec: Gi1/0/22
    description: "phoebe-eno3"
    switchport_mode: general
    tagged_only: true
    allowed_vlans_tagged:
    - {{ network_zones.magenta.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 }}