diff --git a/test/data/gws-direct.json b/test/data/gws-direct.json index 6154f843058df862b8654782457dc0e7f76908c2..13708864c5b31be4b98630fcd174cea0172f3d1b 100644 --- a/test/data/gws-direct.json +++ b/test/data/gws-direct.json @@ -1 +1,538 @@ -[{"nren": "ARNES", "isp": "Cogent", "hostname": "88.200.0.63", "tag": "a", "counters": [{"field": "discards_in", "oid": "1.3.6.1.2.1.2.2.1.13.533", "community": "gn2nocT3st"}, {"field": "discards_out", "oid": "1.3.6.1.2.1.2.2.1.19.533", "community": "gn2nocT3st"}, {"field": "errors_in", "oid": "1.3.6.1.2.1.2.2.1.14.533", "community": "gn2nocT3st"}, {"field": "errors_out", "oid": "1.3.6.1.2.1.2.2.1.20.533", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Cogent", "hostname": "88.200.0.63", "tag": "b", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.531", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.531", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Cogent", "hostname": "88.200.0.63", "tag": "c", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.525", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.525", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Cogent", "hostname": "88.200.0.63", "tag": "d", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.553", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.553", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Cogent", "hostname": "88.200.0.63", "tag": "e", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.563", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.563", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Telia", "hostname": "62.40.124.6", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.611", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.611", "community": "gn2nocT3st"}]}, {"nren": "ARNES", "isp": "Telia", "hostname": "62.40.124.6", "tag": "b", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.589", "community": "gn2nocT3st"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.589", "community": "gn2nocT3st"}]}, {"nren": "CARNET", "isp": "Cogent", "hostname": "62.40.124.10", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.35", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.35", "community": "atlas1453"}]}, {"nren": "CARNET", "isp": "Telia", "hostname": "62.40.125.150", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.48", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.48", "community": "atlas1453"}]}, {"nren": "KIFU", "isp": "Cogent", "hostname": "195.111.97.108", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.155", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.155", "community": "atlas1453"}]}, {"nren": "KIFU", "isp": "Telia", "hostname": "195.111.97.108", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.148", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.148", "community": "atlas1453"}]}, {"nren": "RedIRIS", "isp": "Telia", "hostname": "130.206.206.250", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.1487", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.1487", "community": "atlas1453"}]}, {"nren": "RedIRIS", "isp": "Telia", "hostname": "130.206.206.250", "tag": "b", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.1488", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.1488", "community": "atlas1453"}]}, {"nren": "RedIRIS", "isp": "Telia", "hostname": "130.206.206.250", "tag": "c", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.1489", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.1489", "community": "atlas1453"}]}, {"nren": "RedIRIS", "isp": "Telia", "hostname": "130.206.206.250", "tag": "d", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.760", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.760", "community": "atlas1453"}]}, {"nren": "RedIRIS", "isp": "Telia", "hostname": "130.206.206.250", "tag": "e", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.796", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.796", "community": "atlas1453"}]}, {"nren": "RoEduNet", "isp": "Cogent", "hostname": "149.6.50.10", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.531", "community": "dante"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.531", "community": "dante"}]}, {"nren": "RoEduNet", "isp": "CenturyLink", "hostname": "212.162.45.194", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.9", "community": "dante"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.9", "community": "dante"}]}, {"nren": "EENet", "isp": "Telia", "hostname": "193.40.133.2", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.263", "community": "geant-mon-telia"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.263", "community": "geant-mon-telia"}]}, {"nren": "PSNC", "isp": "CenturyLink", "hostname": "212.191.126.6", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.675", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.675", "community": "atlas1453"}]}, {"nren": "PSNC", "isp": "CenturyLink", "hostname": "212.191.126.7", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.677", "community": "atlas1453"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.677", "community": "atlas1453"}]}, {"nren": "FCCN", "isp": "Cogent", "hostname": "193.136.5.43", "tag": "a", "counters": [{"field": "traffic_in", "oid": "1.3.6.1.2.1.31.1.1.1.6.47", "community": "geantcom"}, {"field": "traffic_out", "oid": "1.3.6.1.2.1.31.1.1.1.10.47", "community": "geantcom"}]}] +[ + { + "nren": "ARNES", + "isp": "Cogent", + "hostname": "88.200.0.63", + "tag": "a", + "counters": [ + { + "field": "discards_in", + "oid": "1.3.6.1.2.1.2.2.1.13.533", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "discards_out", + "oid": "1.3.6.1.2.1.2.2.1.19.533", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "errors_in", + "oid": "1.3.6.1.2.1.2.2.1.14.533", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "errors_out", + "oid": "1.3.6.1.2.1.2.2.1.20.533", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Cogent", + "hostname": "88.200.0.63", + "tag": "b", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.531", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.531", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Cogent", + "hostname": "88.200.0.63", + "tag": "c", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.525", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.525", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Cogent", + "hostname": "88.200.0.63", + "tag": "d", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.553", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.553", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Cogent", + "hostname": "88.200.0.63", + "tag": "e", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.563", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.563", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Telia", + "hostname": "62.40.124.6", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.611", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.611", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "ARNES", + "isp": "Telia", + "hostname": "62.40.124.6", + "tag": "b", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.589", + "snmp": { + "community": "gn2nocT3st" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.589", + "snmp": { + "community": "gn2nocT3st" + } + } + ] + }, + { + "nren": "CARNET", + "isp": "Cogent", + "hostname": "62.40.124.10", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.35", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.35", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "CARNET", + "isp": "Telia", + "hostname": "62.40.125.150", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.48", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.48", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "KIFU", + "isp": "Cogent", + "hostname": "195.111.97.108", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.155", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.155", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "KIFU", + "isp": "Telia", + "hostname": "195.111.97.108", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.148", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.148", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RedIRIS", + "isp": "Telia", + "hostname": "130.206.206.250", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.1487", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.1487", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RedIRIS", + "isp": "Telia", + "hostname": "130.206.206.250", + "tag": "b", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.1488", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.1488", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RedIRIS", + "isp": "Telia", + "hostname": "130.206.206.250", + "tag": "c", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.1489", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.1489", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RedIRIS", + "isp": "Telia", + "hostname": "130.206.206.250", + "tag": "d", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.760", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.760", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RedIRIS", + "isp": "Telia", + "hostname": "130.206.206.250", + "tag": "e", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.796", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.796", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "RoEduNet", + "isp": "Cogent", + "hostname": "149.6.50.10", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.531", + "snmp": { + "community": "dante" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.531", + "snmp": { + "community": "dante" + } + } + ] + }, + { + "nren": "RoEduNet", + "isp": "CenturyLink", + "hostname": "212.162.45.194", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.9", + "snmp": { + "community": "dante" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.9", + "snmp": { + "community": "dante" + } + } + ] + }, + { + "nren": "EENet", + "isp": "Telia", + "hostname": "193.40.133.2", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.263", + "snmp": { + "community": "geant-mon-telia" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.263", + "snmp": { + "community": "geant-mon-telia" + } + } + ] + }, + { + "nren": "PSNC", + "isp": "CenturyLink", + "hostname": "212.191.126.6", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.675", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.675", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "PSNC", + "isp": "CenturyLink", + "hostname": "212.191.126.7", + "tag": "b", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.677", + "snmp": { + "community": "atlas1453" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.677", + "snmp": { + "community": "atlas1453" + } + } + ] + }, + { + "nren": "FCCN", + "isp": "Cogent", + "hostname": "193.136.5.43", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.47", + "snmp": { + "community": "geantcom" + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.47", + "snmp": { + "community": "geantcom" + } + } + ] + }, + { + "nren": "HEANET", + "isp": "CenturyLink", + "hostname": "core2-cwt.nn.hea.net", + "tag": "a", + "counters": [ + { + "field": "traffic_in", + "oid": "1.3.6.1.2.1.31.1.1.1.6.645", + "snmp": { + "sec-name": "geant", + "auth": { + "protocol": "MD5", + "password": "aagagag" + }, + "priv": { + "protocol": "DES", + "password": "asdfadfads" + } + } + }, + { + "field": "traffic_out", + "oid": "1.3.6.1.2.1.31.1.1.1.10.645", + "snmp": { + "sec-name": "geant", + "auth": { + "protocol": "MD5", + "password": "aagagag" + }, + "priv": { + "protocol": "DES", + "password": "asdfadfads" + } + } + } + ] + } +]