diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2019-12-31 21:32:37 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2019-12-31 21:32:37 +0000 |
commit | a7b0d3b4f213b28ae47e83e3f98681a63ca2f55b (patch) | |
tree | 26edf4e6bc48f3ce45d9e83a009cb5f816a87f67 /tools | |
parent | b5a162ce77027ec438ec37b66c87748954031d72 (diff) | |
download | vyos-build-a7b0d3b4f213b28ae47e83e3f98681a63ca2f55b.tar.gz vyos-build-a7b0d3b4f213b28ae47e83e3f98681a63ca2f55b.zip |
Create common build for Dell VEP1400/4600 devices
Diffstat (limited to 'tools')
-rw-r--r-- | tools/vendors_udev/64-vyos-VEP1400-net.rules | 12 | ||||
-rw-r--r-- | tools/vendors_udev/64-vyos-VEP4600-net.rules | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/vendors_udev/64-vyos-VEP1400-net.rules b/tools/vendors_udev/64-vyos-VEP1400-net.rules new file mode 100644 index 00000000..d14aa8f5 --- /dev/null +++ b/tools/vendors_udev/64-vyos-VEP1400-net.rules @@ -0,0 +1,12 @@ +ATTR{[dmi/id]board_name}!="VEP-1400", GOTO="end_dell_nic" + +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.1", ENV{VYOS_IFNAME}="eth0", ATTR{ifalias}="SFP+1" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.0", ENV{VYOS_IFNAME}="eth1", ATTR{ifalias}="SFP+2" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.2", ENV{VYOS_IFNAME}="eth2", ATTR{ifalias}="GE1" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.3", ENV{VYOS_IFNAME}="eth3", ATTR{ifalias}="GE2" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.0", ENV{VYOS_IFNAME}="eth4", ATTR{ifalias}="GE3" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.1", ENV{VYOS_IFNAME}="eth5", ATTR{ifalias}="GE4" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.1", ENV{VYOS_IFNAME}="eth6", ATTR{ifalias}="GE5" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth7", ATTR{ifalias}="GE6" + +LABEL="end_dell_nic"
\ No newline at end of file diff --git a/tools/vendors_udev/64-vyos-VEP4600-net.rules b/tools/vendors_udev/64-vyos-VEP4600-net.rules new file mode 100644 index 00000000..21aa166d --- /dev/null +++ b/tools/vendors_udev/64-vyos-VEP4600-net.rules @@ -0,0 +1,12 @@ +ATTR{[dmi/id]board_name}!="VEP-4600", GOTO="end_dell_nic" + +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:b6:00.0", ENV{VYOS_IFNAME}="eth1" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:b6:00.1", ENV{VYOS_IFNAME}="eth2" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.1", ENV{VYOS_IFNAME}="eth3" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.0", ENV{VYOS_IFNAME}="eth4" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.3", ENV{VYOS_IFNAME}="eth5" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.2", ENV{VYOS_IFNAME}="eth6" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:b6:00.2", NAME="unused0" +ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:b6:00.3", NAME="unused1" + +LABEL="end_dell_nic"
\ No newline at end of file |