summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network
diff options
context:
space:
mode:
authorAlexander Filippov <a.filippov@yadro.com>2020-06-08 12:51:56 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-06-26 22:45:42 +0300
commit3985d5fe0843ea3898dfbb57fa57cb6cb545e80d (patch)
tree9614267a3a4e262cee7eeaa0c7eadfbe10485104 /meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network
parent70b38d67003e9c013f8769a7a2427697b28656d1 (diff)
downloadopenbmc-3985d5fe0843ea3898dfbb57fa57cb6cb545e80d.tar.xz
nicole: Add default network configs for Tatlin
This adds VLAN4004 configuration to the nicole firmware image. The IPv6 address will be chosen depending on the BMC position. During the firmware upgrade the stored previous version of `/etc/systemd/network/00-bmc-eth0.network` may prevent to start new VLAN4004 interface. This commit also adds a service which should fix this issue on the first boot time after upgrade by adding necessary option to the interface configuration file if it is not present yet. Tested: BMC now has additional `eth0.4004` interface use static IPv6 address and this address depend on BMC position. (From meta-yadro rev: 83aa32ac997e6dc66cc5e2041a0a3cb723e950d9) Change-Id: I5fc6663ddee67aafcfa9f2004083d8a4a528950f Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network')
-rw-r--r--meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network b/meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network
new file mode 100644
index 0000000000..534cbe9b1b
--- /dev/null
+++ b/meta-yadro/meta-nicole/recipes-phosphor/network/vlan-4004/00-bmc-eth0.4004.0.network
@@ -0,0 +1,8 @@
+[Match]
+Name=eth0.4004
+KernelCommandLine=bmcposition=0
+[Network]
+LinkLocalAddressing=yes
+IPv6AcceptRA=true
+DHCP=no
+Address=fd59:4144:524f:5441:544c:494e:3:1/122