Skip to content

Commit

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

# this device has a history of using low vlans and moving them around between
# releases because of that we've moved our own vlans up to 10+ and set it up
# such that port eth0.11 -> the switch (eth0) and port 1 (vlan 11 = 10 + port number 1)
listen_interfaces:
- eth1
- wan

lan_interfaces: "eth0.11 eth0.12 eth0.13 eth0.14"
lan_interfaces: "lan1 lan2 lan3 lan4"

rust_target: armv7-unknown-linux-musleabihf
28 changes: 1 addition & 27 deletions roles/build-config/templates/ea6350v3-network.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +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'

# you can't use vlan 1 on this device, so we put port 1 on vlan 5
config switch_vlan
option device 'switch0'
option vlan '11'
option ports '1 0t'

config switch_vlan
option device 'switch0'
option vlan '12'
option ports '2 0t'

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

config switch_vlan
option device 'switch0'
option vlan '14'
option ports '4 0t'
{% endfor %}

0 comments on commit 9c366f5

Please sign in to comment.