summaryrefslogtreecommitdiff
path: root/tools/vendors/aaeon/64-vyos-aaeon-fws2365-net.rules
blob: 63ed51e3daedef3b30b4e645552c86838fe45feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ATTR{[dmi/id]board_name}!="FWS-2365", GOTO="end_aaeon_nic"

ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.0", ENV{VYOS_IFNAME}="eth1"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.0", ENV{VYOS_IFNAME}="eth2"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:04:00.0", ENV{VYOS_IFNAME}="eth3"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.0", ENV{VYOS_IFNAME}="eth4"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:06:00.0", ENV{VYOS_IFNAME}="eth5"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth6"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:0a:00.0", ENV{VYOS_IFNAME}="eth7",  ATTR{ifalias}="SFP+"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:0a:00.1", ENV{VYOS_IFNAME}="eth8",  ATTR{ifalias}="SFP+"

LABEL="end_aaeon_nic"