From 82a301dfa8241d8756e178699c4b0aa36a436ad3 Mon Sep 17 00:00:00 2001
From: Lancelot Doan <lancelot.doan@inria.fr>
Date: Thu, 20 Feb 2025 10:35:42 +0100
Subject: [PATCH] [Sophia] Add configuration for srv-data3 in physical

---
 .../sites/sophia/servers/srv-data3.json       | 24 +++++++++++++++++++
 .../sites/sophia/servers/physical.yaml        | 16 +++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 data/grid5000/sites/sophia/servers/srv-data3.json

diff --git a/data/grid5000/sites/sophia/servers/srv-data3.json b/data/grid5000/sites/sophia/servers/srv-data3.json
new file mode 100644
index 00000000000..b573fe1fcf4
--- /dev/null
+++ b/data/grid5000/sites/sophia/servers/srv-data3.json
@@ -0,0 +1,24 @@
+{
+  "alias": [
+    "storage3"
+  ],
+  "group_storage": {
+    "name": "storage3",
+    "rate": 50000000000,
+    "size": 345000000000000
+  },
+  "kind": "physical",
+  "network_adapters": {
+    "bmc": {
+      "ip": "172.17.142.9"
+    },
+    "default": {
+      "ip": "172.16.143.9"
+    }
+  },
+  "redfish": true,
+  "serial": "CZ2D2507LZ",
+  "type": "server",
+  "uid": "srv-data3",
+  "warranty": "2028-01-23"
+}
\ 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 1b082976f10..0878c66e120 100644
--- a/input/grid5000/sites/sophia/servers/physical.yaml
+++ b/input/grid5000/sites/sophia/servers/physical.yaml
@@ -69,6 +69,22 @@ srv-data2:
     size: 198000000000000
     rate: 50000000000
 
+srv-data3:
+  kind: physical
+  alias:
+    - storage3
+  warranty: 2028-01-23
+  serial: CZ2D2507LZ
+  network_adapters:
+    default:
+      ip: 172.16.143.9
+    bmc:
+      ip: 172.17.142.9
+  group_storage:
+    name: storage3
+    size: 345000000000000
+    rate: 50000000000
+
 srv-data4:
   kind: physical
   alias:
-- 
GitLab