From 5cbf01136dd4f23b728431012900941bb30f9aac Mon Sep 17 00:00:00 2001
From: Baptiste Jonglez <baptiste.jonglez@imag.fr>
Date: Thu, 10 Dec 2020 12:02:52 +0100
Subject: [PATCH] [lyon] Fix pyxis storage description

---
 .../grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-1.json | 8 ++++----
 .../grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-2.json | 8 ++++----
 .../grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-3.json | 8 ++++----
 .../grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-4.json | 8 ++++----
 input/grid5000/sites/lyon/clusters/pyxis/pyxis.yaml       | 8 ++++----
 5 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-1.json b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-1.json
index 0576726e63..f3a23f0b12 100644
--- a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-1.json
+++ b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-1.json
@@ -195,10 +195,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy2-lun-0",
       "device": "sda",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     },
     {
@@ -206,10 +206,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy3-lun-0",
       "device": "sdb",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     }
   ],
diff --git a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-2.json b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-2.json
index 701b6d9f0b..0b7270a191 100644
--- a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-2.json
+++ b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-2.json
@@ -195,10 +195,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy2-lun-0",
       "device": "sda",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     },
     {
@@ -206,10 +206,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy3-lun-0",
       "device": "sdb",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     }
   ],
diff --git a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-3.json b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-3.json
index b2c6bba663..97be3e486f 100644
--- a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-3.json
+++ b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-3.json
@@ -195,10 +195,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy2-lun-0",
       "device": "sda",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     },
     {
@@ -206,10 +206,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy3-lun-0",
       "device": "sdb",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     }
   ],
diff --git a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-4.json b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-4.json
index 9135790a10..ea10689e08 100644
--- a/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-4.json
+++ b/data/grid5000/sites/lyon/clusters/pyxis/nodes/pyxis-4.json
@@ -195,10 +195,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy2-lun-0",
       "device": "sda",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     },
     {
@@ -206,10 +206,10 @@
       "by_path": "/dev/disk/by-path/pci-0000:0f:00.0-sas-phy3-lun-0",
       "device": "sdb",
       "firmware_version": "RVT02B6Q",
-      "interface": "SAS",
+      "interface": "SATA",
       "model": "Samsung SSD 860",
       "size": 250059350016,
-      "storage": "HDD",
+      "storage": "SSD",
       "vendor": "Samsung"
     }
   ],
diff --git a/input/grid5000/sites/lyon/clusters/pyxis/pyxis.yaml b/input/grid5000/sites/lyon/clusters/pyxis/pyxis.yaml
index 790d324b4c..b684e5fdba 100644
--- a/input/grid5000/sites/lyon/clusters/pyxis/pyxis.yaml
+++ b/input/grid5000/sites/lyon/clusters/pyxis/pyxis.yaml
@@ -33,11 +33,11 @@ nodes:
         mounted: false
     storage_devices:
       sda:
-        interface: SAS
-        storage: HDD
+        interface: SATA
+        storage: SSD
       sdb:
-        interface: SAS
-        storage: HDD
+        interface: SATA
+        storage: SSD
     monitoring:
       wattmeter: true
     sensors:
-- 
GitLab