@riil-frontend/component-topology 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/README.md +5 -1
  2. package/build/1.js +2 -2
  3. package/build/2.js +1 -1
  4. package/build/index.js +37 -37
  5. package/demo/{usage.md → 1/345/237/272/346/234/254/usage.md} +0 -0
  6. package/demo/{usage1.md → 1/345/237/272/346/234/254/usage1.md} +0 -0
  7. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/TopoCenterViewer.jsx +75 -0
  8. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/createMockRequest.js +38 -0
  9. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/api/v1/model/getAllDict +1029 -0
  10. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/alarm +0 -0
  11. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/alarm.json +0 -0
  12. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/attributes/once +2596 -0
  13. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/attributes/once.json +2596 -0
  14. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/attributes/polling +2293 -0
  15. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/attributes/polling.json +2293 -0
  16. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/auth/permission/2 +1 -0
  17. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/auth/permission/2.json +1 -0
  18. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/menu +48 -0
  19. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/menu.json +48 -0
  20. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/shape +1 -0
  21. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/shape.json +1 -0
  22. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/structure/both/2 +618 -0
  23. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/structure/both/2.json +618 -0
  24. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/structure/relationList +192 -0
  25. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/structure/relationList.json +192 -0
  26. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/webUrl/list +1 -0
  27. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/topo/v1/webUrl/list.json +1 -0
  28. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/v1/api/authFunc/checkFuncAuthentication +14 -0
  29. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/appserver/v1/api/authFunc/checkFuncAuthentication.json +14 -0
  30. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203/js/request.js +7 -0
  31. package/demo/2/346/213/223/346/211/221/344/270/255/345/277/203//345/261/225/347/244/272/346/250/241/345/274/217.md +10 -0
  32. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/AppInstallTopo.jsx +90 -0
  33. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/api/v1/model/getAllDict +1029 -0
  34. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/alarm +0 -0
  35. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/alarm.json +0 -0
  36. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/attributes/once +2596 -0
  37. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/attributes/once.json +2596 -0
  38. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/attributes/polling +2293 -0
  39. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/attributes/polling.json +2293 -0
  40. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/auth/permission/2 +1 -0
  41. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/auth/permission/2.json +1 -0
  42. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/menu +48 -0
  43. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/menu.json +48 -0
  44. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/shape +1 -0
  45. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/shape.json +1 -0
  46. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/structure/both/1 +3 -0
  47. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/structure/both/2 +618 -0
  48. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/structure/both/2.json +618 -0
  49. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/webUrl/list +1 -0
  50. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/topo/v1/webUrl/list.json +1 -0
  51. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/v1/api/authFunc/checkFuncAuthentication +14 -0
  52. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/appserver/v1/api/authFunc/checkFuncAuthentication.json +14 -0
  53. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/mock/data/simple.json +190 -0
  54. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221/src/request.js +7 -0
  55. package/demo/3/345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221//345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221.md +10 -0
  56. package/demo/{/346/213/223/346/211/221/344/270/255/345/277/203.md → 4/345/210/206/345/261/202/351/205/215/347/275/256/347/273/204/344/273/266/js/a.js} +15 -25
  57. package/demo/4/345/210/206/345/261/202/351/205/215/347/275/256/347/273/204/344/273/266//345/261/225/347/244/272/347/273/204/344/273/266.md +10 -0
  58. package/demo/{API.md → API/API.md} +0 -0
  59. package/es/components/BatchAttrMetric/index.js +2 -2
  60. package/es/components/BatchAttrMetric/setting.js +12 -9
  61. package/es/components/BatchAttrMetric/utils.js +4 -3
  62. package/es/components/Drawer/index.js +5 -4
  63. package/es/components/FormTable/index.js +7 -5
  64. package/es/components/IndexSettingDrawer/CiList.js +2 -2
  65. package/es/components/IndexSettingDrawer/CiListItem.js +2 -2
  66. package/es/components/IndexSettingDrawer/IndexList.js +3 -3
  67. package/es/components/IndexSettingDrawer/index.js +2 -2
  68. package/es/components/Link/form.js +19 -13
  69. package/es/components/Link/index.js +4 -3
  70. package/es/components/Link/setting.js +12 -9
  71. package/es/components/MultiResourceDrawer/Content.js +5 -3
  72. package/es/components/MultiResourceDrawer/ResourceCard/index.js +5 -4
  73. package/es/components/SingleResourceDrawer/index.js +3 -2
  74. package/es/components/TopoView/Topo.js +2 -2
  75. package/es/components/TopoView/plugins/ResourceDetail/topoDrawer.js +6 -4
  76. package/es/components/TopoView/plugins/ResourceWebControllUrlSettingDialog.js +13 -7
  77. package/es/components/TopoView/settings/LayerSettingsForm.js +35 -26
  78. package/es/components/TopoView/settings/ResourceList.js +4 -3
  79. package/es/components/TopoView/settings/SelectResource/index.js +18 -12
  80. package/es/components/TopoView/settings/Settings.js +0 -1
  81. package/es/components/TopoView/settings/SettingsForm.js +4 -3
  82. package/es/components/TopoView/settings/Style.js +22 -14
  83. package/es/components/TopoView/toolbar/TopoEditorTitleBar.js +3 -3
  84. package/es/components/TopoView/toolbar/TopoViewerTitleBar.js +2 -2
  85. package/es/components/TopoView/toolbar/ViewTools.js +8 -6
  86. package/es/components/TopoView/toolbar/widgets/SearchWidget.js +2 -2
  87. package/es/components/TopoView/topoView.js +9 -23
  88. package/es/components/edit/EditPlugin.js +2 -2
  89. package/es/components/edit/LinkDynamicStyleSettingDrawer/RuleSetting.js +4 -3
  90. package/es/components/edit/LinkDynamicStyleSettingDrawer/rule/ColorPicker.js +2 -2
  91. package/es/components/edit/LinkDynamicStyleSettingDrawer/rule/Rule.js +2 -2
  92. package/es/components/edit/LinkDynamicStyleSettingDrawer/rule/RuleCondition.js +18 -17
  93. package/es/components/edit/LinkDynamicStyleSettingDrawer/rule/RuleStyle.js +16 -11
  94. package/es/components/edit/iconManage/RenameDialog.js +11 -6
  95. package/es/components/edit/iconManage/UploadIconDialog.js +11 -7
  96. package/es/core/models/TopoApp.js +73 -107
  97. package/es/core/models/cache/DictCache.js +79 -0
  98. package/es/core/models/plugins/resourceWebControllUrl.js +8 -4
  99. package/es/core/utils/showMessage.js +2 -2
  100. package/es/createTopo.js +2 -31
  101. package/es/hooks/usePolling.js +9 -5
  102. package/es/hooks/useTopoEdit.js +14 -8
  103. package/es/models/iconManage.js +9 -5
  104. package/es/models/linkDynamicStyleConfig.js +3 -2
  105. package/es/models/linkManager.js +0 -1
  106. package/es/models/resourceWebControllUrlSetting.js +0 -1
  107. package/es/models/topoAlarm.js +0 -1
  108. package/es/models/topoBizMod.js +11 -8
  109. package/es/models/topoEdit.js +0 -1
  110. package/es/models/topoGraphView.js +0 -1
  111. package/es/models/topoMod.js +54 -30
  112. package/es/models/topoView.js +0 -1
  113. package/es/models/topocenter/functionAuth.js +0 -1
  114. package/es/models/topocenter/topoCenter.js +0 -1
  115. package/es/style.js +25 -1
  116. package/es/topoCenter/getTopoData.js +41 -0
  117. package/es/topoCenter/models/Topo.js +0 -0
  118. package/es/topoCenter/models/TopoCenter.js +104 -0
  119. package/es/topoCenter/viewer/TitleBar.js +10 -0
  120. package/es/topoCenter/viewer/components/TopologyViewer.js +27 -0
  121. package/es/topoCenter/viewer/createTopoViewer.js +2 -34
  122. package/es/topoCenter/viewer/index.js +2 -2
  123. package/es/utils/topoData.js +8 -5
  124. package/lib/components/BatchAttrMetric/index.js +3 -3
  125. package/lib/components/BatchAttrMetric/setting.js +16 -10
  126. package/lib/components/BatchAttrMetric/utils.js +6 -4
  127. package/lib/components/Drawer/index.js +7 -5
  128. package/lib/components/FormTable/index.js +13 -9
  129. package/lib/components/IndexSettingDrawer/CiList.js +3 -3
  130. package/lib/components/IndexSettingDrawer/CiListItem.js +3 -3
  131. package/lib/components/IndexSettingDrawer/IndexList.js +7 -7
  132. package/lib/components/IndexSettingDrawer/index.js +3 -3
  133. package/lib/components/Link/form.js +24 -14
  134. package/lib/components/Link/index.js +6 -4
  135. package/lib/components/Link/setting.js +16 -10
  136. package/lib/components/MultiResourceDrawer/Content.js +4 -4
  137. package/lib/components/MultiResourceDrawer/ResourceCard/index.js +7 -5
  138. package/lib/components/SingleResourceDrawer/index.js +3 -3
  139. package/lib/components/TopoView/Topo.js +3 -3
  140. package/lib/components/TopoView/plugins/ResourceDetail/topoDrawer.js +9 -5
  141. package/lib/components/TopoView/plugins/ResourceWebControllUrlSettingDialog.js +16 -8
  142. package/lib/components/TopoView/settings/LayerSettingsForm.js +41 -27
  143. package/lib/components/TopoView/settings/ResourceList.js +6 -4
  144. package/lib/components/TopoView/settings/SelectResource/index.js +25 -13
  145. package/lib/components/TopoView/settings/Settings.js +0 -2
  146. package/lib/components/TopoView/settings/SettingsForm.js +6 -4
  147. package/lib/components/TopoView/settings/Style.js +27 -15
  148. package/lib/components/TopoView/toolbar/TopoEditorTitleBar.js +4 -4
  149. package/lib/components/TopoView/toolbar/TopoViewerTitleBar.js +3 -3
  150. package/lib/components/TopoView/toolbar/ViewTools.js +11 -7
  151. package/lib/components/TopoView/toolbar/widgets/SearchWidget.js +5 -3
  152. package/lib/components/TopoView/topoView.js +11 -26
  153. package/lib/components/edit/EditPlugin.js +3 -3
  154. package/lib/components/edit/LinkDynamicStyleSettingDrawer/RuleSetting.js +6 -4
  155. package/lib/components/edit/LinkDynamicStyleSettingDrawer/rule/ColorPicker.js +3 -3
  156. package/lib/components/edit/LinkDynamicStyleSettingDrawer/rule/Rule.js +3 -3
  157. package/lib/components/edit/LinkDynamicStyleSettingDrawer/rule/RuleCondition.js +20 -18
  158. package/lib/components/edit/LinkDynamicStyleSettingDrawer/rule/RuleStyle.js +18 -12
  159. package/lib/components/edit/iconManage/RenameDialog.js +13 -7
  160. package/lib/components/edit/iconManage/UploadIconDialog.js +14 -8
  161. package/lib/core/models/TopoApp.js +73 -107
  162. package/lib/core/models/cache/DictCache.js +95 -0
  163. package/lib/core/models/plugins/resourceWebControllUrl.js +5 -5
  164. package/lib/core/utils/showMessage.js +3 -3
  165. package/lib/createTopo.js +3 -34
  166. package/lib/hooks/usePolling.js +10 -5
  167. package/lib/hooks/useTopoEdit.js +11 -9
  168. package/lib/models/iconManage.js +8 -6
  169. package/lib/models/linkDynamicStyleConfig.js +3 -3
  170. package/lib/models/linkManager.js +0 -2
  171. package/lib/models/resourceWebControllUrlSetting.js +0 -2
  172. package/lib/models/topoAlarm.js +0 -2
  173. package/lib/models/topoBizMod.js +11 -8
  174. package/lib/models/topoEdit.js +0 -2
  175. package/lib/models/topoGraphView.js +0 -2
  176. package/lib/models/topoMod.js +54 -30
  177. package/lib/models/topoView.js +0 -2
  178. package/lib/models/topocenter/functionAuth.js +0 -2
  179. package/lib/models/topocenter/topoCenter.js +0 -2
  180. package/lib/style.js +25 -1
  181. package/lib/topoCenter/getTopoData.js +53 -0
  182. package/lib/topoCenter/models/Topo.js +1 -0
  183. package/lib/topoCenter/models/TopoCenter.js +118 -0
  184. package/lib/topoCenter/viewer/TitleBar.js +21 -0
  185. package/lib/topoCenter/viewer/components/TopologyViewer.js +43 -0
  186. package/lib/topoCenter/viewer/createTopoViewer.js +3 -36
  187. package/lib/topoCenter/viewer/index.js +4 -4
  188. package/lib/utils/topoData.js +7 -5
  189. package/package.json +7 -5
@@ -0,0 +1,1029 @@
1
+ [
2
+ {
3
+ "id": "000000004ba01f59",
4
+ "code": "protocol",
5
+ "name": "协议类型",
6
+ "icon": null,
7
+ "description": null,
8
+ "source": null,
9
+ "items": {
10
+ "DB_ORACLE": "Oracle",
11
+ "DB_SQLSERVER": "SQLServer",
12
+ "MONGO_DB": "MongoDB",
13
+ "SNMP": "SNMP",
14
+ "HTTP_TOMCAT": "Tomcat",
15
+ "HTTP_NGINX": "Nginx",
16
+ "SSH": "SSH",
17
+ "HTTP_APACHE": "Apache",
18
+ "JMX_WEBLOGIC_T3": "WebLogic",
19
+ "DB_MYSQL": "MySQL"
20
+ }
21
+ },
22
+ {
23
+ "id": "000000004ba01f5a",
24
+ "code": "restrictions",
25
+ "name": "约束条件",
26
+ "icon": null,
27
+ "description": "关系约束条件",
28
+ "source": null,
29
+ "items": {
30
+ "n:n": "n:n",
31
+ "n:1": "n:1",
32
+ "1:n": "1:n",
33
+ "1:1": "1:1"
34
+ }
35
+ },
36
+ {
37
+ "id": "000000004ba01f5b",
38
+ "code": "linkType",
39
+ "name": "链路类型",
40
+ "icon": null,
41
+ "description": "链路的类型,比如基于以太网链路协议发现的网络链路",
42
+ "source": null,
43
+ "items": {
44
+ "aggNetworkLink": "聚合链路",
45
+ "networkLink": "网络链路"
46
+ }
47
+ },
48
+ {
49
+ "id": "000000004ba01f5c",
50
+ "code": "icmpReachable",
51
+ "name": "PING状态",
52
+ "icon": null,
53
+ "description": "网络设备PING状态",
54
+ "source": null,
55
+ "items": {
56
+ "0": "异常",
57
+ "1": "正常"
58
+ }
59
+ },
60
+ {
61
+ "id": "000000004ba01f5d",
62
+ "code": "runStatus",
63
+ "name": "运行状态",
64
+ "icon": null,
65
+ "description": "运行状态",
66
+ "source": null,
67
+ "items": {
68
+ "0": "异常",
69
+ "1": "正常"
70
+ }
71
+ },
72
+ {
73
+ "id": "000000004ba01f5e",
74
+ "code": "shellAvailStatus",
75
+ "name": "SSH状态",
76
+ "icon": null,
77
+ "description": "SSH状态",
78
+ "source": null,
79
+ "items": {
80
+ "0": "不可用",
81
+ "1": "可用"
82
+ }
83
+ },
84
+ {
85
+ "id": "000000004ba01f5f",
86
+ "code": "boardStatus",
87
+ "name": "板卡运行状态",
88
+ "icon": null,
89
+ "description": "板卡运行状态",
90
+ "source": null,
91
+ "items": {
92
+ "0": "未运行",
93
+ "1": "正常",
94
+ "2": "冲突",
95
+ "3": "已卸载",
96
+ "4": "版本错误",
97
+ "5": "无法启动",
98
+ "6": "重启中",
99
+ "7": "主板卡",
100
+ "8": "备板卡"
101
+ }
102
+ },
103
+ {
104
+ "id": "000000004ba01f60",
105
+ "code": "powerStatus",
106
+ "name": "电源运行状态",
107
+ "icon": null,
108
+ "description": "电源运行状态",
109
+ "source": null,
110
+ "items": {
111
+ "1": "离线",
112
+ "2": "无供电",
113
+ "3": "电源重启",
114
+ "4": "正常",
115
+ "5": "故障"
116
+ }
117
+ },
118
+ {
119
+ "id": "000000004ba01f61",
120
+ "code": "fanStatus",
121
+ "name": "运行状态",
122
+ "icon": null,
123
+ "description": "风扇运行状态",
124
+ "source": null,
125
+ "items": {
126
+ "1": "正常",
127
+ "2": "停止"
128
+ }
129
+ },
130
+ {
131
+ "id": "000000004ba01f62",
132
+ "code": "tsType",
133
+ "name": "表空间类型",
134
+ "icon": null,
135
+ "description": "表空间类型",
136
+ "source": null,
137
+ "items": {
138
+ "UNDO": "回滚表空间",
139
+ "TEMPORARY": "临时表空间",
140
+ "PERMANENT": "数据表空间"
141
+ }
142
+ },
143
+ {
144
+ "id": "000000004ba01f63",
145
+ "code": "semiSyncMasterStatus",
146
+ "name": "半同步是否开启",
147
+ "icon": null,
148
+ "description": "半同步是否开启",
149
+ "source": null,
150
+ "items": {
151
+ "OFF": "中断",
152
+ "ON": "正常"
153
+ }
154
+ },
155
+ {
156
+ "id": "000000004ba01f64",
157
+ "code": "slaveIoRunning",
158
+ "name": "IO线程状态",
159
+ "icon": null,
160
+ "description": "从库IO线程状态",
161
+ "source": null,
162
+ "items": {
163
+ "No": "中断",
164
+ "Yes": "正常",
165
+ "Unkown": "未知",
166
+ "Connecting": "正尝试连接中"
167
+ }
168
+ },
169
+ {
170
+ "id": "000000004ba01f65",
171
+ "code": "slaveSqlRunning",
172
+ "name": "SQL线程状态",
173
+ "icon": null,
174
+ "description": "SQL线程状态",
175
+ "source": null,
176
+ "items": {
177
+ "No": "中断",
178
+ "Yes": "正常"
179
+ }
180
+ },
181
+ {
182
+ "id": "000000004ba01f66",
183
+ "code": "semiSyncSlaveStatus",
184
+ "name": "从库半同步状态",
185
+ "icon": null,
186
+ "description": "从库半同步状态",
187
+ "source": null,
188
+ "items": {
189
+ "OFF": "中断",
190
+ "ON": "正常"
191
+ }
192
+ },
193
+ {
194
+ "id": "000000004ba01f67",
195
+ "code": "portType",
196
+ "name": "端口类型",
197
+ "icon": null,
198
+ "description": "主机端口的物理类型",
199
+ "source": null,
200
+ "items": {
201
+ "0": "SAS",
202
+ "1": "FC",
203
+ "5": "iSCSI"
204
+ }
205
+ },
206
+ {
207
+ "id": "000000004ba01f68",
208
+ "code": "diskRole",
209
+ "name": "逻辑类型",
210
+ "icon": null,
211
+ "description": "磁盘逻辑类型",
212
+ "source": null,
213
+ "items": {
214
+ "1": "空闲盘",
215
+ "2": "成员盘",
216
+ "3": "热备盘",
217
+ "4": "缓存盘"
218
+ }
219
+ },
220
+ {
221
+ "id": "000000004ba01f69",
222
+ "code": "diskType",
223
+ "name": "介质类型",
224
+ "icon": null,
225
+ "description": "磁盘介质类型",
226
+ "source": null,
227
+ "items": {
228
+ "0": "FC",
229
+ "1": "SAS",
230
+ "2": "SATA",
231
+ "3": "SSD",
232
+ "4": "NL_SAS",
233
+ "5": "SLC SSD",
234
+ "6": "MLC SSD",
235
+ "7": "FC_SED"
236
+ }
237
+ },
238
+ {
239
+ "id": "000000004ba01f6a",
240
+ "code": "controllerRole",
241
+ "name": "角色",
242
+ "icon": null,
243
+ "description": "控制器角色",
244
+ "source": null,
245
+ "items": {
246
+ "0": "普通成员",
247
+ "1": "集群主",
248
+ "2": "集群备"
249
+ }
250
+ },
251
+ {
252
+ "id": "000000004ba01f6b",
253
+ "code": "alarmType",
254
+ "name": "告警类型",
255
+ "icon": null,
256
+ "description": "告警类型",
257
+ "source": null,
258
+ "items": {
259
+ "infoAlert": "信息类告警",
260
+ "capacityAlert": "容量类告警",
261
+ "rateAlert": "速率类告警",
262
+ "riskAlert": "风险类告警",
263
+ "latencyAlert": "时延类告警",
264
+ "availAlert": "通断类告警",
265
+ "errorAlert": "错误类告警"
266
+ }
267
+ },
268
+ {
269
+ "id": "000000004ba01f6c",
270
+ "code": "alarmLevel",
271
+ "name": "告警级别",
272
+ "icon": null,
273
+ "description": "告警级别",
274
+ "source": null,
275
+ "items": {
276
+ "1": "严重",
277
+ "2": "主要",
278
+ "3": "次要",
279
+ "4": "信息"
280
+ }
281
+ },
282
+ {
283
+ "id": "000000004ba01f80",
284
+ "code": "assetState",
285
+ "name": "资产状态",
286
+ "icon": null,
287
+ "description": "资产的状态",
288
+ "source": null,
289
+ "items": {
290
+ "1": "库存",
291
+ "2": "使用",
292
+ "3": "维修",
293
+ "4": "报废"
294
+ }
295
+ },
296
+ {
297
+ "id": "000000004ba01f81",
298
+ "code": "maintenance",
299
+ "name": "维保情况",
300
+ "icon": null,
301
+ "description": "设备是否购置维保",
302
+ "source": null,
303
+ "items": {
304
+ "true": "是",
305
+ "false": "否"
306
+ }
307
+ },
308
+ {
309
+ "id": "000000004ba0214b",
310
+ "code": "sangfor",
311
+ "name": "深信服",
312
+ "icon": "sangfor.png",
313
+ "description": null,
314
+ "source": null,
315
+ "items": null
316
+ },
317
+ {
318
+ "id": "000000004ba021b0",
319
+ "code": "contractType",
320
+ "name": "合同类型",
321
+ "icon": null,
322
+ "description": "合同的类型,有采购、维保、租赁",
323
+ "source": null,
324
+ "items": {
325
+ "1": "采购",
326
+ "2": "维保",
327
+ "3": "租赁"
328
+ }
329
+ },
330
+ {
331
+ "id": "000000004ba021b1",
332
+ "code": "bidderType",
333
+ "name": "投标类别",
334
+ "icon": null,
335
+ "description": "投标的类别,有设备、线路、维保",
336
+ "source": null,
337
+ "items": {
338
+ "1": "设备",
339
+ "2": "线路",
340
+ "3": "维保"
341
+ }
342
+ },
343
+ {
344
+ "id": "000000004ba021c0",
345
+ "code": "bizNavigator",
346
+ "name": "商务领航",
347
+ "icon": "bizNavigator.png",
348
+ "description": null,
349
+ "source": null,
350
+ "items": null
351
+ },
352
+ {
353
+ "id": "000000004ba021cc",
354
+ "code": "brocade",
355
+ "name": "博科",
356
+ "icon": "brocade.png",
357
+ "description": null,
358
+ "source": null,
359
+ "items": null
360
+ },
361
+ {
362
+ "id": "000000004ba021e9",
363
+ "code": "ciscoBoardStatus",
364
+ "name": "板卡运行状态",
365
+ "icon": null,
366
+ "description": "板卡运行状态",
367
+ "source": null,
368
+ "items": {
369
+ "22": "升级中",
370
+ "23": "身份异常",
371
+ "24": "其他",
372
+ "25": "固件不匹配",
373
+ "10": "配置不匹配",
374
+ "11": "诊断失败",
375
+ "12": "休眠",
376
+ "13": "服务中断",
377
+ "14": "环境温度引起中断",
378
+ "15": "掉电",
379
+ "16": "电源拉起中",
380
+ "17": "电源无供电",
381
+ "18": "电源反复重启",
382
+ "19": "供电警告",
383
+ "1": "未知",
384
+ "2": "正常",
385
+ "3": "已禁用",
386
+ "4": "有异常诊断项",
387
+ "5": "开机",
388
+ "6": "自检",
389
+ "7": "失败",
390
+ "8": "丢失",
391
+ "9": "设备不兼容",
392
+ "20": "电源设备异常",
393
+ "21": "设备同步中"
394
+ }
395
+ },
396
+ {
397
+ "id": "000000004ba021ea",
398
+ "code": "ciscoPowerStatus",
399
+ "name": "电源运行状态",
400
+ "icon": null,
401
+ "description": "电源运行状态",
402
+ "source": null,
403
+ "items": {
404
+ "22": "升级中",
405
+ "23": "身份异常",
406
+ "24": "其他",
407
+ "25": "固件不匹配",
408
+ "10": "配置不匹配",
409
+ "11": "诊断失败",
410
+ "12": "休眠",
411
+ "13": "服务中断",
412
+ "14": "环境温度引起中断",
413
+ "15": "掉电",
414
+ "16": "电源拉起中",
415
+ "17": "电源无供电",
416
+ "18": "电源反复重启",
417
+ "19": "供电警告",
418
+ "1": "未知",
419
+ "2": "正常",
420
+ "3": "已禁用",
421
+ "4": "有异常诊断项",
422
+ "5": "开机",
423
+ "6": "自检",
424
+ "7": "失败",
425
+ "8": "丢失",
426
+ "9": "设备不兼容",
427
+ "20": "电源设备异常",
428
+ "21": "设备同步中"
429
+ }
430
+ },
431
+ {
432
+ "id": "000000004ba021eb",
433
+ "code": "ciscoFanStatus",
434
+ "name": "风扇运行状态",
435
+ "icon": null,
436
+ "description": "风扇运行状态",
437
+ "source": null,
438
+ "items": {
439
+ "1": "其他",
440
+ "2": "正常",
441
+ "3": "故障",
442
+ "4": "有风险"
443
+ }
444
+ },
445
+ {
446
+ "id": "000000004ba021ec",
447
+ "code": "cisco",
448
+ "name": "思科",
449
+ "icon": "cisco.png",
450
+ "description": null,
451
+ "source": null,
452
+ "items": null
453
+ },
454
+ {
455
+ "id": "000000004ba02203",
456
+ "code": "dpTech",
457
+ "name": "迪普",
458
+ "icon": "dpTech.png",
459
+ "description": null,
460
+ "source": null,
461
+ "items": null
462
+ },
463
+ {
464
+ "id": "000000004ba02210",
465
+ "code": "fiberHome",
466
+ "name": "烽火",
467
+ "icon": "fiberHome.png",
468
+ "description": null,
469
+ "source": null,
470
+ "items": null
471
+ },
472
+ {
473
+ "id": "000000004ba02230",
474
+ "code": "h3cBoardStatus",
475
+ "name": "运行状态",
476
+ "icon": null,
477
+ "description": "板卡运行状态",
478
+ "source": null,
479
+ "items": {
480
+ "1": "不支持",
481
+ "2": "未运行",
482
+ "3": "正常",
483
+ "4": "异常"
484
+ }
485
+ },
486
+ {
487
+ "id": "000000004ba02231",
488
+ "code": "h3cPowerStatus",
489
+ "name": "运行状态",
490
+ "icon": null,
491
+ "description": "电源运行状态",
492
+ "source": null,
493
+ "items": {
494
+ "1": "正常",
495
+ "2": "停用",
496
+ "3": "未安装",
497
+ "4": "不支持"
498
+ }
499
+ },
500
+ {
501
+ "id": "000000004ba02232",
502
+ "code": "h3cFanStatus",
503
+ "name": "运行状态",
504
+ "icon": null,
505
+ "description": "风扇运行状态",
506
+ "source": null,
507
+ "items": {
508
+ "1": "正常",
509
+ "2": "停用",
510
+ "3": "未安装",
511
+ "4": "不支持"
512
+ }
513
+ },
514
+ {
515
+ "id": "000000004ba02233",
516
+ "code": "h3c",
517
+ "name": "华三",
518
+ "icon": "h3c.png",
519
+ "description": null,
520
+ "source": null,
521
+ "items": null
522
+ },
523
+ {
524
+ "id": "000000004ba0225c",
525
+ "code": "huaweiBoardStatus",
526
+ "name": "运行状态",
527
+ "icon": null,
528
+ "description": "板卡运行状态",
529
+ "source": null,
530
+ "items": {
531
+ "11": "up",
532
+ "1": "不支持",
533
+ "12": "down",
534
+ "2": "未运行",
535
+ "13": "已连接",
536
+ "3": "正常",
537
+ "4": "离线",
538
+ "15": "协议正常",
539
+ "16": "正常",
540
+ "17": "关闭"
541
+ }
542
+ },
543
+ {
544
+ "id": "000000004ba0225d",
545
+ "code": "huaweiPowerStatus",
546
+ "name": "运行状态",
547
+ "icon": null,
548
+ "description": "电源运行状态",
549
+ "source": null,
550
+ "items": {
551
+ "11": "up",
552
+ "1": "不支持",
553
+ "12": "down",
554
+ "2": "未运行",
555
+ "13": "已连接",
556
+ "3": "正常",
557
+ "4": "异常",
558
+ "15": "协议正常",
559
+ "16": "正常",
560
+ "17": "关闭"
561
+ }
562
+ },
563
+ {
564
+ "id": "000000004ba0225e",
565
+ "code": "huaweiFiberModuleType",
566
+ "name": "光模块类型",
567
+ "icon": null,
568
+ "description": "光模块类型",
569
+ "source": null,
570
+ "items": {
571
+ "2": "SC连接器",
572
+ "other": "其他",
573
+ "14": "MPO连接器",
574
+ "8": "LC连接器"
575
+ }
576
+ },
577
+ {
578
+ "id": "000000004ba0225f",
579
+ "code": "huaweiFanStatus",
580
+ "name": "运行状态",
581
+ "icon": null,
582
+ "description": "风扇运行状态",
583
+ "source": null,
584
+ "items": {
585
+ "1": "正常",
586
+ "2": "故障"
587
+ }
588
+ },
589
+ {
590
+ "id": "000000004ba025db",
591
+ "code": "huawei",
592
+ "name": "华为",
593
+ "icon": "huawei.png",
594
+ "description": null,
595
+ "source": null,
596
+ "items": null
597
+ },
598
+ {
599
+ "id": "000000004ba02272",
600
+ "code": "raisecom",
601
+ "name": "瑞斯康达",
602
+ "icon": "raisecom.png",
603
+ "description": null,
604
+ "source": null,
605
+ "items": null
606
+ },
607
+ {
608
+ "id": "000000004ba022bb",
609
+ "code": "vsuDadType",
610
+ "name": "心跳检测类型",
611
+ "icon": null,
612
+ "description": "心跳检测类型",
613
+ "source": null,
614
+ "items": {
615
+ "1": "聚合链路模式",
616
+ "2": "BFD模式",
617
+ "3": "无"
618
+ }
619
+ },
620
+ {
621
+ "id": "000000004ba022bc",
622
+ "code": "memberRole",
623
+ "name": "成员角色",
624
+ "icon": null,
625
+ "description": "VSU成员设备角色",
626
+ "source": null,
627
+ "items": {
628
+ "1": "全局主设备",
629
+ "2": "全局从设备",
630
+ "3": "候选设备"
631
+ }
632
+ },
633
+ {
634
+ "id": "000000004ba022bd",
635
+ "code": "ruijieFiberModuleType",
636
+ "name": "光模块类型",
637
+ "icon": null,
638
+ "description": "光模块类型",
639
+ "source": null,
640
+ "items": {
641
+ "other": "其他",
642
+ "4": "SC连接器",
643
+ "17": "MPO连接器",
644
+ "10": "LC连接器"
645
+ }
646
+ },
647
+ {
648
+ "id": "000000004ba022be",
649
+ "code": "vsuDeviceRole",
650
+ "name": "成员设备角色",
651
+ "icon": null,
652
+ "description": "成员设备角色",
653
+ "source": null,
654
+ "items": {
655
+ "1": "全局主设备",
656
+ "2": "全局从设备",
657
+ "3": "候选设备"
658
+ }
659
+ },
660
+ {
661
+ "id": "000000004ba022bf",
662
+ "code": "vsuDeviceStatus",
663
+ "name": "成员设备工作状态",
664
+ "icon": null,
665
+ "description": "成员设备工作状态",
666
+ "source": null,
667
+ "items": {
668
+ "1": "正常",
669
+ "2": "异常"
670
+ }
671
+ },
672
+ {
673
+ "id": "000000004ba022c0",
674
+ "code": "vslLinkStatus",
675
+ "name": "VSL链路状态",
676
+ "icon": null,
677
+ "description": "VSL链路状态",
678
+ "source": null,
679
+ "items": {
680
+ "1": "正常",
681
+ "2": "断开",
682
+ "3": "子接口断开"
683
+ }
684
+ },
685
+ {
686
+ "id": "000000004ba022c1",
687
+ "code": "vsuDadLinkStatus",
688
+ "name": "心跳链路状态",
689
+ "icon": null,
690
+ "description": "心跳链路状态",
691
+ "source": null,
692
+ "items": {
693
+ "1": "正常",
694
+ "2": "断开"
695
+ }
696
+ },
697
+ {
698
+ "id": "000000004ba022c2",
699
+ "code": "ruijie",
700
+ "name": "锐捷",
701
+ "icon": "ruijie.png",
702
+ "description": null,
703
+ "source": null,
704
+ "items": null
705
+ },
706
+ {
707
+ "id": "000000004ba022dd",
708
+ "code": "utt",
709
+ "name": "艾泰",
710
+ "icon": "utt.png",
711
+ "description": null,
712
+ "source": null,
713
+ "items": null
714
+ },
715
+ {
716
+ "id": "000000004ba022ed",
717
+ "code": "zte",
718
+ "name": "中兴",
719
+ "icon": "zte.png",
720
+ "description": null,
721
+ "source": null,
722
+ "items": null
723
+ },
724
+ {
725
+ "id": "000000004ba02339",
726
+ "code": "poeSupported",
727
+ "name": "支持POE",
728
+ "icon": null,
729
+ "description": "是否支持POE供电",
730
+ "source": null,
731
+ "items": {
732
+ "true": "支持",
733
+ "false": "不支持"
734
+ }
735
+ },
736
+ {
737
+ "id": "000000004ba0233a",
738
+ "code": "ifAdminStatus",
739
+ "name": "接口管理状态",
740
+ "icon": null,
741
+ "description": "接口的管理状态",
742
+ "source": null,
743
+ "items": {
744
+ "1": "启用",
745
+ "2": "停用",
746
+ "3": "测试"
747
+ }
748
+ },
749
+ {
750
+ "id": "000000004ba0233b",
751
+ "code": "ifType",
752
+ "name": "接口类型",
753
+ "icon": null,
754
+ "description": "接口类型",
755
+ "source": null,
756
+ "items": {
757
+ "1": "其他接口",
758
+ "23": "PPP接口",
759
+ "24": "本地环回接口",
760
+ "69": "百兆以太网FX接口",
761
+ "6": "以太网接口",
762
+ "117": "千兆以太网接口",
763
+ "71": "无线网络接口",
764
+ "62": "百兆以太网接口",
765
+ "161": "802.3ad 链路聚合口",
766
+ "53": "虚拟内部接口",
767
+ "131": "Tunnel封装接口"
768
+ }
769
+ },
770
+ {
771
+ "id": "000000004ba0233c",
772
+ "code": "boardIsMaster",
773
+ "name": "板卡主备类型",
774
+ "icon": null,
775
+ "description": "板卡主备类型",
776
+ "source": null,
777
+ "items": {
778
+ "0": "其他",
779
+ "1": "线卡",
780
+ "2": "主控制板",
781
+ "3": "备份控制板"
782
+ }
783
+ },
784
+ {
785
+ "id": "000000004ba0233d",
786
+ "code": "lineType",
787
+ "name": "线路类型",
788
+ "icon": null,
789
+ "description": "线路类型",
790
+ "source": null,
791
+ "items": {
792
+ "1": "局域网线路",
793
+ "2": "数据线路",
794
+ "3": "语音线路",
795
+ "4": "互联网出口",
796
+ "5": "互联网专线",
797
+ "6": "MPLS VPN",
798
+ "7": "波分复用"
799
+ }
800
+ },
801
+ {
802
+ "id": "000000004ba0233e",
803
+ "code": "snmpReachable",
804
+ "name": "SNMP通断状态",
805
+ "icon": null,
806
+ "description": "网络设备SNMP状态",
807
+ "source": null,
808
+ "items": {
809
+ "0": "异常",
810
+ "1": "正常"
811
+ }
812
+ },
813
+ {
814
+ "id": "000000004ba0233f",
815
+ "code": "icmpReachable",
816
+ "name": "Ping通断状态",
817
+ "icon": null,
818
+ "description": "网络设备PING状态",
819
+ "source": null,
820
+ "items": {
821
+ "0": "异常",
822
+ "1": "正常"
823
+ }
824
+ },
825
+ {
826
+ "id": "000000004ba02340",
827
+ "code": "sshReachable",
828
+ "name": "SSH连通状态",
829
+ "icon": null,
830
+ "description": "SSH连通状态",
831
+ "source": null,
832
+ "items": {
833
+ "0": "不可用",
834
+ "1": "可用"
835
+ }
836
+ },
837
+ {
838
+ "id": "000000004ba02341",
839
+ "code": "aggIfOperStatus",
840
+ "name": "聚合口操作状态",
841
+ "icon": null,
842
+ "description": "聚合接口的连通性状态,当全部聚合接口的物理成员口down时,聚合接口会断开,当有一个物理成员口down时,聚合接口状态会表项为有子接口断开。",
843
+ "source": null,
844
+ "items": {
845
+ "1": "正常",
846
+ "2": "断开",
847
+ "3": "子接口断开"
848
+ }
849
+ },
850
+ {
851
+ "id": "000000004ba02342",
852
+ "code": "ifOperStatus",
853
+ "name": "操作状态",
854
+ "icon": null,
855
+ "description": "接口的操作状态",
856
+ "source": null,
857
+ "items": {
858
+ "1": "正常",
859
+ "2": "断开",
860
+ "3": "测试",
861
+ "4": "未知",
862
+ "5": "休眠",
863
+ "6": "不存在"
864
+ }
865
+ },
866
+ {
867
+ "id": "000000004ba02343",
868
+ "code": "linkStatus",
869
+ "name": "链路状态",
870
+ "icon": null,
871
+ "description": "通过接口的连接状态,判断链路的连接是否正常",
872
+ "source": null,
873
+ "items": {
874
+ "1": "UP",
875
+ "2": "DOWN"
876
+ }
877
+ },
878
+ {
879
+ "id": "000000004ba02344",
880
+ "code": "lineIfStatus",
881
+ "name": "线路接口状态",
882
+ "icon": null,
883
+ "description": "通过接口的连接状态,判断线路的连接是否正常",
884
+ "source": null,
885
+ "items": {
886
+ "1": "UP",
887
+ "2": "DOWN"
888
+ }
889
+ },
890
+ {
891
+ "id": "000000004ba02345",
892
+ "code": "aggLinkStatus",
893
+ "name": "聚合链路状态",
894
+ "icon": null,
895
+ "description": "通过聚合成员接口的连接状态,判断聚合链路的连接是否正常",
896
+ "source": null,
897
+ "items": {
898
+ "1": "正常",
899
+ "2": "断开",
900
+ "3": "子接口断开"
901
+ }
902
+ },
903
+ {
904
+ "id": "000000004ba023d6",
905
+ "code": "dpTech",
906
+ "name": "迪普",
907
+ "icon": "dpTech.png",
908
+ "description": null,
909
+ "source": null,
910
+ "items": null
911
+ },
912
+ {
913
+ "id": "000000004ba023e1",
914
+ "code": "h3c",
915
+ "name": "华三",
916
+ "icon": "h3c.png",
917
+ "description": null,
918
+ "source": null,
919
+ "items": null
920
+ },
921
+ {
922
+ "id": "000000004ba02260",
923
+ "code": "huawei",
924
+ "name": "华为",
925
+ "icon": "huawei.png",
926
+ "description": null,
927
+ "source": null,
928
+ "items": null
929
+ },
930
+ {
931
+ "id": "000000004ba023f7",
932
+ "code": "maxnet",
933
+ "name": "迈科",
934
+ "icon": "maxnet.png",
935
+ "description": null,
936
+ "source": null,
937
+ "items": null
938
+ },
939
+ {
940
+ "id": "000000004ba02405",
941
+ "code": "ruijie",
942
+ "name": "锐捷",
943
+ "icon": "ruijie.png",
944
+ "description": null,
945
+ "source": null,
946
+ "items": null
947
+ },
948
+ {
949
+ "id": "000000004ba0241f",
950
+ "code": "sangfor",
951
+ "name": "深信服",
952
+ "icon": "sangfor.png",
953
+ "description": null,
954
+ "source": null,
955
+ "items": null
956
+ },
957
+ {
958
+ "id": "000000004ba0242f",
959
+ "code": "secworld",
960
+ "name": "网御神州",
961
+ "icon": "secworld.png",
962
+ "description": null,
963
+ "source": null,
964
+ "items": null
965
+ },
966
+ {
967
+ "id": "000000004ba02449",
968
+ "code": "topsec",
969
+ "name": "天融信",
970
+ "icon": "topsec.png",
971
+ "description": null,
972
+ "source": null,
973
+ "items": null
974
+ },
975
+ {
976
+ "id": "000000004ba0245a",
977
+ "code": "venustech",
978
+ "name": "启明星辰",
979
+ "icon": "venustech.png",
980
+ "description": null,
981
+ "source": null,
982
+ "items": null
983
+ },
984
+ {
985
+ "id": "000000004ba02518",
986
+ "code": "microsoft",
987
+ "name": "微软",
988
+ "icon": "microsoft.png",
989
+ "description": null,
990
+ "source": null,
991
+ "items": null
992
+ },
993
+ {
994
+ "id": "000000004ba02519",
995
+ "code": "redhat",
996
+ "name": "红帽",
997
+ "icon": "redhat.png",
998
+ "description": null,
999
+ "source": null,
1000
+ "items": null
1001
+ },
1002
+ {
1003
+ "id": "000000004ba0251a",
1004
+ "code": "IBM",
1005
+ "name": "IBM",
1006
+ "icon": "IBM.png",
1007
+ "description": null,
1008
+ "source": null,
1009
+ "items": null
1010
+ },
1011
+ {
1012
+ "id": "000000004ba0251b",
1013
+ "code": "HP",
1014
+ "name": "惠普",
1015
+ "icon": "HP.png",
1016
+ "description": null,
1017
+ "source": null,
1018
+ "items": null
1019
+ },
1020
+ {
1021
+ "id": "000000004ba023ee",
1022
+ "code": "huawei",
1023
+ "name": "华为",
1024
+ "icon": "huawei.png",
1025
+ "description": null,
1026
+ "source": null,
1027
+ "items": null
1028
+ }
1029
+ ]