summaryrefslogtreecommitdiff
path: root/_graveyard_/inventory/host_vars/r3-cccamp19-sw0.yml
blob: 5b01d940eef20a95fc5c5326533c2a8560f17712 (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_mgmt_zone: "{{ network_zones.mgmt }}"
switch_mgmt_interface: "Gi1/0/28"

switch_vlans: "{{ switch_vlans_yaml | from_yaml }}"
switch_vlans_yaml: |
  {% for zone_name in network_zones.keys() %}
  - name: "{{ zone_name }}"
    id: "{{ network_zones[zone_name].vlan }}"
  {% endfor %}

switch_interfaces: "{{ switch_interfaces_yaml | from_yaml }}"
switch_interfaces_yaml: |
  - spec: range Te1/0/1-4
    vlan: {{ network_zones['cccamp19'].vlan }}
  - spec: range Gi1/0/5-16
    vlan: {{ network_zones['cccamp19'].vlan }}

  - spec: range Gi1/0/17-24
    vlan: {{ network_zones['protected'].vlan }}

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