From 22fa4a84b286d7a3de456da99dfc4d6976dbe78d 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 fa6dd6c887f..5e4bac3ec45 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 e6059cd8f20..2a1e1df7f67 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 21529851bb3..83727d7555e 100644
--- a/data/grid5000/sites/grenoble/clusters/servan/servan.json
+++ b/data/grid5000/sites/grenoble/clusters/servan/servan.json
@@ -345,6 +345,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