From 751ba43fff1068fce338004030548cc364d8efb0 Mon Sep 17 00:00:00 2001
From: Hugo Dominois <hugo.dominois@inria.fr>
Date: Tue, 25 Feb 2025 10:43:30 +0100
Subject: [PATCH] [lille][pve-3] Add to reference repository

---
 .../sites/lille/network_equipments/sw-chiclet-2.json | 12 ++++++++++++
 .../sites/lille/servers/{gardin.json => pve-3.json}  |  9 ++++++++-
 .../grid5000/sites/lille/networks/sw-chiclet-2.yaml  | 11 +++++++++++
 input/grid5000/sites/lille/servers/physical.yaml     |  7 ++++++-
 4 files changed, 37 insertions(+), 2 deletions(-)
 rename data/grid5000/sites/lille/servers/{gardin.json => pve-3.json} (70%)

diff --git a/data/grid5000/sites/lille/network_equipments/sw-chiclet-2.json b/data/grid5000/sites/lille/network_equipments/sw-chiclet-2.json
index 79955ce2648..ece4656e493 100644
--- a/data/grid5000/sites/lille/network_equipments/sw-chiclet-2.json
+++ b/data/grid5000/sites/lille/network_equipments/sw-chiclet-2.json
@@ -18,6 +18,12 @@
       "port": "port-channel4",
       "rate": 20000000000,
       "uid": "granche-srv2"
+    },
+    "port-channel5": {
+      "kind": "server",
+      "port": "port-channel5",
+      "rate": 10000000000,
+      "uid": "pve-3"
     }
   },
   "ip": "172.17.47.222",
@@ -84,8 +90,14 @@
           "uid": "port-channel4"
         },
         {
+          "kind": "channel",
+          "snmp_name": "Ethernet1/19",
+          "uid": "port-channel5"
         },
         {
+          "kind": "channel",
+          "snmp_name": "Ethernet1/20",
+          "uid": "port-channel5"
         },
         {
           "kind": "server",
diff --git a/data/grid5000/sites/lille/servers/gardin.json b/data/grid5000/sites/lille/servers/pve-3.json
similarity index 70%
rename from data/grid5000/sites/lille/servers/gardin.json
rename to data/grid5000/sites/lille/servers/pve-3.json
index f3f18c49a9f..2fa8d3dd820 100644
--- a/data/grid5000/sites/lille/servers/gardin.json
+++ b/data/grid5000/sites/lille/servers/pve-3.json
@@ -1,9 +1,16 @@
 {
   "kind": "physical",
   "network_adapters": {
+    "adm": {
+      "ip": "172.17.47.9"
+    },
     "bmc": {
       "ip": "172.17.46.9",
       "mac": "54:48:10:f4:f9:0c"
+    },
+    "default": {
+      "ip": "172.16.47.9",
+      "mac": "24:6e:96:dc:f4:2c"
     }
   },
   "pdu": [
@@ -19,6 +26,6 @@
   "redfish": true,
   "serial": "2SYTKQ2",
   "type": "server",
-  "uid": "gardin",
+  "uid": "pve-3",
   "warranty": "2025-06-25"
 }
\ No newline at end of file
diff --git a/input/grid5000/sites/lille/networks/sw-chiclet-2.yaml b/input/grid5000/sites/lille/networks/sw-chiclet-2.yaml
index 3ea3c987d4c..2042511cd49 100644
--- a/input/grid5000/sites/lille/networks/sw-chiclet-2.yaml
+++ b/input/grid5000/sites/lille/networks/sw-chiclet-2.yaml
@@ -81,6 +81,12 @@ sw-chiclet-2:
         18:
           uid: port-channel4
           kind: channel
+        19:
+          uid: port-channel5
+          kind: channel
+        20:
+          uid: port-channel5
+          kind: channel
         21: 
           uid: gwol-north
           kind: server
@@ -115,3 +121,8 @@ sw-chiclet-2:
       uid: granche-srv2
       kind: server
       rate: 20000000000
+    port-channel5:
+      port: port-channel5
+      uid: pve-3
+      kind: server
+      rate: 10000000000
diff --git a/input/grid5000/sites/lille/servers/physical.yaml b/input/grid5000/sites/lille/servers/physical.yaml
index 19ac45f0c70..d3803c691b4 100644
--- a/input/grid5000/sites/lille/servers/physical.yaml
+++ b/input/grid5000/sites/lille/servers/physical.yaml
@@ -16,11 +16,16 @@ chiterne:
     - uid: pdu-b2p2
       port: 9
 
-gardin:
+pve-3:
   kind: physical
   warranty: 2025-06-25
   serial: 2SYTKQ2
   network_adapters:
+    default:
+      ip: 172.16.47.9
+      mac: 24:6e:96:dc:f4:2c
+    adm:
+      ip: 172.17.47.9
     bmc:
       ip: 172.17.46.9
       mac: 54:48:10:f4:f9:0c
-- 
GitLab