From a634730977a325c8bbf17e3474112ae7b2232bef Mon Sep 17 00:00:00 2001
From: Laurent Pouilloux <laurent.pouilloux@inria.fr>
Date: Fri, 21 Mar 2025 13:12:26 +0100
Subject: [PATCH] [sophia][mercantour7] add warranty information

---
 .../sites/sophia/clusters/mercantour7/mercantour7.json      | 6 +++---
 .../sophia/clusters/mercantour7/nodes/mercantour7-1.json    | 4 ++--
 input/grid5000/dell-product-data.yaml                       | 6 ++++++
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/data/grid5000/sites/sophia/clusters/mercantour7/mercantour7.json b/data/grid5000/sites/sophia/clusters/mercantour7/mercantour7.json
index b29076e492f..16db785fc8a 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour7/mercantour7.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour7/mercantour7.json
@@ -3,7 +3,7 @@
   "created_at": "Thu, 20 Mar 2025 00:00:00 GMT",
   "exotic": false,
   "kavlan": false,
-  "manufactured_at": "1970-01-01",
+  "manufactured_at": "2020-11-13",
   "metrics": [
     {
       "description": "Default subset of metrics from Prometheus Node Exporter",
@@ -54,7 +54,7 @@
   "model": "Dell PowerEdge R7525",
   "nodes_count": 1,
   "nodes_description": "2 CPUs AMD EPYC 7502, 32 cores/CPU, 384GB RAM, 893GB SSD, 44709GB HDD, 1 x 1Gb Ethernet, 1 x 40Gb InfiniBand",
-  "priority": 197001,
+  "priority": 202011,
   "queues": [
     "admin",
     "testing"
@@ -62,5 +62,5 @@
   "redfish": true,
   "type": "cluster",
   "uid": "mercantour7",
-  "warranty_end": "1970-01-01"
+  "warranty_end": "2027-11-14"
 }
\ No newline at end of file
diff --git a/data/grid5000/sites/sophia/clusters/mercantour7/nodes/mercantour7-1.json b/data/grid5000/sites/sophia/clusters/mercantour7/nodes/mercantour7-1.json
index 91c1bff223d..08231b9a7a9 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour7/nodes/mercantour7-1.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour7/nodes/mercantour7-1.json
@@ -13,11 +13,11 @@
   },
   "bmc_version": "7.00.60.00",
   "chassis": {
-    "manufactured_at": "1970-01-01",
+    "manufactured_at": "2020-11-13",
     "manufacturer": "Dell Inc.",
     "name": "PowerEdge R7525",
     "serial": "JN4LS73",
-    "warranty_end": "1970-01-01"
+    "warranty_end": "2027-11-14"
   },
   "exotic": false,
   "main_memory": {
diff --git a/input/grid5000/dell-product-data.yaml b/input/grid5000/dell-product-data.yaml
index c586a52779b..1d245811c15 100644
--- a/input/grid5000/dell-product-data.yaml
+++ b/input/grid5000/dell-product-data.yaml
@@ -2316,6 +2316,12 @@ sites:
             chassis:
               manufactured_at: 2020-10-05
               warranty_end: 2027-10-07
+      mercantour7:
+        nodes:
+          mercantour7-1:
+            chassis:
+              manufactured_at: 2020-11-13
+              warranty_end: 2027-11-14
       uvb:
         nodes:
           uvb-10:
-- 
GitLab