summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules b/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules
new file mode 100644
index 00000000..095a3ea6
--- /dev/null
+++ b/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules
@@ -0,0 +1,9 @@
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:04:00.0", ENV{VYOS_IFNAME}="eth0"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.0", ENV{VYOS_IFNAME}="eth1"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.1", ENV{VYOS_IFNAME}="eth2"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.2", ENV{VYOS_IFNAME}="eth3"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.3", ENV{VYOS_IFNAME}="eth4"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth5", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.1", ENV{VYOS_IFNAME}="eth6", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:08:00.0", ENV{VYOS_IFNAME}="eth7", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:08:00.1", ENV{VYOS_IFNAME}="eth8", ATTR{ifalias}="SFP+"