From 05c375f74a91983461368b7af63b2c9a12763847 Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas.nussbaum@loria.fr>
Date: Fri, 6 Nov 2020 21:47:35 +0100
Subject: [PATCH] [drac] really set the correct rate on all interfaces

---
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.json   | 1 -
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.json  | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.json  | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.json  | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.json   | 1 -
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.json   | 1 -
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.json   | 1 -
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.json   | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.json   | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.json   | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.json   | 2 +-
 data/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.json   | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.yaml  | 1 -
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.yaml | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.yaml | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.yaml | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.yaml  | 1 -
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.yaml  | 1 -
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.yaml  | 1 -
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.yaml  | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.yaml  | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.yaml  | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.yaml  | 2 +-
 input/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.yaml  | 2 +-
 24 files changed, 16 insertions(+), 24 deletions(-)

diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.json
index 22cb8fc547..b1ed7d8bcd 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.json
@@ -87,7 +87,6 @@
       "mounted": true,
       "name": "enP1p1s0f3",
       "network_address": "drac-1.grenoble.grid5000.fr",
-      "rate": 1000000000,
       "switch": null,
       "switch_port": null,
       "vendor": "Broadcom"
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.json
index fd43395612..6e5cb51d91 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.json
index 7ac8ced129..95b94fc7a8 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.json
index 9daa0afa1d..5e9cdb5ade 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.json
index 9cac6d1ced..8cb66e565e 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.json
@@ -87,7 +87,6 @@
       "mounted": true,
       "name": "enP1p1s0f3",
       "network_address": "drac-2.grenoble.grid5000.fr",
-      "rate": 1000000000,
       "switch": null,
       "switch_port": null,
       "vendor": "Broadcom"
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.json
index 35a69771f5..583fe4a0a9 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.json
@@ -87,7 +87,6 @@
       "mounted": true,
       "name": "enP1p1s0f3",
       "network_address": "drac-3.grenoble.grid5000.fr",
-      "rate": 1000000000,
       "switch": null,
       "switch_port": null,
       "vendor": "Broadcom"
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.json
index 8ec2c01c06..60e0ea855a 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.json
@@ -87,7 +87,6 @@
       "mounted": true,
       "name": "enP1p1s0f3",
       "network_address": "drac-4.grenoble.grid5000.fr",
-      "rate": 1000000000,
       "switch": null,
       "switch_port": null,
       "vendor": "Broadcom"
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.json
index 9e59cb1442..433f9a62dc 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.json
index e8c6ace157..7e5101caf2 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.json
index 0de0efda08..9f9dd5a13b 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.json
index 64e2659e75..2c7ca51785 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.json b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.json
index e41eb55d9d..7ac96c090a 100644
--- a/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.json
+++ b/data/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.json
@@ -37,7 +37,7 @@
       "mountable": false,
       "mounted": false,
       "name": "enP1p1s0f0",
-      "rate": 1000000000,
+      "rate": 10000000000,
       "vendor": "Broadcom"
     },
     {
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.yaml
index 51211bdd75..c8fbe50bf4 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-1.yaml
@@ -59,7 +59,6 @@ drac-1:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f3
-      rate: 1000000000
       vendor: Broadcom
     eth4:
       driver: tg3
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.yaml
index 5723f26960..e8d9b6acec 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-10.yaml
@@ -30,7 +30,7 @@ drac-10:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.yaml
index 3e3fa24c87..27753f96b0 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-11.yaml
@@ -30,7 +30,7 @@ drac-11:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.yaml
index 641f34ec84..f25ce1c30e 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-12.yaml
@@ -30,7 +30,7 @@ drac-12:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.yaml
index 93d18a1499..d9925e4004 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-2.yaml
@@ -59,7 +59,6 @@ drac-2:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f3
-      rate: 1000000000
       vendor: Broadcom
     eth4:
       driver: tg3
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.yaml
index 4a198786ab..1993cf3cfe 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-3.yaml
@@ -59,7 +59,6 @@ drac-3:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f3
-      rate: 1000000000
       vendor: Broadcom
     eth4:
       driver: tg3
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.yaml
index 05e3514e39..c0fba45a5b 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-4.yaml
@@ -59,7 +59,6 @@ drac-4:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f3
-      rate: 1000000000
       vendor: Broadcom
     eth4:
       driver: tg3
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.yaml
index aae39b2899..1a807ffd58 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-5.yaml
@@ -30,7 +30,7 @@ drac-5:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.yaml
index 7827a636e3..3900315334 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-6.yaml
@@ -30,7 +30,7 @@ drac-6:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.yaml
index a5e2e7a90c..acfce42905 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-7.yaml
@@ -30,7 +30,7 @@ drac-7:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.yaml
index 47a34fd04a..2b058cdc7a 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-8.yaml
@@ -30,7 +30,7 @@ drac-8:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
diff --git a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.yaml b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.yaml
index e6507dbc2c..63f059cba9 100644
--- a/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.yaml
+++ b/input/grid5000/sites/grenoble/clusters/drac/nodes/drac-9.yaml
@@ -30,7 +30,7 @@ drac-9:
       management: false
       model: NetXtreme II BCM57800 1/10 Gigabit Ethernet
       name: enP1p1s0f0
-      rate: 1000000000
+      rate: 10000000000
       vendor: Broadcom
     eth1:
       driver: bnx2x
-- 
GitLab