diff --git a/data/grid5000/sites/sophia/network_equipments/gw.json b/data/grid5000/sites/sophia/network_equipments/gw.json index 02017247ee2fed2d5dd8c999fcddcef3ca416f9e..9e12f08c9433b44acb0bf2e51820788ae1867c98 100644 --- a/data/grid5000/sites/sophia/network_equipments/gw.json +++ b/data/grid5000/sites/sophia/network_equipments/gw.json @@ -243,6 +243,10 @@ "uid": "sw-3" }, { + "kind": "switch", + "rate": 1000000000, + "snmp_name": "1/1/46", + "uid": "sw-7" }, { "kind": "switch", diff --git a/data/grid5000/sites/sophia/network_equipments/sw-7.json b/data/grid5000/sites/sophia/network_equipments/sw-7.json new file mode 100644 index 0000000000000000000000000000000000000000..7e14920c2746f9635d3e89e0dda0d4a060d2e0e6 --- /dev/null +++ b/data/grid5000/sites/sophia/network_equipments/sw-7.json @@ -0,0 +1,171 @@ +{ + "backplane_bps": 1280000000000, + "ip": "172.17.143.238", + "kind": "switch", + "linecards": [ + { + "kavlan_pattern": "Te1/%LINECARD%/%PORT%", + "kind": "node", + "ports": [ + { + }, + { + }, + { + "kind": "node", + "port": "eth0", + "snmp_name": "Te1/0/2", + "uid": "esterel31-1" + }, + { + "kind": "node", + "port": "eth0", + "snmp_name": "Te1/0/3", + "uid": "esterel31-2" + }, + { + }, + { + "kind": "node", + "port": "eth0", + "snmp_name": "Te1/0/5", + "uid": "esterel31-3" + }, + { + "kind": "node", + "port": "eth0", + "snmp_name": "Te1/0/6", + "uid": "esterel31-4" + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + "kind": "router", + "rate": 1000000000, + "snmp_name": "Te1/0/23", + "uid": "gw" + }, + { + "kind": "switch", + "rate": 1000000000, + "snmp_name": "Te1/0/24", + "uid": "swadmin-7" + } + ], + "rate": 10000000000, + "snmp_pattern": "Te1/%LINECARD%/%PORT%" + } + ], + "managed_by_us": true, + "metrics": [ + { + "description": "Input byte counter for the network device port", + "name": "network_ifacein_bytes_total", + "period": 15000, + "source": { + "id": "1.3.6.1.2.1.31.1.1.1.6.{{ 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": 15000, + "source": { + "id": "1.3.6.1.2.1.31.1.1.1.10.{{ 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": 15000, + "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": 15000, + "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": 15000, + "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": 15000, + "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": 15000, + "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": 15000, + "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": "Dell PowerSwitch N4032", + "serial": "6PX8XC2", + "site": "sophia", + "snmp_community": "public", + "type": "network_equipment", + "uid": "sw-7", + "warranty": "2019-11" +} \ No newline at end of file diff --git a/data/grid5000/sites/sophia/network_equipments/swadmin-7.json b/data/grid5000/sites/sophia/network_equipments/swadmin-7.json new file mode 100644 index 0000000000000000000000000000000000000000..dcc6f18a270b75636a3ea8dd2da87db3f53ce422 --- /dev/null +++ b/data/grid5000/sites/sophia/network_equipments/swadmin-7.json @@ -0,0 +1,88 @@ +{ + "ip": "172.17.143.219", + "kind": "switch", + "linecards": [ + { + }, + { + "kavlan_pattern": "%LINECARD%/1/%PORT%", + "kind": "node", + "ports": [ + { + }, + { + "kind": "other", + "snmp_name": "1/1/1", + "uid": "esterel31-1-bmc" + }, + { + "kind": "other", + "snmp_name": "1/1/2", + "uid": "esterel31-2-bmc" + }, + { + }, + { + "kind": "other", + "snmp_name": "1/1/4", + "uid": "esterel31-3-bmc" + }, + { + "kind": "other", + "snmp_name": "1/1/5", + "uid": "esterel31-4-bmc" + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + "kind": "switch", + "snmp_name": "1/1/24", + "uid": "sw-7" + } + ], + "rate": 1000000000, + "snmp_pattern": "%LINECARD%/1/%PORT%" + } + ], + "managed_by_us": true, + "model": "Aruba 2930F", + "site": "sophia", + "snmp_community": "public", + "type": "network_equipment", + "uid": "swadmin-7", + "warranty": "2029-11" +} \ No newline at end of file diff --git a/input/grid5000/sites/sophia/networks/gw-sophia.yaml b/input/grid5000/sites/sophia/networks/gw-sophia.yaml index c9d805654b96a4add56899744e9b9fd34acb3f8c..bcdf8a3b2319331cee7dc4fe4069c7d3fcf1f2b1 100644 --- a/input/grid5000/sites/sophia/networks/gw-sophia.yaml +++ b/input/grid5000/sites/sophia/networks/gw-sophia.yaml @@ -153,6 +153,10 @@ gw: uid: sw-3 kind: switch rate: 10000000000 + 46: + uid: sw-7 + kind: switch + rate: 1000000000 47: uid: sw-2 kind: switch diff --git a/input/grid5000/sites/sophia/networks/sw-7.yaml b/input/grid5000/sites/sophia/networks/sw-7.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4522f5d4617b4a1b5b546fc70e249fb27ae244ba --- /dev/null +++ b/input/grid5000/sites/sophia/networks/sw-7.yaml @@ -0,0 +1,83 @@ +--- +sw-7: + model: Dell PowerSwitch N4032 + serial: 6PX8XC2 + warranty: 2019-11 + kind: switch + managed_by_us: true + site: sophia + snmp_community: public + ip: 172.17.143.238 + metrics: + - name: network_ifacein_bytes_total + description: Input byte counter for the network device port + period: 15000 + source: + protocol: snmp + id: 1.3.6.1.2.1.31.1.1.1.6.{{ 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: 15000 + source: + protocol: snmp + id: 1.3.6.1.2.1.31.1.1.1.10.{{ 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: 15000 + 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: 15000 + 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: 15000 + 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: 15000 + 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: 15000 + 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: 15000 + 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: 1280000000000 + linecards: + 0: + snmp_pattern: "Te1/%LINECARD%/%PORT%" + kavlan_pattern: "Te1/%LINECARD%/%PORT%" + rate: 10000000000 + kind: node + ports: + 2: + uid: esterel31-1 + 3: + uid: esterel31-2 + 5: + uid: esterel31-3 + 6: + uid: esterel31-4 + 23: + uid: gw + kind: router + rate: 1000000000 + 24: + uid: swadmin-7 + kind: switch + rate: 1000000000 diff --git a/input/grid5000/sites/sophia/networks/swadmin-7.yaml b/input/grid5000/sites/sophia/networks/swadmin-7.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5ad7d7c8a917a9a8897b853d132d0eeb75ebb3a6 --- /dev/null +++ b/input/grid5000/sites/sophia/networks/swadmin-7.yaml @@ -0,0 +1,31 @@ +--- +swadmin-7: + model: Aruba 2930F + warranty: 2029-11 + kind: switch + managed_by_us: true + site: sophia + ip: 172.17.143.219 + snmp_community: public + linecards: + 1: + snmp_pattern: "%LINECARD%/1/%PORT%" + kavlan_pattern: "%LINECARD%/1/%PORT%" + rate: 1000000000 + kind: node + ports: + 1: + uid: esterel31-1-bmc + kind: other + 2: + uid: esterel31-2-bmc + kind: other + 4: + uid: esterel31-3-bmc + kind: other + 5: + uid: esterel31-4-bmc + kind: other + 24: + uid: sw-7 + kind: switch