Commit abac65c2 authored by PARISOT Clement's avatar PARISOT Clement

[nancy] network_equipments - Remove unused switchs from API

parent 60f2796b
......@@ -68,8 +68,8 @@
"mountable": true,
"mounted": false,
"rate": 10000000000,
"switch": "sgriffon2",
"switch_port": "Ten-GigabitEthernet1/2/1",
"switch": null,
"switch_port": null,
"vendor": "myrinet",
"version": "Myri-10G"
},
......
......@@ -68,8 +68,8 @@
"mountable": true,
"mounted": false,
"rate": 10000000000,
"switch": "sgriffon3",
"switch_port": "Ten-GigabitEthernet1/2/1",
"switch": null,
"switch_port": null,
"vendor": "myrinet",
"version": "Myri-10G"
},
......
......@@ -65,8 +65,7 @@
},
{
"kind": "other",
"uid": "sgriffonib"
},
{
......@@ -122,16 +121,14 @@
"uid": "LORIA"
},
{
"kind": "other",
"uid": "sgriffon2-ipmi"
},
{
"kind": "other",
"uid": "sgriffon1-ipmi"
},
{
"kind": "other",
"uid": "sgriffon3-ipmi"
},
{
"kind": "other",
......@@ -163,15 +160,6 @@
},
{
"uid": "sgriffon1"
},
{
},
{
"uid": "sgriffon3"
},
{
"uid": "sgriffon2"
}
],
"rate": 10000000000,
......
{
"backplane_bps": 173000000000,
"channels": {
"lacp1": [
{
"linecard": 1,
"port": 4
}
],
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "other",
"model": "J8693A",
"naming_pattern": "interface%%PORT%",
"ports": [
{
},
{
"port": "eth0",
"uid": "storage5k"
},
{
"port": "eth1",
"uid": "storage5k"
},
{
"port": "eth2",
"uid": "storage5k"
},
{
"port": "eth3",
"uid": "storage5k"
},
{
"port": "asm",
"uid": "storage5k"
},
{
"port": "bmc",
"uid": "storage5k"
}
],
"rate": 1000000000
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"ports": [
{
},
{
"uid": "gw-nancy"
}
],
"rate": 10000000000
}
],
"model": "HP Procurve 3500yl-48G J8693A",
"mtu": null,
"routes": {
},
"site": "nancy",
"snmp_community": "public",
"type": "network_equipment",
"uid": "sgrelon1",
"vlans": {
"naming_pattern": "Vlan-interface%VLANID%",
"vlan1": {
"addresses": [
"172.16.79.228"
],
"administrative": true
}
},
"weathermap": {
}
}
\ No newline at end of file
{
"backplane_bps": 176000000000,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "node",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
"uid": "griffon-30"
},
{
"uid": "griffon-31"
},
{
"uid": "griffon-32"
},
{
"uid": "griffon-33"
},
{
"uid": "griffon-34"
},
{
"uid": "griffon-35"
},
{
"uid": "griffon-36"
},
{
"uid": "griffon-37"
},
{
"uid": "griffon-38"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"uid": "griffon-39"
},
{
"uid": "griffon-40"
},
{
"uid": "griffon-41"
},
{
"uid": "griffon-42"
},
{
"uid": "griffon-43"
},
{
"uid": "griffon-44"
},
{
"uid": "griffon-45"
},
{
"uid": "griffon-46"
},
{
"uid": "griffon-47"
},
{
"uid": "griffon-48"
},
{
"uid": "griffon-49"
},
{
"uid": "griffon-51"
},
{
"uid": "griffon-50"
},
{
"uid": "griffon-52"
},
{
"uid": "griffon-53"
},
{
"uid": "griffon-54"
},
{
"uid": "griffon-55"
},
{
"uid": "griffon-56"
},
{
"uid": "griffon-57"
}
],
"rate": 1000000000,
"snmp_pattern": "GigabitEthernet1/%LINECARD%/%PORT%"
},
{
"kind": "router",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
"uid": "gw-nancy"
}
],
"rate": 10000000000,
"snmp_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
},
{
"kind": "node",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
"port": "eth2",
"uid": "griffon-13"
}
],
"rate": 10000000000,
"snmp_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
}
],
"model": "3com 4500g",
"mtu": 9216,
"routes": {
},
"site": "nancy",
"snmp_community": "public",
"type": "network_equipment",
"uid": "sgriffon2",
"vlans": {
"naming_pattern": "Vlan-interface%VLANID%",
"vlan1": {
"addresses": [
"172.16.79.206"
],
"administrative": true
}
},
"weathermap": {
}
}
\ No newline at end of file
{
"backplane_bps": 176000000000,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "node",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
"uid": "griffon-61"
},
{
"uid": "griffon-62"
},
{
"uid": "griffon-63"
},
{
"uid": "griffon-64"
},
{
"uid": "griffon-65"
},
{
"uid": "griffon-66"
},
{
"uid": "griffon-67"
},
{
"uid": "griffon-68"
},
{
"uid": "griffon-69"
},
{
"uid": "griffon-70"
},
{
"uid": "griffon-71"
},
{
"uid": "griffon-72"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"uid": "griffon-73"
},
{
"uid": "griffon-74"
},
{
"uid": "griffon-75"
},
{
"uid": "griffon-76"
},
{
"uid": "griffon-77"
},
{
"uid": "griffon-78"
},
{
"uid": "griffon-79"
},
{
"uid": "griffon-80"
},
{
"uid": "griffon-81"
},
{
"uid": "griffon-82"
},
{
"uid": "griffon-83"
},
{
"uid": "griffon-84"
},
{
"uid": "griffon-85"
},
{
"uid": "griffon-86"
},
{
"uid": "griffon-87"
},
{
"uid": "griffon-88"
},
{
"uid": "griffon-89"
},
{
"uid": "griffon-90"
},
{
"uid": "griffon-91"
},
{
"uid": "griffon-92"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"kind": "switch",
"uid": "smbi1"
}
],
"rate": 1000000000,
"snmp_pattern": "GigabitEthernet1/%LINECARD%/%PORT%"
},
{
"kind": "router",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
"uid": "gw-nancy"
}
],
"rate": 10000000000,
"snmp_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
},
{
"kind": "node",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
},
{
"port": "eth2",
"uid": "griffon-14"
}
],
"rate": 10000000000,
"snmp_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
}
],
"model": "3com 4500g",
"mtu": 9216,
"routes": {
},
"site": "nancy",
"snmp_community": "public",
"type": "network_equipment",
"uid": "sgriffon3",
"vlans": {
"naming_pattern": "Vlan-interface%VLANID%",
"vlan1": {
"addresses": [
"172.16.79.207"
],
"administrative": true
}
},
"weathermap": {
}
}
\ No newline at end of file
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"kind": "switch",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
},
{
},
{
"uid": "sgrapheneib"
}
],
"rate": 20000000000,
"snmp_pattern": "%LINECARD%/%PORT%"
}
],
"model": "Infiniband",
"mtu": null,
"routes": {
},
"site": "nancy",
"snmp_community": "public",
"type": "network_equipment",
"uid": "sgriffonib",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
}
}
\ No newline at end of file
......@@ -83,9 +83,6 @@ gw-nancy:
kind: switch
uid: stalc1
port: stalc1
6:
kind: other
uid: sgriffonib
8:
port: eth0
uid: grog
......@@ -125,15 +122,9 @@ gw-nancy:
18:
uid: LORIA
kind: virtual
19:
uid: sgriffon2-ipmi
kind: other
20:
uid: sgriffon1-ipmi
kind: other
21:
uid: sgriffon3-ipmi
kind: other
22:
port: eth0
kind: other
......@@ -155,8 +146,6 @@ gw-nancy:
rate: 10000000000
ports:
1: sgriffon1
3: sgriffon3
4: sgriffon2
3:
naming_pattern: "%LINECARD:C%%PORT%"
snmp_pattern: "C%PORT%"
......
---
sgrelon1:
model: HP Procurve 3500yl-48G J8693A
kind: switch
site: nancy
snmp_community: public
vlans: