Skip to content

Commit

Permalink
Update GLB1300 for DSA transition
Browse files Browse the repository at this point in the history
  • Loading branch information
jkilpatr committed Jan 30, 2024
1 parent 902afa6 commit 3349d27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
5 changes: 2 additions & 3 deletions profiles/devices/glb1300.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ channel: 11
five_ghz_channel: 36

listen_interfaces:
- eth1
- eth0.4
- wan

lan_interfaces: "eth0.3"
lan_interfaces: "lan1 lan2"

# Reference value, see network.j2 to modify
wan_interface: "eth1"
Expand Down
22 changes: 1 addition & 21 deletions roles/build-config/templates/glb1300-network.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,4 @@ config globals 'globals'
config interface 'rita_{{interface | replace(".","")}}'
option ifname {{interface}}
option proto static
{% endfor %}

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '3'
option ports '3 0t'

config switch_vlan
option device 'switch0'
option vlan '4'
option ports '4 0t'

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0t'
{% endfor %}

0 comments on commit 3349d27

Please sign in to comment.