add: 中南大学教育网测试节点

This commit is contained in:
sjlleo
2022-06-06 21:09:58 +08:00
parent 3e71926127
commit 5603317fa3
2 changed files with 12 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ type AllLocationCollection struct {
Guangzhou BackBoneCollection
Hangzhou BackBoneCollection
Hefei BackBoneCollection
Changsha BackBoneCollection
}
type BackBoneCollection struct {
@@ -39,6 +40,7 @@ var TestIPsCollection = AllLocationCollection{
Guangzhou: Guangzhou,
Hangzhou: Hangzhou,
Hefei: Hefei,
Changsha: Changsha,
}
var Beijing = BackBoneCollection{
@@ -148,4 +150,13 @@ var Hefei = BackBoneCollection{
ISPName: "中国科学技术大学 科技网 AS7497",
IP: "210.72.22.2",
},
}
var Changsha = BackBoneCollection{
Location: "长沙",
// 中南大学 教育网
EDU: ISPCollection{
ISPName: EDU,
IP: "202.197.61.221",
},
}

View File

@@ -108,6 +108,7 @@ func (f *FastTracer) testEDU() {
f.tracert(TestIPsCollection.Hefei.Location, TestIPsCollection.Hefei.EDU)
// 科技网暂时算在EDU里面等拿到了足够多的数据再分离出去单独用于测试
f.tracert(TestIPsCollection.Hefei.Location, TestIPsCollection.Hefei.CST)
f.tracert(TestIPsCollection.Changsha.Location, TestIPsCollection.Changsha.EDU)
}
func FastTest(tm bool) {