From 678b22dffe46491d02b676dd13b5e19da5aa13ca Mon Sep 17 00:00:00 2001
From: Nicolas Perrin <nicolas.perrin@inria.fr>
Date: Wed, 15 Jun 2022 09:07:49 +0200
Subject: [PATCH] [nancy] Add pve1 and pve2 servers (physical)

---
 data/grid5000/sites/nancy/servers/pve1.json   | 20 +++++++++++++
 data/grid5000/sites/nancy/servers/pve2.json   | 20 +++++++++++++
 .../grid5000/sites/nancy/servers/servers.yaml | 29 ++++++++++++++++++-
 3 files changed, 68 insertions(+), 1 deletion(-)
 create mode 100644 data/grid5000/sites/nancy/servers/pve1.json
 create mode 100644 data/grid5000/sites/nancy/servers/pve2.json

diff --git a/data/grid5000/sites/nancy/servers/pve1.json b/data/grid5000/sites/nancy/servers/pve1.json
new file mode 100644
index 00000000000..974c01918f2
--- /dev/null
+++ b/data/grid5000/sites/nancy/servers/pve1.json
@@ -0,0 +1,20 @@
+{
+  "kind": "physical",
+  "network_adapters": {
+    "adm": {
+      "ip": "172.17.79.31",
+      "mac": "78:45:c4:fc:3a:4a"
+    },
+    "bmc": {
+      "ip": "172.17.79.231",
+      "mac": "78:45:c4:fc:3a:4b"
+    },
+    "default": {
+      "ip": "172.16.79.31",
+      "mac": "78:45:c4:fc:3a:49"
+    }
+  },
+  "serial": "32MGWX1",
+  "type": "server",
+  "uid": "pve1"
+}
\ No newline at end of file
diff --git a/data/grid5000/sites/nancy/servers/pve2.json b/data/grid5000/sites/nancy/servers/pve2.json
new file mode 100644
index 00000000000..619691ea488
--- /dev/null
+++ b/data/grid5000/sites/nancy/servers/pve2.json
@@ -0,0 +1,20 @@
+{
+  "kind": "physical",
+  "network_adapters": {
+    "adm": {
+      "ip": "172.17.79.32",
+      "mac": "78:45:c4:fc:3a:35"
+    },
+    "bmc": {
+      "ip": "172.17.79.232",
+      "mac": "78:45:c4:fc:3a:36"
+    },
+    "default": {
+      "ip": "172.16.79.32",
+      "mac": "78:45:c4:fc:3a:34"
+    }
+  },
+  "serial": "H1MGWX1",
+  "type": "server",
+  "uid": "pve2"
+}
\ No newline at end of file
diff --git a/input/grid5000/sites/nancy/servers/servers.yaml b/input/grid5000/sites/nancy/servers/servers.yaml
index 45dfce3ce31..512267c7308 100644
--- a/input/grid5000/sites/nancy/servers/servers.yaml
+++ b/input/grid5000/sites/nancy/servers/servers.yaml
@@ -61,7 +61,6 @@ srv-data2:
     size: 90000000000000
     rate: 10000000000
 
-
 srv2:
   kind: physical
   alias: [ntp]
@@ -250,3 +249,31 @@ srv3:
       port: 14
     - uid: gros-pdu8
       port: 14
+
+pve1:
+  kind: physical
+  serial: 32MGWX1
+  network_adapters:
+    default:
+      mac: 78:45:c4:fc:3a:49
+      ip: 172.16.79.31
+    adm:
+      mac: 78:45:c4:fc:3a:4a
+      ip: 172.17.79.31
+    bmc:
+      ip: 172.17.79.231
+      mac: 78:45:c4:fc:3a:4b
+
+pve2:
+  kind: physical
+  serial: H1MGWX1
+  network_adapters:
+    default:
+      mac: 78:45:c4:fc:3a:34
+      ip: 172.16.79.32
+    adm:
+      mac: 78:45:c4:fc:3a:35
+      ip: 172.17.79.32
+    bmc:
+      ip: 172.17.79.232
+      mac: 78:45:c4:fc:3a:36
-- 
GitLab