From 9ce68a377076ff43063f1c8059968f4fccb221fb Mon Sep 17 00:00:00 2001
From: Pierre Neyron <pierre.neyron@imag.fr>
Date: Mon, 29 Aug 2022 15:36:49 +0200
Subject: [PATCH] Regenerate API data

---
 .../clusters/servan/nodes/servan-1.json       |  10 +-
 .../clusters/servan/nodes/servan-2.json       |  10 +-
 .../grenoble/clusters/servan/servan.json      | 176 ++++++++++++++++++
 3 files changed, 188 insertions(+), 8 deletions(-)

diff --git a/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-1.json b/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-1.json
index 962c1bcdc79..8190460329c 100644
--- a/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-1.json
+++ b/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-1.json
@@ -276,9 +276,9 @@
     },
     {
       "device": "fpga0",
-      "driver": "xrt",
+      "driver": "n/a",
       "enabled": true,
-      "interface": "Ethernet-FPGA",
+      "interface": "Ethernet",
       "ip": "172.16.23.11",
       "ip6": "2001:660:4406:100:8:1:0:1",
       "kavlan": true,
@@ -287,6 +287,7 @@
       "model": "Alveo U200 QSFP28 (100GbE)",
       "mountable": true,
       "mounted": false,
+      "name": "fpga0",
       "network_address": "servan-1-fpga0.grenoble.grid5000.fr",
       "rate": 100000000000,
       "sriov": false,
@@ -297,9 +298,9 @@
     },
     {
       "device": "fpga1",
-      "driver": "xrt",
+      "driver": "n/a",
       "enabled": true,
-      "interface": "Ethernet-FPGA",
+      "interface": "Ethernet",
       "ip": "172.16.23.21",
       "ip6": "2001:660:4406:100:8:2:0:1",
       "kavlan": true,
@@ -308,6 +309,7 @@
       "model": "Alveo U200 QSFP28 (100GbE)",
       "mountable": true,
       "mounted": false,
+      "name": "fpga1",
       "network_address": "servan-1-fpga1.grenoble.grid5000.fr",
       "rate": 100000000000,
       "sriov": false,
diff --git a/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-2.json b/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-2.json
index 1e9dfb3d25f..85b18c65777 100644
--- a/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-2.json
+++ b/data/grid5000/sites/grenoble/clusters/servan/nodes/servan-2.json
@@ -276,9 +276,9 @@
     },
     {
       "device": "fpga0",
-      "driver": "xrt",
+      "driver": "n/a",
       "enabled": true,
-      "interface": "Ethernet-FPGA",
+      "interface": "Ethernet",
       "ip": "172.16.23.12",
       "ip6": "2001:660:4406:100:8:1:0:2",
       "kavlan": true,
@@ -287,6 +287,7 @@
       "model": "Alveo U200 QSFP28 (100GbE)",
       "mountable": true,
       "mounted": false,
+      "name": "fpga0",
       "network_address": "servan-2-fpga0.grenoble.grid5000.fr",
       "rate": 100000000000,
       "sriov": false,
@@ -297,9 +298,9 @@
     },
     {
       "device": "fpga1",
-      "driver": "xrt",
+      "driver": "n/a",
       "enabled": true,
-      "interface": "Ethernet-FPGA",
+      "interface": "Ethernet",
       "ip": "172.16.23.22",
       "ip6": "2001:660:4406:100:8:2:0:2",
       "kavlan": true,
@@ -308,6 +309,7 @@
       "model": "Alveo U200 QSFP28 (100GbE)",
       "mountable": true,
       "mounted": false,
+      "name": "fpga1",
       "network_address": "servan-2-fpga1.grenoble.grid5000.fr",
       "rate": 100000000000,
       "sriov": false,
diff --git a/data/grid5000/sites/grenoble/clusters/servan/servan.json b/data/grid5000/sites/grenoble/clusters/servan/servan.json
index ba11cc30fe2..9b4801ba23f 100644
--- a/data/grid5000/sites/grenoble/clusters/servan/servan.json
+++ b/data/grid5000/sites/grenoble/clusters/servan/servan.json
@@ -336,6 +336,182 @@
       "source": {
         "protocol": "network_equipment"
       }
+    },
+    {
+      "description": "Input byte counter for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifacein_bytes_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output byte counter for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifaceout_bytes_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input packet counter for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifacein_packets_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output packet counter for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifaceout_packets_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input counter of discarded packets for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifacein_packets_discard_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output counter of discarded packets for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifaceout_packets_discard_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input counter of packet errors for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifacein_packets_error_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output counter of packet errors for the network device port",
+      "labels": {
+        "interface": "fpga0"
+      },
+      "name": "network_ifaceout_packets_error_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input byte counter for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifacein_bytes_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output byte counter for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifaceout_bytes_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input packet counter for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifacein_packets_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output packet counter for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifaceout_packets_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input counter of discarded packets for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifacein_packets_discard_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output counter of discarded packets for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifaceout_packets_discard_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Input counter of packet errors for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifacein_packets_error_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
+    },
+    {
+      "description": "Output counter of packet errors for the network device port",
+      "labels": {
+        "interface": "fpga1"
+      },
+      "name": "network_ifaceout_packets_error_total",
+      "period": 15000,
+      "source": {
+        "protocol": "network_equipment"
+      }
     }
   ],
   "model": "Dell PowerEdge R7525",
-- 
GitLab