From 1ad0e324704dd8e33b2212dbae298076f73c0e38 Mon Sep 17 00:00:00 2001
From: Julien Lelaurain <julien.lelaurain@inria.fr>
Date: Mon, 20 Nov 2023 15:51:13 +0100
Subject: [PATCH] [rennes][abacus17] g5k-checks import

---
 .../clusters/abacus17/nodes/abacus17-1.json   | 212 ++++++++++++++++--
 .../rennes/clusters/abacus17/abacus17.yaml    |  28 +--
 .../clusters/abacus17/nodes/abacus17-1.yaml   | 173 ++++++++++++++
 3 files changed, 373 insertions(+), 40 deletions(-)
 create mode 100644 input/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.yaml

diff --git a/data/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.json b/data/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.json
index ad47ddbcb2b..fd77e677bac 100644
--- a/data/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.json
+++ b/data/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.json
@@ -1,15 +1,61 @@
 {
   "architecture": {
+    "cpu_core_numbering": "contiguous",
     "nb_cores": 32,
     "nb_procs": 2,
     "nb_threads": 64,
     "platform_type": "x86_64"
   },
   "bios": {
-    "vendor": "Dell Inc."
+    "release_date": "09/12/2023",
+    "vendor": "Dell Inc.",
+    "version": "2.13.3"
+  },
+  "bmc_version": "7.00.30.00",
+  "chassis": {
+    "manufacturer": "Dell Inc.",
+    "name": "PowerEdge R7525",
+    "serial": "6B7PL83"
   },
   "exotic": false,
+  "gpu_devices": {
+    "nvidia0": {
+      "compute_capability": "7.5",
+      "cores": 4608,
+      "cpu_affinity": 0,
+      "device": "/dev/nvidia0",
+      "memory": 23800578048,
+      "microarchitecture": "Turing",
+      "model": "Quadro RTX 6000",
+      "performance": {
+        "fp-16": 32620000000000,
+        "fp-32": 16310000000000,
+        "fp-64": 510000000000
+      },
+      "power_default_limit": "250.00 W",
+      "vbios_version": "90.02.4E.00.04",
+      "vendor": "Nvidia"
+    },
+    "nvidia1": {
+      "compute_capability": "7.5",
+      "cores": 4608,
+      "cpu_affinity": 1,
+      "device": "/dev/nvidia1",
+      "memory": 23800578048,
+      "microarchitecture": "Turing",
+      "model": "Quadro RTX 6000",
+      "performance": {
+        "fp-16": 32620000000000,
+        "fp-32": 16310000000000,
+        "fp-64": 510000000000
+      },
+      "power_default_limit": "250.00 W",
+      "vbios_version": "90.02.4E.00.04",
+      "vendor": "Nvidia"
+    }
+  },
   "main_memory": {
+    "ram_size": 274877906944
   },
   "management_tools": {
     "bmc_vendor_tool": "racadm",
@@ -18,46 +64,161 @@
     }
   },
   "memory_devices": [
-
+    {
+      "device": "dimm_a1",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a2",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a3",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a4",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a5",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a6",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a7",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_a8",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b1",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b2",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b3",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b4",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b5",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b6",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b7",
+      "size": 17179869184,
+      "technology": "dram"
+    },
+    {
+      "device": "dimm_b8",
+      "size": 17179869184,
+      "technology": "dram"
+    }
   ],
   "network_adapters": [
     {
       "device": "eth0",
+      "driver": "tg3",
       "enabled": true,
+      "firmware_version": "FFV22.61.8 bc 5720-v1.39",
       "interface": "Ethernet",
       "ip": "172.16.109.17",
       "ip6": "2001:660:4406:700:e::11",
       "kavlan": false,
       "mac": "70:b5:e8:d0:92:58",
+      "management": false,
+      "model": "NetXtreme BCM5720 2-port Gigabit Ethernet PCIe",
       "mountable": true,
       "mounted": true,
+      "name": "eno1",
       "network_address": "abacus17-1.rennes.grid5000.fr",
+      "rate": 1000000000,
+      "sriov": false,
+      "sriov_totalvfs": 0,
       "switch": null,
-      "switch_port": null
+      "switch_port": null,
+      "vendor": "Broadcom Inc. and subsidiaries"
     },
     {
       "device": "eth1",
+      "driver": "tg3",
       "enabled": false,
+      "firmware_version": "FFV22.61.8 bc 5720-v1.39",
       "interface": "Ethernet",
       "kavlan": false,
+      "mac": "70:b5:e8:d0:92:59",
+      "management": false,
+      "model": "NetXtreme BCM5720 2-port Gigabit Ethernet PCIe",
       "mountable": false,
-      "mounted": false
+      "mounted": false,
+      "name": "eno2",
+      "sriov": false,
+      "sriov_totalvfs": 0,
+      "vendor": "Broadcom Inc. and subsidiaries"
     },
     {
       "device": "eth2",
+      "driver": "i40e",
       "enabled": false,
+      "firmware_version": "9.20 0x8000d95a 22.0.9",
       "interface": "Ethernet",
       "kavlan": false,
+      "mac": "68:05:ca:ce:a7:0c",
+      "management": false,
+      "model": "Ethernet Controller X710 for 10GbE SFP+",
       "mountable": false,
-      "mounted": false
+      "mounted": false,
+      "name": "eno33",
+      "sriov": true,
+      "sriov_totalvfs": 64,
+      "vendor": "Intel"
     },
     {
       "device": "eth3",
+      "driver": "i40e",
       "enabled": false,
+      "firmware_version": "9.20 0x8000d95a 22.0.9",
       "interface": "Ethernet",
       "kavlan": false,
+      "mac": "68:05:ca:ce:a7:0d",
+      "management": false,
+      "model": "Ethernet Controller X710 for 10GbE SFP+",
       "mountable": false,
-      "mounted": false
+      "mounted": false,
+      "name": "eno34",
+      "sriov": true,
+      "sriov_totalvfs": 64,
+      "vendor": "Intel"
     },
     {
       "device": "bmc",
@@ -72,15 +233,33 @@
       "network_address": "abacus17-1-bmc.rennes.grid5000.fr"
     }
   ],
+  "operating_system": {
+    "cstate_driver": "acpi_idle",
+    "cstate_governor": "menu",
+    "ht_enabled": true,
+    "pstate_driver": "acpi-cpufreq",
+    "pstate_governor": "performance",
+    "turboboost_enabled": true
+  },
   "performance": {
     "core_flops": 44800000000,
     "node_flops": 1433600000000
   },
   "processor": {
     "cache_l1": null,
+    "cache_l1d": 32768,
+    "cache_l1i": 32768,
+    "cache_l2": 524288,
+    "cache_l3": 16777216,
     "clock_speed": 2800000000,
+    "ht_capable": true,
+    "instruction_set": "x86-64",
     "microarchitecture": "Zen 2",
-    "other_description": "AMD EPYC 7282 16-Core Processor"
+    "microcode": "0x830107a",
+    "model": "AMD EPYC",
+    "other_description": "AMD EPYC 7282 16-Core Processor",
+    "vendor": "AMD",
+    "version": 7282
   },
   "software": {
     "forced-deployment-timestamp": 202007300948,
@@ -89,22 +268,26 @@
   },
   "storage_devices": [
     {
-      "by_id": "",
+      "by_id": "/dev/disk/by-id/wwn-0x500a075129512787",
       "by_path": "/dev/disk/by-path/pci-0000:41:00.0-ata-1",
+      "firmware_version": "D3DJ008",
       "id": "disk0",
       "interface": "SATA",
-      "model": "unknown",
+      "model": "MTFDDAV240TDU",
+      "size": 240057409536,
       "storage": "SSD",
-      "vendor": "Unknown"
+      "vendor": "Micron"
     },
     {
-      "by_id": "",
+      "by_id": "/dev/disk/by-id/wwn-0x55cd2e4152567818",
       "by_path": "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0",
+      "firmware_version": "XCV1DL69",
       "id": "disk1",
       "interface": "SATA",
-      "model": "unknown",
+      "model": "SSDSC2KB960G8R",
+      "size": 960197124096,
       "storage": "SSD",
-      "vendor": "Unknown"
+      "vendor": "Intel"
     }
   ],
   "supported_job_types": {
@@ -114,7 +297,8 @@
     "queues": [
       "admin",
       "testing"
-    ]
+    ],
+    "virtual": "amd-v"
   },
   "type": "node",
   "uid": "abacus17-1"
diff --git a/input/grid5000/sites/rennes/clusters/abacus17/abacus17.yaml b/input/grid5000/sites/rennes/clusters/abacus17/abacus17.yaml
index f125ecc0722..e370a5436e2 100644
--- a/input/grid5000/sites/rennes/clusters/abacus17/abacus17.yaml
+++ b/input/grid5000/sites/rennes/clusters/abacus17/abacus17.yaml
@@ -12,63 +12,39 @@ nodes:
       deploy: true
       besteffort: true
       max_walltime: 0
-    architecture:
-      nb_procs: 2
-      nb_cores: 32 
-      nb_threads: 64
-      platform_type: x86_64
-    bios:
-      vendor: Dell Inc.
     processor:
       microarchitecture: Zen 2
       clock_speed: 2800000000
-      other_description: AMD EPYC 7282 16-Core Processor 
-    memory_devices: []
     software:
       standard-environment: debian11-x64-std
     management_tools:
       bmc_vendor_tool: racadm
     network_adapters:
       bmc:
-        mac: 70:b5:e8:e4:32:f2 
-        ip: 172.17.109.17
         interface: Ethernet
-        management: true
         enabled: true
         mountable: false
         mounted: false
       eth0:
-        mac: 70:b5:e8:d0:92:58
-        ip: 172.16.109.17
-        interface: Ethernet
         enabled: true
         mountable: true
         mounted: true
       eth1:
-        interface: Ethernet
         enabled: false
         mountable: false
         mounted: false
       eth2:
-        interface: Ethernet
         enabled: false
         mountable: false
         mounted: false
       eth3:
-        interface: Ethernet
         enabled: false
         mountable: false
         mounted: false
     storage_devices:
-      disk0:
+      pci-0000:41:00.0-ata-1:
         id: disk0
         interface: SATA
-        storage: SSD
-        model: unknown
-        by_path: "/dev/disk/by-path/pci-0000:41:00.0-ata-1"
-      disk1:
+      pci-0000:01:00.0-scsi-0:0:0:0:
         id: disk1
         interface: SATA
-        storage: SSD
-        model: unknown
-        by_path: "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0"
diff --git a/input/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.yaml b/input/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.yaml
new file mode 100644
index 00000000000..e7a27fc4f1d
--- /dev/null
+++ b/input/grid5000/sites/rennes/clusters/abacus17/nodes/abacus17-1.yaml
@@ -0,0 +1,173 @@
+# Generated by g5k-checks (g5k-checks -m api)
+---
+abacus17-1:
+  architecture:
+    cpu_core_numbering: contiguous
+    nb_cores: 32
+    nb_procs: 2
+    nb_threads: 64
+    platform_type: x86_64
+  bios:
+    release_date: '09/12/2023'
+    vendor: Dell Inc.
+    version: 2.13.3
+  bmc_version: 7.00.30.00
+  chassis:
+    manufacturer: Dell Inc.
+    name: PowerEdge R7525
+    serial: 6B7PL83
+  gpu_devices:
+    nvidia0:
+      cpu_affinity: 0
+      device: "/dev/nvidia0"
+      memory: 23800578048
+      model: Quadro RTX 6000
+      power_default_limit: 250.00 W
+      vbios_version: 90.02.4E.00.04
+      vendor: Nvidia
+    nvidia1:
+      cpu_affinity: 1
+      device: "/dev/nvidia1"
+      memory: 23800578048
+      model: Quadro RTX 6000
+      power_default_limit: 250.00 W
+      vbios_version: 90.02.4E.00.04
+      vendor: Nvidia
+  main_memory:
+    ram_size: 274877906944
+  memory_devices:
+    dimm_a1:
+      size: 17179869184
+      technology: dram
+    dimm_a2:
+      size: 17179869184
+      technology: dram
+    dimm_a3:
+      size: 17179869184
+      technology: dram
+    dimm_a4:
+      size: 17179869184
+      technology: dram
+    dimm_a5:
+      size: 17179869184
+      technology: dram
+    dimm_a6:
+      size: 17179869184
+      technology: dram
+    dimm_a7:
+      size: 17179869184
+      technology: dram
+    dimm_a8:
+      size: 17179869184
+      technology: dram
+    dimm_b1:
+      size: 17179869184
+      technology: dram
+    dimm_b2:
+      size: 17179869184
+      technology: dram
+    dimm_b3:
+      size: 17179869184
+      technology: dram
+    dimm_b4:
+      size: 17179869184
+      technology: dram
+    dimm_b5:
+      size: 17179869184
+      technology: dram
+    dimm_b6:
+      size: 17179869184
+      technology: dram
+    dimm_b7:
+      size: 17179869184
+      technology: dram
+    dimm_b8:
+      size: 17179869184
+      technology: dram
+  network_adapters:
+    bmc:
+      ip: 172.17.109.17
+      mac: 70:b5:e8:e4:32:f2
+      management: true
+    eth0:
+      driver: tg3
+      firmware_version: FFV22.61.8 bc 5720-v1.39
+      interface: Ethernet
+      ip: 172.16.109.17
+      mac: 70:b5:e8:d0:92:58
+      management: false
+      model: NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
+      name: eno1
+      rate: 1000000000
+      sriov: false
+      sriov_totalvfs: 0
+      vendor: Broadcom Inc. and subsidiaries
+    eth1:
+      driver: tg3
+      firmware_version: FFV22.61.8 bc 5720-v1.39
+      interface: Ethernet
+      mac: 70:b5:e8:d0:92:59
+      management: false
+      model: NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
+      name: eno2
+      sriov: false
+      sriov_totalvfs: 0
+      vendor: Broadcom Inc. and subsidiaries
+    eth2:
+      driver: i40e
+      firmware_version: 9.20 0x8000d95a 22.0.9
+      interface: Ethernet
+      mac: 68:05:ca:ce:a7:0c
+      management: false
+      model: Ethernet Controller X710 for 10GbE SFP+
+      name: eno33
+      sriov: true
+      sriov_totalvfs: 64
+      vendor: Intel
+    eth3:
+      driver: i40e
+      firmware_version: 9.20 0x8000d95a 22.0.9
+      interface: Ethernet
+      mac: 68:05:ca:ce:a7:0d
+      management: false
+      model: Ethernet Controller X710 for 10GbE SFP+
+      name: eno34
+      sriov: true
+      sriov_totalvfs: 64
+      vendor: Intel
+  operating_system:
+    cstate_driver: acpi_idle
+    cstate_governor: menu
+    ht_enabled: true
+    pstate_driver: acpi-cpufreq
+    pstate_governor: performance
+    turboboost_enabled: true
+  processor:
+    cache_l1d: 32768
+    cache_l1i: 32768
+    cache_l2: 524288
+    cache_l3: 16777216
+    ht_capable: true
+    instruction_set: x86-64
+    microcode: '0x830107a'
+    model: AMD EPYC
+    other_description: AMD EPYC 7282 16-Core Processor
+    vendor: AMD
+    version: 7282
+  storage_devices:
+    pci-0000:01:00.0-scsi-0:0:0:0:
+      by_id: "/dev/disk/by-id/wwn-0x55cd2e4152567818"
+      by_path: "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0"
+      firmware_version: XCV1DL69
+      model: SSDSC2KB960G8R
+      size: 960197124096
+      storage: SSD
+    pci-0000:41:00.0-ata-1:
+      by_id: "/dev/disk/by-id/wwn-0x500a075129512787"
+      by_path: "/dev/disk/by-path/pci-0000:41:00.0-ata-1"
+      firmware_version: D3DJ008
+      model: MTFDDAV240TDU
+      size: 240057409536
+      storage: SSD
+  supported_job_types:
+    virtual: amd-v
-- 
GitLab