From d85fc8fb0530b233b70c421e31ecd2a757ad3dcb Mon Sep 17 00:00:00 2001
From: Pierre Jacquot <pierre.jacquot@inria.fr>
Date: Thu, 23 Jan 2025 17:34:21 +0100
Subject: [PATCH] [lyon][hydra] Update hydra-1 network firmwares after upgrade

---
 data/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.json  | 4 ++--
 input/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.yaml | 4 ++--
 lib/refrepo/valid/data/homogeneity.yaml.erb                 | 4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/data/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.json b/data/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.json
index 7f282f4cd34..b0d5f89b460 100644
--- a/data/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.json
+++ b/data/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.json
@@ -41,7 +41,7 @@
       "device": "eth0",
       "driver": "mlx5_core",
       "enabled": true,
-      "firmware_version": "28.40.1000 (MT_0000000834)",
+      "firmware_version": "28.43.2026 (MT_0000000834)",
       "interface": "Ethernet",
       "ip": "172.16.57.1",
       "ip6": "2001:660:4406:400:a::1",
@@ -64,7 +64,7 @@
       "device": "eth1",
       "driver": "mlx5_core",
       "enabled": false,
-      "firmware_version": "28.40.1000 (MT_0000000834)",
+      "firmware_version": "28.43.2026 (MT_0000000834)",
       "interface": "Ethernet",
       "kavlan": false,
       "mac": "a0:88:c2:98:fc:83",
diff --git a/input/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.yaml b/input/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.yaml
index d2f771901a9..c92d887c6f6 100644
--- a/input/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.yaml
+++ b/input/grid5000/sites/lyon/clusters/hydra/nodes/hydra-1.yaml
@@ -29,7 +29,7 @@ hydra-1:
       management: true
     eth0:
       driver: mlx5_core
-      firmware_version: 28.40.1000 (MT_0000000834)
+      firmware_version: 28.43.2026 (MT_0000000834)
       interface: Ethernet
       ip: 172.16.57.1
       mac: a0:88:c2:98:fc:82
@@ -42,7 +42,7 @@ hydra-1:
       vendor: Mellanox Technologies
     eth1:
       driver: mlx5_core
-      firmware_version: 28.40.1000 (MT_0000000834)
+      firmware_version: 28.43.2026 (MT_0000000834)
       interface: Ethernet
       mac: a0:88:c2:98:fc:83
       management: false
diff --git a/lib/refrepo/valid/data/homogeneity.yaml.erb b/lib/refrepo/valid/data/homogeneity.yaml.erb
index db89592c51e..53e75cceae3 100644
--- a/lib/refrepo/valid/data/homogeneity.yaml.erb
+++ b/lib/refrepo/valid/data/homogeneity.yaml.erb
@@ -208,6 +208,10 @@ lyon:
     - ~storage_devices.pci-0000:02:04.0-scsi-0:0:1:0.size
     - ~storage_devices.pci-0000:02:04.0-scsi-0:0:1:0.vendor
     - ~storage_devices.pci-0000:02:04.0-scsi-0:0:1:0.firmware_version
+  hydra-2:
+    - ~network_adapters.eth0.firmware_version
+    - ~network_adapters.eth1.firmware_version
+
 nancy:
   graffiti-2:
     - ~gpu_devices.nvidia1.vbios_version
-- 
GitLab