diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-12-04 20:16:02 +0100 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-12-24 15:20:29 +0100 |
commit | af3bcd37401865b7b54e7614a861910f0a1e5b82 (patch) | |
tree | 638aa64392b1548903c51851f9528fe1982fda6a /tools/dell | |
parent | 84673018337359cca686621ffdbc38ac81bf6641 (diff) | |
download | vyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.tar.gz vyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.zip |
add support for vep1400
Diffstat (limited to 'tools/dell')
33 files changed, 232 insertions, 0 deletions
diff --git a/tools/dell/90-vep.chroot b/tools/dell/90-vep.chroot new file mode 100755 index 00000000..a88a7de1 --- /dev/null +++ b/tools/dell/90-vep.chroot @@ -0,0 +1,16 @@ +#!/bin/sh +echo I: Change the default serial baud rate. +sed -i 's/9600/115200/g' /opt/vyatta/etc/config-migrate/migrate/system/3-to-4 + +echo "ShowStatus=yes" >> /etc/systemd/system.conf + +echo I: Disable default link rule. +rm /lib/systemd/network/99-default.link +touch /lib/systemd/network/99-default.link +rm /lib/udev/rules.d/65-vyatta-net.rules +touch /lib/udev/rules.d/65-vyatta-net.rules +rm /lib/udev/rules.d/75-persistent-net-generator.rules +touch /lib/udev/rules.d/75-persistent-net-generator.rules + +echo I: Update initramfs. +update-initramfs -u diff --git a/tools/dell/vep-hook b/tools/dell/vep-hook new file mode 100755 index 00000000..7dcaf034 --- /dev/null +++ b/tools/dell/vep-hook @@ -0,0 +1,28 @@ +#!/bin/sh -e + +PREREQS="" + +prereqs() { echo "$PREREQS"; } + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +mkdir -p $DESTDIR/etc/systemd/network +cp -p /etc/systemd/network/*.link $DESTDIR/etc/systemd/network/ + +mkdir -p $DESTDIR/lib/udev/rules.d +cp -p /lib/udev/rules.d/50-firmware.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/50-udev-default.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/55-dm.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-cdrom_id.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-persistent-storage-dm.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-persistent-storage.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/75-net-description.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/80-drivers.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/80-net-setup-link.rules $DESTDIR/lib/udev/rules.d/ diff --git a/tools/dell/vep1400/10-eth0-000.link b/tools/dell/vep1400/10-eth0-000.link new file mode 100644 index 00000000..db36f5ce --- /dev/null +++ b/tools/dell/vep1400/10-eth0-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:05:00.1 +Driver=ixgbe + +[Link] +Name=eth0 +Alias=SFP+1 diff --git a/tools/dell/vep1400/10-eth1-000.link b/tools/dell/vep1400/10-eth1-000.link new file mode 100644 index 00000000..7bf1a175 --- /dev/null +++ b/tools/dell/vep1400/10-eth1-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:05:00.0 +Driver=ixgbe + +[Link] +Name=eth1 +Alias=SFP+2 diff --git a/tools/dell/vep1400/10-eth2-000.link b/tools/dell/vep1400/10-eth2-000.link new file mode 100644 index 00000000..81f3f5bc --- /dev/null +++ b/tools/dell/vep1400/10-eth2-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:02:00.2 +Driver=igb + +[Link] +Name=eth2 +Alias=GE1 diff --git a/tools/dell/vep1400/10-eth3-000.link b/tools/dell/vep1400/10-eth3-000.link new file mode 100644 index 00000000..fe37dfac --- /dev/null +++ b/tools/dell/vep1400/10-eth3-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:02:00.3 +Driver=igb + +[Link] +Name=eth3 +Alias=GE2 diff --git a/tools/dell/vep1400/10-eth4-000.link b/tools/dell/vep1400/10-eth4-000.link new file mode 100644 index 00000000..a76ecd24 --- /dev/null +++ b/tools/dell/vep1400/10-eth4-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:02:00.0 +Driver=igb + +[Link] +Name=eth4 +Alias=GE3 diff --git a/tools/dell/vep1400/10-eth5-000.link b/tools/dell/vep1400/10-eth5-000.link new file mode 100644 index 00000000..0e848dde --- /dev/null +++ b/tools/dell/vep1400/10-eth5-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:02:00.1 +Driver=igb + +[Link] +Name=eth5 +Alias=GE4 diff --git a/tools/dell/vep1400/10-eth6-000.link b/tools/dell/vep1400/10-eth6-000.link new file mode 100644 index 00000000..10ad451d --- /dev/null +++ b/tools/dell/vep1400/10-eth6-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:07:00.1 +Driver=ixgbe + +[Link] +Name=eth6 +Alias=GE5 diff --git a/tools/dell/vep1400/10-eth7-000.link b/tools/dell/vep1400/10-eth7-000.link new file mode 100644 index 00000000..57b94502 --- /dev/null +++ b/tools/dell/vep1400/10-eth7-000.link @@ -0,0 +1,7 @@ +[Match] +Path=pci-0000:07:00.0 +Driver=ixgbe + +[Link] +Name=eth7 +Alias=GE6 diff --git a/tools/dell/vep4600/10-eth0-000.link b/tools/dell/vep4600/10-eth0-000.link new file mode 100644 index 00000000..9b466fe8 --- /dev/null +++ b/tools/dell/vep4600/10-eth0-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:04:00.0 +Driver=igb + +[Link] +Name=eth0 diff --git a/tools/dell/vep4600/10-eth0-001.link b/tools/dell/vep4600/10-eth0-001.link new file mode 100644 index 00000000..c60acc3a --- /dev/null +++ b/tools/dell/vep4600/10-eth0-001.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:05:00.0 +Driver=igb + +[Link] +Name=eth0 diff --git a/tools/dell/vep4600/10-eth1-000.link b/tools/dell/vep4600/10-eth1-000.link new file mode 100644 index 00000000..c49b7bda --- /dev/null +++ b/tools/dell/vep4600/10-eth1-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b8:00.0 +Driver=i40e + +[Link] +Name=eth1 diff --git a/tools/dell/vep4600/10-eth1-001.link b/tools/dell/vep4600/10-eth1-001.link new file mode 100644 index 00000000..f7af410b --- /dev/null +++ b/tools/dell/vep4600/10-eth1-001.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b6:00.2 +Driver=i40e + +[Link] +Name=eth1 diff --git a/tools/dell/vep4600/10-eth10-000.link b/tools/dell/vep4600/10-eth10-000.link new file mode 100644 index 00000000..414b2d30 --- /dev/null +++ b/tools/dell/vep4600/10-eth10-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:65:00.3 +Driver=i40e + +[Link] +Name=eth10 diff --git a/tools/dell/vep4600/10-eth11-000.link b/tools/dell/vep4600/10-eth11-000.link new file mode 100644 index 00000000..0579dcff --- /dev/null +++ b/tools/dell/vep4600/10-eth11-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:17:00.0 +Driver=i40e + +[Link] +Name=eth11 diff --git a/tools/dell/vep4600/10-eth12-000.link b/tools/dell/vep4600/10-eth12-000.link new file mode 100644 index 00000000..9f9a3c0c --- /dev/null +++ b/tools/dell/vep4600/10-eth12-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:17:00.1 +Driver=i40e + +[Link] +Name=eth12 diff --git a/tools/dell/vep4600/10-eth13-000.link b/tools/dell/vep4600/10-eth13-000.link new file mode 100644 index 00000000..8b8c2254 --- /dev/null +++ b/tools/dell/vep4600/10-eth13-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:17:00.2 +Driver=i40e + +[Link] +Name=eth13 diff --git a/tools/dell/vep4600/10-eth14-000.link b/tools/dell/vep4600/10-eth14-000.link new file mode 100644 index 00000000..a746ada9 --- /dev/null +++ b/tools/dell/vep4600/10-eth14-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:17:00.3 +Driver=i40e + +[Link] +Name=eth14 diff --git a/tools/dell/vep4600/10-eth2-000.link b/tools/dell/vep4600/10-eth2-000.link new file mode 100644 index 00000000..7c100cee --- /dev/null +++ b/tools/dell/vep4600/10-eth2-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b8:00.1 +Driver=i40e + +[Link] +Name=eth2 diff --git a/tools/dell/vep4600/10-eth2-001.link b/tools/dell/vep4600/10-eth2-001.link new file mode 100644 index 00000000..c92406b9 --- /dev/null +++ b/tools/dell/vep4600/10-eth2-001.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b6:00.3 +Driver=i40e + +[Link] +Name=eth2 diff --git a/tools/dell/vep4600/10-eth3-000.link b/tools/dell/vep4600/10-eth3-000.link new file mode 100644 index 00000000..824670ec --- /dev/null +++ b/tools/dell/vep4600/10-eth3-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:02:00.1 +Driver=igb + +[Link] +Name=eth3 diff --git a/tools/dell/vep4600/10-eth4-000.link b/tools/dell/vep4600/10-eth4-000.link new file mode 100644 index 00000000..ed3a80a2 --- /dev/null +++ b/tools/dell/vep4600/10-eth4-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:02:00.0 +Driver=igb + +[Link] +Name=eth4 diff --git a/tools/dell/vep4600/10-eth5-000.link b/tools/dell/vep4600/10-eth5-000.link new file mode 100644 index 00000000..5d21982d --- /dev/null +++ b/tools/dell/vep4600/10-eth5-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:02:00.3 +Driver=igb + +[Link] +Name=eth5 diff --git a/tools/dell/vep4600/10-eth6-000.link b/tools/dell/vep4600/10-eth6-000.link new file mode 100644 index 00000000..a00a0c43 --- /dev/null +++ b/tools/dell/vep4600/10-eth6-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:02:00.2 +Driver=igb + +[Link] +Name=eth6 diff --git a/tools/dell/vep4600/10-eth7-000.link b/tools/dell/vep4600/10-eth7-000.link new file mode 100644 index 00000000..3db698ae --- /dev/null +++ b/tools/dell/vep4600/10-eth7-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:65:00.0 +Driver=i40e + +[Link] +Name=eth7 diff --git a/tools/dell/vep4600/10-eth8-000.link b/tools/dell/vep4600/10-eth8-000.link new file mode 100644 index 00000000..9858190a --- /dev/null +++ b/tools/dell/vep4600/10-eth8-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:65:00.1 +Driver=i40e + +[Link] +Name=eth8 diff --git a/tools/dell/vep4600/10-eth9-000.link b/tools/dell/vep4600/10-eth9-000.link new file mode 100644 index 00000000..62ba54f2 --- /dev/null +++ b/tools/dell/vep4600/10-eth9-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:65:00.2 +Driver=i40e + +[Link] +Name=eth9 diff --git a/tools/dell/vep4600/10-unused0-000.link b/tools/dell/vep4600/10-unused0-000.link new file mode 100644 index 00000000..60acba9f --- /dev/null +++ b/tools/dell/vep4600/10-unused0-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b8:00.2 +Driver=i40e + +[Link] +Name=unused0 diff --git a/tools/dell/vep4600/10-unused0-001.link b/tools/dell/vep4600/10-unused0-001.link new file mode 100644 index 00000000..8cec8534 --- /dev/null +++ b/tools/dell/vep4600/10-unused0-001.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b6:00.0 +Driver=i40e + +[Link] +Name=unused0 diff --git a/tools/dell/vep4600/10-unused1-000.link b/tools/dell/vep4600/10-unused1-000.link new file mode 100644 index 00000000..0860d005 --- /dev/null +++ b/tools/dell/vep4600/10-unused1-000.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b8:00.3 +Driver=i40e + +[Link] +Name=unused1 diff --git a/tools/dell/vep4600/10-unused1-001.link b/tools/dell/vep4600/10-unused1-001.link new file mode 100644 index 00000000..8d4a4890 --- /dev/null +++ b/tools/dell/vep4600/10-unused1-001.link @@ -0,0 +1,6 @@ +[Match] +Path=pci-0000:b6:00.1 +Driver=i40e + +[Link] +Name=unused1 diff --git a/tools/dell/vep4600/99-default.link b/tools/dell/vep4600/99-default.link new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tools/dell/vep4600/99-default.link |