From 5f9779342187523ff5f2da5b5b75904fc6441fdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc=20Pinh=C3=A8de?= <marc.pinhede@inria.fr>
Date: Wed, 23 Apr 2014 17:41:04 +0200
Subject: [PATCH] [lyon] Corrected hercule eth2 and eth3 rate (100M instead of
 1G)

---
 .../grid5000/sites/lyon/clusters/hercule/nodes/hercule-1.json | 4 ++--
 .../grid5000/sites/lyon/clusters/hercule/nodes/hercule-2.json | 4 ++--
 .../grid5000/sites/lyon/clusters/hercule/nodes/hercule-3.json | 4 ++--
 .../grid5000/sites/lyon/clusters/hercule/nodes/hercule-4.json | 4 ++--
 generators/input/sites/lyon/clusters/hercule.rb               | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-1.json b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-1.json
index b87bdf316a2..8045a310c59 100644
--- a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-1.json
+++ b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-1.json
@@ -65,7 +65,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
@@ -81,7 +81,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
diff --git a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-2.json b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-2.json
index a2abff45384..f83bbc490af 100644
--- a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-2.json
+++ b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-2.json
@@ -65,7 +65,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
@@ -81,7 +81,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
diff --git a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-3.json b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-3.json
index e288f15b116..b72f133d732 100644
--- a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-3.json
+++ b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-3.json
@@ -65,7 +65,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
@@ -81,7 +81,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
diff --git a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-4.json b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-4.json
index 58b5026ce63..883cc7d548f 100644
--- a/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-4.json
+++ b/data/grid5000/sites/lyon/clusters/hercule/nodes/hercule-4.json
@@ -65,7 +65,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
@@ -81,7 +81,7 @@
       "management": false,
       "mountable": true,
       "mounted": false,
-      "rate": 1000000000,
+      "rate": 100000000,
       "switch": "pat",
       "switch_port": null,
       "vendor": "Intel",
diff --git a/generators/input/sites/lyon/clusters/hercule.rb b/generators/input/sites/lyon/clusters/hercule.rb
index c7ac45f70af..b6d55e76316 100644
--- a/generators/input/sites/lyon/clusters/hercule.rb
+++ b/generators/input/sites/lyon/clusters/hercule.rb
@@ -111,7 +111,7 @@ site :lyon do |site_uid|
         },
         {
           :interface        => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth2', 'interface'),
-          :rate             => 1.G,
+          :rate             => 100.M,
           :enabled          => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth2', 'enabled'),
           :management       => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth2', 'management'),
           :mountable        => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth2', 'mountable'),
@@ -127,7 +127,7 @@ site :lyon do |site_uid|
         },
         {
           :interface        => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth3', 'interface'),
-          :rate             => 1.G,
+          :rate             => 100.M,
           :enabled          => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth3', 'enabled'),
           :management       => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth3', 'management'),
           :mountable        => lookup('hercule_generated', node_uid, 'network_interfaces', 'eth3', 'mountable'),
-- 
GitLab