Skip to content

Instantly share code, notes, and snippets.

@platu
Last active March 24, 2024 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save platu/a8242cd7869ead586e6bc7a355d32883 to your computer and use it in GitHub Desktop.
Save platu/a8242cd7869ead586e6bc7a355d32883 to your computer and use it in GitHub Desktop.
IaC Lab 3 host_vars
---
lab_name: iac_lab03
image_name: c8000v-universalk9.17.13.01a
oob_vlan: 28
taps:
- name: tapXX3
vlan_mode: access
tag: "{{ oob_vlan }}"
link: RXXX_mgmt
switch: dsw-host
- name: tapXX4
vlan_mode: access
tag: 230
link: RXXX_G1
switch: dsw-host
- name: tapXX5
vlan_mode: access
tag: 999
link: RXXX_G2
switch: dsw-host
- name: tapYY6
vlan_mode: access
tag: "{{ oob_vlan }}"
link: RYYY_mgmt
switch: dsw-host
- name: tapYY7
vlan_mode: access
tag: 230
link: RYYY_G1
switch: dsw-host
- name: tapYY8
vlan_mode: access
tag: 999
link: RYYY_G2
switch: dsw-host
---
patches:
mgmt: tapXX3
g2: tapXX4
g3: tapXX5
interfaces:
- interface_type: GigabitEthernet
interface_id: 2
description: --> VLAN 230
enabled: true
ipv4_address: 10.0.228.3/22
ipv6_address: 2001:678:3fc:e6::3/64
- interface_type: GigabitEthernet
interface_id: 3
description: --> VLAN 999
enabled: false
default_routes:
ipv4_next_hop: 10.0.228.1
ipv6_next_hop: 2001:678:3fc:e6::1
---
patches:
mgmt: tapYY6
g2: tapYY7
g3: tapYY8
interfaces:
- interface_type: GigabitEthernet
interface_id: 2
description: --> VLAN 230
enabled: true
ipv4_address: 10.0.228.6/22
ipv6_address: 2001:678:3fc:e6::6/64
- interface_type: GigabitEthernet
interface_id: 3
description: --> VLAN 999
enabled: false
default_routes:
ipv4_next_hop: 10.0.228.1
ipv6_next_hop: 2001:678:3fc:e6::1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment