From d7f3f652f3ed35fdb33636141b1aa8f2d240be70 Mon Sep 17 00:00:00 2001 From: BERARD Benjamin <benjamin.berard@inria.fr> Date: Tue, 2 Feb 2021 11:09:34 +0100 Subject: [PATCH] =?UTF-8?q?[grouille/nancy]=C2=A0Add=20interface=20for=20g?= =?UTF-8?q?rouille-[1,2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nancy/clusters/grouille/grouille.json | 23 ++++++++++++++++++- .../clusters/grouille/nodes/grouille-1.json | 4 ++-- .../clusters/grouille/nodes/grouille-2.json | 4 ++-- .../nancy/network_equipments/sgrappe.json | 8 +++++++ .../sites/nancy/networks/sgrappe.yaml | 4 ++++ 5 files changed, 38 insertions(+), 5 deletions(-) diff --git a/data/grid5000/sites/nancy/clusters/grouille/grouille.json b/data/grid5000/sites/nancy/clusters/grouille/grouille.json index 10bde3899d4..1ff9d158621 100644 --- a/data/grid5000/sites/nancy/clusters/grouille/grouille.json +++ b/data/grid5000/sites/nancy/clusters/grouille/grouille.json @@ -3,7 +3,28 @@ "exotic": false, "kavlan": false, "metrics": [ - + { + "description": "Input byte counter for the network device port", + "labels": { + "interface": "eth2" + }, + "name": "network_ifacein_bytes_total", + "period": 1000, + "source": { + "protocol": "network_equipment" + } + }, + { + "description": "Output byte counter for the network device port", + "labels": { + "interface": "eth2" + }, + "name": "network_ifaceout_bytes_total", + "period": 1000, + "source": { + "protocol": "network_equipment" + } + } ], "model": "Dell PowerEdge R7525", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-1.json b/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-1.json index 8272053d8f3..143abfcaa51 100644 --- a/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-1.json +++ b/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-1.json @@ -92,8 +92,8 @@ "name": "eno33", "network_address": "grouille-1.nancy.grid5000.fr", "rate": 25000000000, - "switch": null, - "switch_port": null, + "switch": "sgrappe", + "switch_port": "ethernet1/1/17", "vendor": "Mellanox Technologies" }, { diff --git a/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-2.json b/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-2.json index c80deb0abe4..8cd5c6d9798 100644 --- a/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-2.json +++ b/data/grid5000/sites/nancy/clusters/grouille/nodes/grouille-2.json @@ -92,8 +92,8 @@ "name": "eno33", "network_address": "grouille-2.nancy.grid5000.fr", "rate": 25000000000, - "switch": null, - "switch_port": null, + "switch": "sgrappe", + "switch_port": "ethernet1/1/18", "vendor": "Mellanox Technologies" }, { diff --git a/data/grid5000/sites/nancy/network_equipments/sgrappe.json b/data/grid5000/sites/nancy/network_equipments/sgrappe.json index fcd5896d346..41eef1678f0 100644 --- a/data/grid5000/sites/nancy/network_equipments/sgrappe.json +++ b/data/grid5000/sites/nancy/network_equipments/sgrappe.json @@ -116,8 +116,16 @@ "uid": "grappe-16" }, { + "kind": "node", + "port": "eth0", + "snmp_name": "ethernet1/1/17", + "uid": "grouille-1" }, { + "kind": "node", + "port": "eth0", + "snmp_name": "ethernet1/1/18", + "uid": "grouille-2" }, { }, diff --git a/input/grid5000/sites/nancy/networks/sgrappe.yaml b/input/grid5000/sites/nancy/networks/sgrappe.yaml index 7b2ffcf9629..103c2c7048e 100644 --- a/input/grid5000/sites/nancy/networks/sgrappe.yaml +++ b/input/grid5000/sites/nancy/networks/sgrappe.yaml @@ -60,6 +60,10 @@ sgrappe: uid: grappe-15 16: uid: grappe-16 + 17: + uid: grouille-1 + 18: + uid: grouille-2 25: snmp_pattern: "ethernet1/%LINECARD%/%PORT%:1" kind: node -- GitLab