From bd03bdb660d474d23306ba0a66b3edadf7567c88 Mon Sep 17 00:00:00 2001
From: Pierre JACQUOT <pierre.jacquot@inria.fr>
Date: Wed, 8 Mar 2023 15:11:14 +0100
Subject: [PATCH] [toulouse] Set montcalm-10 as a physical server (used by
 Pierre Neyron).

---
 .../network_equipments/gw-toulouse.json        |  3 +++
 .../sites/toulouse/servers/montcalm-10.json    | 18 ++++++++++++++++++
 .../sites/toulouse/networks/gw-toulouse.yaml   |  3 +++
 .../sites/toulouse/servers/physical.yaml       | 10 ++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 data/grid5000/sites/toulouse/servers/montcalm-10.json

diff --git a/data/grid5000/sites/toulouse/network_equipments/gw-toulouse.json b/data/grid5000/sites/toulouse/network_equipments/gw-toulouse.json
index 1015fa59c35..1d43ac62472 100644
--- a/data/grid5000/sites/toulouse/network_equipments/gw-toulouse.json
+++ b/data/grid5000/sites/toulouse/network_equipments/gw-toulouse.json
@@ -66,6 +66,9 @@
           "uid": "montcalm-9"
         },
         {
+          "kind": "server",
+          "snmp_name": "tengigabitethernet1/1/10",
+          "uid": "montcalm-10"
         },
         {
         },
diff --git a/data/grid5000/sites/toulouse/servers/montcalm-10.json b/data/grid5000/sites/toulouse/servers/montcalm-10.json
new file mode 100644
index 00000000000..315e38016ff
--- /dev/null
+++ b/data/grid5000/sites/toulouse/servers/montcalm-10.json
@@ -0,0 +1,18 @@
+{
+  "alias": [
+    "montcalm-x"
+  ],
+  "kind": "physical",
+  "network_adapters": {
+    "bmc": {
+      "ip": "172.17.120.10",
+      "mac": "5c:ed:8c:3b:14:92"
+    },
+    "default": {
+      "ip": "172.16.120.10",
+      "mac": "84:16:0c:4b:3d:c4"
+    }
+  },
+  "type": "server",
+  "uid": "montcalm-10"
+}
\ No newline at end of file
diff --git a/input/grid5000/sites/toulouse/networks/gw-toulouse.yaml b/input/grid5000/sites/toulouse/networks/gw-toulouse.yaml
index 60aec13db83..e62e9216808 100644
--- a/input/grid5000/sites/toulouse/networks/gw-toulouse.yaml
+++ b/input/grid5000/sites/toulouse/networks/gw-toulouse.yaml
@@ -74,6 +74,9 @@ gw-toulouse:
         7: montcalm-7
         8: montcalm-8
         9: montcalm-9
+        10:
+          uid: montcalm-10
+          kind: server
         15:
           uid: oobm
           kind: server
diff --git a/input/grid5000/sites/toulouse/servers/physical.yaml b/input/grid5000/sites/toulouse/servers/physical.yaml
index df9b54cba40..4425e76c466 100644
--- a/input/grid5000/sites/toulouse/servers/physical.yaml
+++ b/input/grid5000/sites/toulouse/servers/physical.yaml
@@ -47,3 +47,13 @@ oobm:
     default:
       ip: 172.17.121.1
       mac: 00:30:64:37:c8:c8
+montcalm-10:
+  kind: physical
+  alias: [montcalm-x]
+  network_adapters:
+    default:
+      ip: 172.16.120.10
+      mac: 84:16:0c:4b:3d:c4
+    bmc:
+      ip: 172.17.120.10
+      mac: 5c:ed:8c:3b:14:92
-- 
GitLab