Skip to content

Commit

Permalink
updated VLAN Filter Tags (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthiel117 committed Apr 17, 2023
1 parent d05ee5d commit be74e6f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ leaf:
RACK1:
mlag: true
filter:
tags: [ "10" ]
tags: [ "Web" ]
nodes:
s1-leaf1:
id: 3
Expand All @@ -53,7 +53,7 @@ leaf:
RACK2:
mlag: true
filter:
tags: [ "20" ]
tags: [ "App" ]
nodes:
s1-leaf3:
id: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tenants:
svis:
10:
name: 'Ten'
tags: [ "10" ]
tags: [ "Web" ]
enabled: true
ip_virtual_router_addresses:
- 10.10.10.1
Expand All @@ -17,7 +17,7 @@ tenants:
ip_address: 10.10.10.3/24
20:
name: 'Twenty'
tags: [ "20" ]
tags: [ "App" ]
enabled: true
ip_virtual_router_addresses:
- 10.20.20.1
Expand Down
4 changes: 2 additions & 2 deletions workshops/avd-lab-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ The `sites/site_1/group_vars/SITE1_FABRIC.yml` file should now look like the exa
node_groups:
RACK1:
filter:
tags: [ "10" ]
tags: [ "Web" ]
nodes:
s1-leaf1:
id: 3
Expand All @@ -716,7 +716,7 @@ The `sites/site_1/group_vars/SITE1_FABRIC.yml` file should now look like the exa
uplink_switch_interfaces: [ Ethernet3, Ethernet3 ]
RACK2:
filter:
tags: [ "20" ]
tags: [ "App" ]
nodes:
s1-leaf3:
id: 5
Expand Down
8 changes: 4 additions & 4 deletions workshops/avd.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ leaf:
# Filter which Vlans will be applied to the node_group, comma-separated tags supported
# Tags for each Vlan are defined in the SITE1_FABRIC_SERVICES.yml
filter:
tags: [ "10" ]
tags: [ "Web" ]
nodes:
s1-leaf1:
id: 3
Expand All @@ -335,7 +335,7 @@ leaf:
uplink_switch_interfaces: [ Ethernet3, Ethernet3 ]
RACK2:
filter:
tags: [ "20" ]
tags: [ "App" ]
nodes:
s1-leaf3:
id: 5
Expand Down Expand Up @@ -403,7 +403,7 @@ tenants:
# Vlan Name
name: 'Ten'
# Tag assigned to Vlan. Used as a filter by each node_group
tags: [ "10" ]
tags: [ "Web" ]
enabled: true
# SVI Virtual ARP address, used along with pre-defined virtual_router_mac_address
ip_virtual_router_addresses:
Expand All @@ -416,7 +416,7 @@ tenants:
ip_address: 10.10.10.3/24
20:
name: 'Twenty'
tags: [ "20" ]
tags: [ "App" ]
enabled: true
ip_virtual_router_addresses:
- 10.20.20.1
Expand Down
16 changes: 8 additions & 8 deletions workshops/cicd-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ We can look at the benefits of pre-commit by introducing three errors in a group
```yaml
20:
name: 'Twenty'
tags: [ "20" ]
tags: [ "App" ]
enabled: true
ip_virtual_router_addresses:
- 10.20.20.1
Expand Down Expand Up @@ -337,7 +337,7 @@ We can see all three failures. pre-commit hooks will try and fix errors if possi
```yaml
20:
name: 'Twenty'
tags: [ "20" ]
tags: [ "App" ]
enabled: true
ip_virtual_router_addresses:
- 10.20.20.1
Expand Down Expand Up @@ -480,7 +480,7 @@ This example workflow will add two new VLANs to our sites. Site 1 will add VLAN
svis:
10:
name: 'Ten'
tags: [ "10" ]
tags: [ "Web" ]
enabled: true
ip_virtual_router_addresses:
- 10.10.10.1
Expand All @@ -491,7 +491,7 @@ This example workflow will add two new VLANs to our sites. Site 1 will add VLAN
ip_address: 10.10.10.3/24
20:
name: 'Twenty'
tags: [ "20" ]
tags: [ "App" ]
enabled: true
ip_virtual_router_addresses:
- 10.20.20.1
Expand All @@ -502,7 +502,7 @@ This example workflow will add two new VLANs to our sites. Site 1 will add VLAN
ip_address: 10.20.20.3/24
25:
name: 'Twenty-five'
tags: [ "25" ]
tags: [ "Wifi" ]
enabled: true
ip_virtual_router_addresses:
- 10.25.25.1
Expand Down Expand Up @@ -554,7 +554,7 @@ Since this is a development branch, we are only testing for valid variable files
svis:
30:
name: 'Thirty'
tags: [ "30" ]
tags: [ "DB" ]
enabled: true
ip_virtual_router_addresses:
- 10.30.30.1
Expand All @@ -565,7 +565,7 @@ Since this is a development branch, we are only testing for valid variable files
ip_address: 10.30.30.3/24
40:
name: 'Forty'
tags: [ "40" ]
tags: [ "DMZ" ]
enabled: true
ip_virtual_router_addresses:
- 10.40.40.1
Expand All @@ -576,7 +576,7 @@ Since this is a development branch, we are only testing for valid variable files
ip_address: 10.40.40.3/24
45:
name: 'Forty-five'
tags: [ "45" ]
tags: [ "Guest" ]
enabled: true
ip_virtual_router_addresses:
- 10.45.45.1
Expand Down
2 changes: 1 addition & 1 deletion workshops/jinja-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ ntp:
svis:
10:
name: 'DATA'
tags: ['10']
tags: ['Web']
enabled: true
ip_virtual_router_addresses:
- 10.10.10.1
Expand Down

0 comments on commit be74e6f

Please sign in to comment.