diff --git a/data/grid5000/sites/nantes/network_equipments/ecot-prod.json b/data/grid5000/sites/nantes/network_equipments/ecot-prod.json new file mode 100644 index 0000000000000000000000000000000000000000..cea93c44c8eecd4cca75165b6fb15f8078bb311b --- /dev/null +++ b/data/grid5000/sites/nantes/network_equipments/ecot-prod.json @@ -0,0 +1,100 @@ +{ + "backplane_bps": 1440000000000, + "ip": "172.16.207.250", + "kind": "switch", + "linecards": [ + { + }, + { + "kavlan_pattern": "%LINECARD%/1/%PORT%", + "kind": "node", + "ports": [ + + ], + "rate": 25000000000, + "snmp_pattern": "%LINECARD%/1/%PORT%" + } + ], + "managed_by_us": true, + "metrics": [ + { + "description": "Input byte counter for the network device port", + "name": "network_ifacein_bytes_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.10.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Output byte counter for the network device port", + "name": "network_ifaceout_bytes_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.16.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Input packet counter for the network device port", + "name": "network_ifacein_packets_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.11.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Output packet counter for the network device port", + "name": "network_ifaceout_packets_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.17.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Input counter of discarded packets for the network device port", + "name": "network_ifacein_packets_discard_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.13.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Output counter of discarded packets for the network device port", + "name": "network_ifaceout_packets_discard_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.19.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Input counter of packet errors for the network device port", + "name": "network_ifacein_packets_error_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.14.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + }, + { + "description": "Output counter of packet errors for the network device port", + "name": "network_ifaceout_packets_error_total", + "period": 5000, + "source": { + "id": "1.3.6.1.2.1.2.2.1.20.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }}", + "protocol": "snmp" + } + } + ], + "model": "Aruba 8325-48Y8C", + "serial": "TW52KM0015", + "site": "nantes", + "snmp_community": "public", + "type": "network_equipment", + "uid": "ecot-prod", + "warranty": "2030-06-20" +} \ No newline at end of file diff --git a/input/grid5000/sites/nantes/networks/ecot-prod.yaml b/input/grid5000/sites/nantes/networks/ecot-prod.yaml new file mode 100644 index 0000000000000000000000000000000000000000..040ab74cca1c36141f8f333ef2f76807066e470e --- /dev/null +++ b/input/grid5000/sites/nantes/networks/ecot-prod.yaml @@ -0,0 +1,67 @@ +--- +ecot-prod: + model: Aruba 8325-48Y8C + serial: TW52KM0015 + warranty: 2030-06-20 + kind: switch + managed_by_us: true + site: nantes + ip: 172.16.207.250 + snmp_community: public + metrics: + - name: network_ifacein_bytes_total + description: Input byte counter for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.10.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifaceout_bytes_total + description: Output byte counter for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.16.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifacein_packets_total + description: Input packet counter for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.11.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifaceout_packets_total + description: Output packet counter for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.17.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifacein_packets_discard_total + description: Input counter of discarded packets for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.13.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifaceout_packets_discard_total + description: Output counter of discarded packets for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.19.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifacein_packets_error_total + description: Input counter of packet errors for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.14.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + - name: network_ifaceout_packets_error_total + description: Output counter of packet errors for the network device port + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.2.1.2.2.1.20.{{ 1.3.6.1.2.1.2.2.1.2 == %SNMP_IFACE% }} + backplane_bps: 1440000000000 + linecards: + 1: + snmp_pattern: "%LINECARD%/1/%PORT%" + kavlan_pattern: "%LINECARD%/1/%PORT%" + rate: 25000000000 + kind: node + ports: []