From daceae2ba4f3ba27638fcb7047d8c8b40a18b92f Mon Sep 17 00:00:00 2001
From: Lancelot Doan <lancelot.doan@inria.fr>
Date: Fri, 10 Jan 2025 08:41:24 +0100
Subject: [PATCH] [Sophia] Configuration for srv-data1 and srv-data2

---
 .../sites/sophia/servers/srv-data1.json       | 25 +++++++++++++
 .../sites/sophia/servers/srv-data2.json       | 25 +++++++++++++
 .../sites/sophia/servers/physical.yaml        | 36 +++++++++++++++++++
 3 files changed, 86 insertions(+)
 create mode 100644 data/grid5000/sites/sophia/servers/srv-data1.json
 create mode 100644 data/grid5000/sites/sophia/servers/srv-data2.json

diff --git a/data/grid5000/sites/sophia/servers/srv-data1.json b/data/grid5000/sites/sophia/servers/srv-data1.json
new file mode 100644
index 00000000000..d1280d43044
--- /dev/null
+++ b/data/grid5000/sites/sophia/servers/srv-data1.json
@@ -0,0 +1,25 @@
+{
+  "group_storage": {
+    "name": "srv-data1",
+    "rate": 25000000000,
+    "size": 198000000000000
+  },
+  "kind": "physical",
+  "network_adapters": {
+    "bmc": {
+      "ip": "172.17.143.3",
+      "mac": "5C:ED:8C:F5:E4:0E",
+      "mounted": true
+    },
+    "default": {
+      "ip": "172.16.143.3",
+      "mac": "d4:04:e6:b7:9a:82",
+      "mounted": true
+    }
+  },
+  "redfish": true,
+  "serial": "CZ2D1N06BM",
+  "type": "server",
+  "uid": "srv-data1",
+  "warranty": "2031-10-08"
+}
\ No newline at end of file
diff --git a/data/grid5000/sites/sophia/servers/srv-data2.json b/data/grid5000/sites/sophia/servers/srv-data2.json
new file mode 100644
index 00000000000..bcefdc59c32
--- /dev/null
+++ b/data/grid5000/sites/sophia/servers/srv-data2.json
@@ -0,0 +1,25 @@
+{
+  "group_storage": {
+    "name": "srv-data2",
+    "rate": 25000000000,
+    "size": 198000000000000
+  },
+  "kind": "physical",
+  "network_adapters": {
+    "bmc": {
+      "ip": "172.17.143.4",
+      "mac": "5C:ED:8C:F5:E3:28",
+      "mounted": true
+    },
+    "default": {
+      "ip": "172.16.143.4",
+      "mac": "d4:04:e6:b7:08:d2",
+      "mounted": true
+    }
+  },
+  "redfish": true,
+  "serial": "CZ2D1N06BL",
+  "type": "server",
+  "uid": "srv-data2",
+  "warranty": "2031-10-08"
+}
\ No newline at end of file
diff --git a/input/grid5000/sites/sophia/servers/physical.yaml b/input/grid5000/sites/sophia/servers/physical.yaml
index 596d0387368..0ecc0e338c2 100644
--- a/input/grid5000/sites/sophia/servers/physical.yaml
+++ b/input/grid5000/sites/sophia/servers/physical.yaml
@@ -43,6 +43,42 @@ srv-data:
     size: 30000000000000
     rate: 1000000000
 
+srv-data1:
+  kind: physical
+  warranty: 2031-10-08
+  serial: CZ2D1N06BM
+  network_adapters:
+    default:
+      mounted: true
+      ip: 172.16.143.3
+      mac: d4:04:e6:b7:9a:82
+    bmc:
+      mounted: true
+      ip: 172.17.143.3
+      mac: 5C:ED:8C:F5:E4:0E
+  group_storage:
+    name: srv-data1
+    size: 198000000000000
+    rate: 25000000000
+
+srv-data2:
+  kind: physical
+  warranty: 2031-10-08
+  serial: CZ2D1N06BL
+  network_adapters:
+    default:
+      mounted: true
+      ip: 172.16.143.4
+      mac: d4:04:e6:b7:08:d2
+    bmc:
+      mounted: true
+      ip: 172.17.143.4
+      mac: 5C:ED:8C:F5:E3:28
+  group_storage:
+    name: srv-data2
+    size: 198000000000000
+    rate: 25000000000
+
 gwol-south:
   kind: physical
   warranty: 2025-12-27
-- 
GitLab