@riil-frontend/component-topology 13.0.0-dev.14 → 13.0.0-dev.15
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.js +1 -1
- package/es/core/models/TopoApp.js +1 -1
- package/es/networkTopo/utils/relateTopoDataUtil.js +1 -6
- package/lib/core/models/TopoApp.js +1 -1
- package/lib/networkTopo/utils/relateTopoDataUtil.js +0 -6
- package/package.json +2 -2
- package/es/networkTopo/utils/__tests__/relateTopoData.js +0 -205
- package/lib/networkTopo/utils/__tests__/relateTopoData.js +0 -210
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
|
|
24
24
|
import SelectionModel from "./SelectionModel";
|
25
25
|
import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
|
26
26
|
|
27
|
-
var version = typeof "13.0.0-dev.
|
27
|
+
var version = typeof "13.0.0-dev.15" === 'string' ? "13.0.0-dev.15" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
// 关联拓扑数据
|
3
|
-
|
3
|
+
|
4
4
|
/**
|
5
5
|
* 升级历史数据:子拓扑节点序列化数据
|
6
6
|
* 构造子拓扑节点
|
7
7
|
* 构造子拓扑链路
|
8
8
|
* @param {*} ctx
|
9
9
|
*/
|
10
|
-
|
11
10
|
export function processBothTopoData(topoData) {
|
12
11
|
var nodes = topoData.nodes,
|
13
12
|
links = topoData.links;
|
@@ -69,10 +68,6 @@ export function buildTopoNode(topoId) {
|
|
69
68
|
}
|
70
69
|
|
71
70
|
function buildTopoLinks(links) {
|
72
|
-
if (process.env.NODE_ENV !== 'production') {
|
73
|
-
links.push.apply(links, topoLinks);
|
74
|
-
}
|
75
|
-
|
76
71
|
return links.map(function (link) {
|
77
72
|
return _extends({}, link, {
|
78
73
|
"source": link.sourceType ? link.sourceType + ':' + link.source : link.source,
|
@@ -54,7 +54,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
|
|
54
54
|
var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
|
55
55
|
|
56
56
|
// eslint-disable-next-line no-undef
|
57
|
-
var version = typeof "13.0.0-dev.
|
57
|
+
var version = typeof "13.0.0-dev.15" === 'string' ? "13.0.0-dev.15" : null;
|
58
58
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
59
59
|
/**
|
60
60
|
* 拓扑显示和编辑
|
@@ -10,8 +10,6 @@ exports.processByConditionTopoData = processByConditionTopoData;
|
|
10
10
|
|
11
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
12
12
|
|
13
|
-
var _relateTopoData = require("./__tests__/relateTopoData");
|
14
|
-
|
15
13
|
// 关联拓扑数据
|
16
14
|
|
17
15
|
/**
|
@@ -84,10 +82,6 @@ function buildTopoNode(topoId) {
|
|
84
82
|
}
|
85
83
|
|
86
84
|
function buildTopoLinks(links) {
|
87
|
-
if (process.env.NODE_ENV !== 'production') {
|
88
|
-
links.push.apply(links, _relateTopoData.topoLinks);
|
89
|
-
}
|
90
|
-
|
91
85
|
return links.map(function (link) {
|
92
86
|
return (0, _extends2["default"])({}, link, {
|
93
87
|
"source": link.sourceType ? link.sourceType + ':' + link.source : link.source,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@riil-frontend/component-topology",
|
3
|
-
"version": "13.0.0-dev.
|
3
|
+
"version": "13.0.0-dev.15",
|
4
4
|
"description": "拓扑",
|
5
5
|
"scripts": {
|
6
6
|
"start": "build-scripts start",
|
@@ -123,6 +123,6 @@
|
|
123
123
|
"access": "public"
|
124
124
|
},
|
125
125
|
"license": "MIT",
|
126
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@13.0.0-dev.
|
126
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@13.0.0-dev.15/build/index.html",
|
127
127
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
128
128
|
}
|
@@ -1,205 +0,0 @@
|
|
1
|
-
// 二、子拓扑链路
|
2
|
-
// - 资源-子拓扑资源
|
3
|
-
// - 资源-子拓扑IP、Ping资源
|
4
|
-
// - 子拓扑资源-IP、Ping资源
|
5
|
-
// - 子拓扑资源-子拓扑资源
|
6
|
-
// - 子拓扑资源-子拓扑IP、Ping资源
|
7
|
-
export var topoLinks = [// 资源-子拓扑资源
|
8
|
-
{
|
9
|
-
ciType: 'network_link',
|
10
|
-
"id": "00000000010decab",
|
11
|
-
"name": '资源、Ping资源-子拓扑资源',
|
12
|
-
"source": "00000000010de861",
|
13
|
-
'targetType': 'topo',
|
14
|
-
"target": "6",
|
15
|
-
"operation": "delete",
|
16
|
-
"interfaceSource": "00000000010de8da",
|
17
|
-
"interfaceTarget": "00000000010de973",
|
18
|
-
"attributes": {
|
19
|
-
"network_link.to_if_connect": "r926054146526674944",
|
20
|
-
"network_link.source_device_ipv4": "172.17.166.18",
|
21
|
-
"network_link.destination_ipv4": "172.17.166.20",
|
22
|
-
"network_link.work_mode": "single",
|
23
|
-
"support_templates": "m.ethernet_link",
|
24
|
-
"destination_id": "00000000010de973",
|
25
|
-
"rated_bandwidth": 1000,
|
26
|
-
"network_link.actual_bandwidth": 1000,
|
27
|
-
"source_type": "network.interface",
|
28
|
-
"network_link.connect_type": "phy",
|
29
|
-
"display_name": "资源-子拓扑资源",
|
30
|
-
"asset_status": "2",
|
31
|
-
"destination_type": "network.interface",
|
32
|
-
"network_link.network_category": "CAN",
|
33
|
-
"network_link.source_ipv4": "172.17.166.18",
|
34
|
-
"name": "资源-子拓扑资源",
|
35
|
-
"distance_outlet": 2147483647,
|
36
|
-
"network_link.is_crucial": false,
|
37
|
-
"source_id": "00000000010de8da",
|
38
|
-
"network_link.source_device_id": "00000000010de861",
|
39
|
-
"network_link.destination_device_id": "00000000010de864",
|
40
|
-
"network_link.destination_device_ipv4": "172.17.166.20"
|
41
|
-
},
|
42
|
-
"sourceCode": null,
|
43
|
-
"level": null,
|
44
|
-
"customType": null,
|
45
|
-
"manageStatus": 3
|
46
|
-
}, // 资源-子拓扑IP、Ping资源
|
47
|
-
{
|
48
|
-
ciType: 'network_link',
|
49
|
-
"id": "00000000019990f1",
|
50
|
-
"name": "资源-子拓扑IP",
|
51
|
-
"source": "00000000010de861",
|
52
|
-
'targetType': 'topo',
|
53
|
-
"target": "6",
|
54
|
-
"operation": "delete",
|
55
|
-
"interfaceSource": "00000000010de8b3",
|
56
|
-
"interfaceTarget": "",
|
57
|
-
"attributes": {
|
58
|
-
"network_link.source_device_ipv4": "172.17.166.18",
|
59
|
-
"network_link.destination_ipv4": "1.1.1.1",
|
60
|
-
"network_link.work_mode": "AandS",
|
61
|
-
"support_templates": "m.ethernet_link",
|
62
|
-
"rated_bandwidth": 100,
|
63
|
-
"network_link.actual_bandwidth": 100,
|
64
|
-
"source_type": "network.interface",
|
65
|
-
"network_link.connect_type": "phy",
|
66
|
-
"display_name": "资源-子拓扑IP",
|
67
|
-
"asset_status": "2",
|
68
|
-
"network_link_type": "2",
|
69
|
-
"destination_type": "ip",
|
70
|
-
"network_link.role": "master",
|
71
|
-
"network_link.network_category": "CAN",
|
72
|
-
"dcs": "331268969",
|
73
|
-
"network_link.source_ipv4": "172.17.166.18",
|
74
|
-
"name": "资源-子拓扑IP",
|
75
|
-
"distance_outlet": 2147483647,
|
76
|
-
"network_link.is_crucial": false,
|
77
|
-
"source_id": "00000000010de8b3",
|
78
|
-
"network_link.source_device_id": "00000000010de861",
|
79
|
-
"network_link.destination_device_ipv4": "1.1.1.1"
|
80
|
-
},
|
81
|
-
"sourceCode": null,
|
82
|
-
"level": null,
|
83
|
-
"customType": null,
|
84
|
-
"manageStatus": 3
|
85
|
-
}, // 子拓扑资源-IP、Ping资源
|
86
|
-
{
|
87
|
-
ciType: 'network_link',
|
88
|
-
"id": "0000000001999538",
|
89
|
-
"name": "IP-子拓扑资源",
|
90
|
-
'sourceType': 'topo',
|
91
|
-
"source": "6",
|
92
|
-
"target": "",
|
93
|
-
"operation": "delete",
|
94
|
-
"interfaceSource": "00000000010de95e",
|
95
|
-
"interfaceTarget": "",
|
96
|
-
"attributes": {
|
97
|
-
"network_link.source_device_ipv4": "172.17.166.20",
|
98
|
-
"network_link.destination_ipv4": "1.5.5.5",
|
99
|
-
"network_link.work_mode": "AandS",
|
100
|
-
"support_templates": "m.ethernet_link",
|
101
|
-
"rated_bandwidth": 1000,
|
102
|
-
"network_link.actual_bandwidth": 1000,
|
103
|
-
"source_type": "network.interface",
|
104
|
-
"network_link.connect_type": "phy",
|
105
|
-
"display_name": "IP-子拓扑资源",
|
106
|
-
"asset_status": "2",
|
107
|
-
"network_link_type": "2",
|
108
|
-
"destination_type": "ip",
|
109
|
-
"network_link.role": "master",
|
110
|
-
"network_link.network_category": "CAN",
|
111
|
-
"dcs": "331268969",
|
112
|
-
"network_link.source_ipv4": "172.17.166.20",
|
113
|
-
"name": "172.17.166.20(Gi 0/1) - 1.5.5.5",
|
114
|
-
"distance_outlet": 2147483647,
|
115
|
-
"network_link.is_crucial": false,
|
116
|
-
"source_id": "00000000010de95e",
|
117
|
-
"network_link.source_device_id": "00000000010de864",
|
118
|
-
"network_link.destination_device_ipv4": "1.5.5.5"
|
119
|
-
},
|
120
|
-
"sourceCode": null,
|
121
|
-
"level": null,
|
122
|
-
"customType": null,
|
123
|
-
"manageStatus": 3
|
124
|
-
}, // 子拓扑资源-子拓扑资源
|
125
|
-
{
|
126
|
-
ciType: 'network_link',
|
127
|
-
"id": "0000000001899476",
|
128
|
-
"name": '子拓扑资源-子拓扑资源',
|
129
|
-
'sourceType': 'topo',
|
130
|
-
"source": "3",
|
131
|
-
'targetType': 'topo',
|
132
|
-
"target": "6",
|
133
|
-
"operation": "delete",
|
134
|
-
"interfaceSource": "00000000010de90e",
|
135
|
-
"interfaceTarget": "00000000010de973",
|
136
|
-
"attributes": {
|
137
|
-
"network_link.to_if_connect": "r933757920628178944",
|
138
|
-
"network_link.source_device_ipv4": "172.17.166.19",
|
139
|
-
"network_link.destination_ipv4": "172.17.166.20",
|
140
|
-
"network_link.work_mode": "single",
|
141
|
-
"support_templates": "m.ethernet_link",
|
142
|
-
"destination_id": "00000000010de973",
|
143
|
-
"rated_bandwidth": 1000,
|
144
|
-
"network_link.actual_bandwidth": 1000,
|
145
|
-
"source_type": "network.interface",
|
146
|
-
"network_link.connect_type": "phy",
|
147
|
-
"display_name": "子拓扑资源-子拓扑资源",
|
148
|
-
"asset_status": "2",
|
149
|
-
"network_link_type": "2",
|
150
|
-
"destination_type": "network.interface",
|
151
|
-
"network_link.network_category": "CAN",
|
152
|
-
"network_link.source_ipv4": "172.17.166.19",
|
153
|
-
"name": "172.17.166.19(Gi 0/50) - 172.17.166.20(Gi 0/22)",
|
154
|
-
"distance_outlet": 2147483647,
|
155
|
-
"network_link.is_crucial": false,
|
156
|
-
"source_id": "00000000010de90e",
|
157
|
-
"network_link.source_device_id": "00000000010de862",
|
158
|
-
"network_link.destination_device_id": "00000000010de864",
|
159
|
-
"network_link.destination_device_ipv4": "172.17.166.20"
|
160
|
-
},
|
161
|
-
"sourceCode": null,
|
162
|
-
"level": null,
|
163
|
-
"customType": null,
|
164
|
-
"manageStatus": 3
|
165
|
-
}, // 子拓扑资源-子拓扑IP、Ping资源
|
166
|
-
{
|
167
|
-
ciType: 'network_link',
|
168
|
-
"id": "0000000001999c86",
|
169
|
-
"name": "子拓扑资源-子拓扑IP",
|
170
|
-
'sourceType': 'topo',
|
171
|
-
"source": "3",
|
172
|
-
'targetType': 'topo',
|
173
|
-
"target": "6",
|
174
|
-
"operation": "delete",
|
175
|
-
"interfaceSource": "00000000010de95e",
|
176
|
-
"interfaceTarget": "",
|
177
|
-
"attributes": {
|
178
|
-
"network_link.source_device_ipv4": "172.17.166.20",
|
179
|
-
"network_link.destination_ipv4": "2.2.2.2",
|
180
|
-
"network_link.work_mode": "AandS",
|
181
|
-
"support_templates": "m.ethernet_link",
|
182
|
-
"rated_bandwidth": 1000,
|
183
|
-
"network_link.actual_bandwidth": 1000,
|
184
|
-
"source_type": "network.interface",
|
185
|
-
"network_link.connect_type": "phy",
|
186
|
-
"display_name": "子拓扑资源-子拓扑IP",
|
187
|
-
"asset_status": "2",
|
188
|
-
"network_link_type": "2",
|
189
|
-
"destination_type": "ip",
|
190
|
-
"network_link.role": "master",
|
191
|
-
"network_link.network_category": "CAN",
|
192
|
-
"dcs": "331268969",
|
193
|
-
"network_link.source_ipv4": "172.17.166.20",
|
194
|
-
"name": "172.17.166.20(Gi 0/1) - 2.2.2.2",
|
195
|
-
"distance_outlet": 2147483647,
|
196
|
-
"network_link.is_crucial": false,
|
197
|
-
"source_id": "00000000010de95e",
|
198
|
-
"network_link.source_device_id": "00000000010de864",
|
199
|
-
"network_link.destination_device_ipv4": "2.2.2.2"
|
200
|
-
},
|
201
|
-
"sourceCode": null,
|
202
|
-
"level": null,
|
203
|
-
"customType": null,
|
204
|
-
"manageStatus": 3
|
205
|
-
}];
|
@@ -1,210 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
exports.__esModule = true;
|
4
|
-
exports.topoLinks = void 0;
|
5
|
-
// 二、子拓扑链路
|
6
|
-
// - 资源-子拓扑资源
|
7
|
-
// - 资源-子拓扑IP、Ping资源
|
8
|
-
// - 子拓扑资源-IP、Ping资源
|
9
|
-
// - 子拓扑资源-子拓扑资源
|
10
|
-
// - 子拓扑资源-子拓扑IP、Ping资源
|
11
|
-
var topoLinks = [// 资源-子拓扑资源
|
12
|
-
{
|
13
|
-
ciType: 'network_link',
|
14
|
-
"id": "00000000010decab",
|
15
|
-
"name": '资源、Ping资源-子拓扑资源',
|
16
|
-
"source": "00000000010de861",
|
17
|
-
'targetType': 'topo',
|
18
|
-
"target": "6",
|
19
|
-
"operation": "delete",
|
20
|
-
"interfaceSource": "00000000010de8da",
|
21
|
-
"interfaceTarget": "00000000010de973",
|
22
|
-
"attributes": {
|
23
|
-
"network_link.to_if_connect": "r926054146526674944",
|
24
|
-
"network_link.source_device_ipv4": "172.17.166.18",
|
25
|
-
"network_link.destination_ipv4": "172.17.166.20",
|
26
|
-
"network_link.work_mode": "single",
|
27
|
-
"support_templates": "m.ethernet_link",
|
28
|
-
"destination_id": "00000000010de973",
|
29
|
-
"rated_bandwidth": 1000,
|
30
|
-
"network_link.actual_bandwidth": 1000,
|
31
|
-
"source_type": "network.interface",
|
32
|
-
"network_link.connect_type": "phy",
|
33
|
-
"display_name": "资源-子拓扑资源",
|
34
|
-
"asset_status": "2",
|
35
|
-
"destination_type": "network.interface",
|
36
|
-
"network_link.network_category": "CAN",
|
37
|
-
"network_link.source_ipv4": "172.17.166.18",
|
38
|
-
"name": "资源-子拓扑资源",
|
39
|
-
"distance_outlet": 2147483647,
|
40
|
-
"network_link.is_crucial": false,
|
41
|
-
"source_id": "00000000010de8da",
|
42
|
-
"network_link.source_device_id": "00000000010de861",
|
43
|
-
"network_link.destination_device_id": "00000000010de864",
|
44
|
-
"network_link.destination_device_ipv4": "172.17.166.20"
|
45
|
-
},
|
46
|
-
"sourceCode": null,
|
47
|
-
"level": null,
|
48
|
-
"customType": null,
|
49
|
-
"manageStatus": 3
|
50
|
-
}, // 资源-子拓扑IP、Ping资源
|
51
|
-
{
|
52
|
-
ciType: 'network_link',
|
53
|
-
"id": "00000000019990f1",
|
54
|
-
"name": "资源-子拓扑IP",
|
55
|
-
"source": "00000000010de861",
|
56
|
-
'targetType': 'topo',
|
57
|
-
"target": "6",
|
58
|
-
"operation": "delete",
|
59
|
-
"interfaceSource": "00000000010de8b3",
|
60
|
-
"interfaceTarget": "",
|
61
|
-
"attributes": {
|
62
|
-
"network_link.source_device_ipv4": "172.17.166.18",
|
63
|
-
"network_link.destination_ipv4": "1.1.1.1",
|
64
|
-
"network_link.work_mode": "AandS",
|
65
|
-
"support_templates": "m.ethernet_link",
|
66
|
-
"rated_bandwidth": 100,
|
67
|
-
"network_link.actual_bandwidth": 100,
|
68
|
-
"source_type": "network.interface",
|
69
|
-
"network_link.connect_type": "phy",
|
70
|
-
"display_name": "资源-子拓扑IP",
|
71
|
-
"asset_status": "2",
|
72
|
-
"network_link_type": "2",
|
73
|
-
"destination_type": "ip",
|
74
|
-
"network_link.role": "master",
|
75
|
-
"network_link.network_category": "CAN",
|
76
|
-
"dcs": "331268969",
|
77
|
-
"network_link.source_ipv4": "172.17.166.18",
|
78
|
-
"name": "资源-子拓扑IP",
|
79
|
-
"distance_outlet": 2147483647,
|
80
|
-
"network_link.is_crucial": false,
|
81
|
-
"source_id": "00000000010de8b3",
|
82
|
-
"network_link.source_device_id": "00000000010de861",
|
83
|
-
"network_link.destination_device_ipv4": "1.1.1.1"
|
84
|
-
},
|
85
|
-
"sourceCode": null,
|
86
|
-
"level": null,
|
87
|
-
"customType": null,
|
88
|
-
"manageStatus": 3
|
89
|
-
}, // 子拓扑资源-IP、Ping资源
|
90
|
-
{
|
91
|
-
ciType: 'network_link',
|
92
|
-
"id": "0000000001999538",
|
93
|
-
"name": "IP-子拓扑资源",
|
94
|
-
'sourceType': 'topo',
|
95
|
-
"source": "6",
|
96
|
-
"target": "",
|
97
|
-
"operation": "delete",
|
98
|
-
"interfaceSource": "00000000010de95e",
|
99
|
-
"interfaceTarget": "",
|
100
|
-
"attributes": {
|
101
|
-
"network_link.source_device_ipv4": "172.17.166.20",
|
102
|
-
"network_link.destination_ipv4": "1.5.5.5",
|
103
|
-
"network_link.work_mode": "AandS",
|
104
|
-
"support_templates": "m.ethernet_link",
|
105
|
-
"rated_bandwidth": 1000,
|
106
|
-
"network_link.actual_bandwidth": 1000,
|
107
|
-
"source_type": "network.interface",
|
108
|
-
"network_link.connect_type": "phy",
|
109
|
-
"display_name": "IP-子拓扑资源",
|
110
|
-
"asset_status": "2",
|
111
|
-
"network_link_type": "2",
|
112
|
-
"destination_type": "ip",
|
113
|
-
"network_link.role": "master",
|
114
|
-
"network_link.network_category": "CAN",
|
115
|
-
"dcs": "331268969",
|
116
|
-
"network_link.source_ipv4": "172.17.166.20",
|
117
|
-
"name": "172.17.166.20(Gi 0/1) - 1.5.5.5",
|
118
|
-
"distance_outlet": 2147483647,
|
119
|
-
"network_link.is_crucial": false,
|
120
|
-
"source_id": "00000000010de95e",
|
121
|
-
"network_link.source_device_id": "00000000010de864",
|
122
|
-
"network_link.destination_device_ipv4": "1.5.5.5"
|
123
|
-
},
|
124
|
-
"sourceCode": null,
|
125
|
-
"level": null,
|
126
|
-
"customType": null,
|
127
|
-
"manageStatus": 3
|
128
|
-
}, // 子拓扑资源-子拓扑资源
|
129
|
-
{
|
130
|
-
ciType: 'network_link',
|
131
|
-
"id": "0000000001899476",
|
132
|
-
"name": '子拓扑资源-子拓扑资源',
|
133
|
-
'sourceType': 'topo',
|
134
|
-
"source": "3",
|
135
|
-
'targetType': 'topo',
|
136
|
-
"target": "6",
|
137
|
-
"operation": "delete",
|
138
|
-
"interfaceSource": "00000000010de90e",
|
139
|
-
"interfaceTarget": "00000000010de973",
|
140
|
-
"attributes": {
|
141
|
-
"network_link.to_if_connect": "r933757920628178944",
|
142
|
-
"network_link.source_device_ipv4": "172.17.166.19",
|
143
|
-
"network_link.destination_ipv4": "172.17.166.20",
|
144
|
-
"network_link.work_mode": "single",
|
145
|
-
"support_templates": "m.ethernet_link",
|
146
|
-
"destination_id": "00000000010de973",
|
147
|
-
"rated_bandwidth": 1000,
|
148
|
-
"network_link.actual_bandwidth": 1000,
|
149
|
-
"source_type": "network.interface",
|
150
|
-
"network_link.connect_type": "phy",
|
151
|
-
"display_name": "子拓扑资源-子拓扑资源",
|
152
|
-
"asset_status": "2",
|
153
|
-
"network_link_type": "2",
|
154
|
-
"destination_type": "network.interface",
|
155
|
-
"network_link.network_category": "CAN",
|
156
|
-
"network_link.source_ipv4": "172.17.166.19",
|
157
|
-
"name": "172.17.166.19(Gi 0/50) - 172.17.166.20(Gi 0/22)",
|
158
|
-
"distance_outlet": 2147483647,
|
159
|
-
"network_link.is_crucial": false,
|
160
|
-
"source_id": "00000000010de90e",
|
161
|
-
"network_link.source_device_id": "00000000010de862",
|
162
|
-
"network_link.destination_device_id": "00000000010de864",
|
163
|
-
"network_link.destination_device_ipv4": "172.17.166.20"
|
164
|
-
},
|
165
|
-
"sourceCode": null,
|
166
|
-
"level": null,
|
167
|
-
"customType": null,
|
168
|
-
"manageStatus": 3
|
169
|
-
}, // 子拓扑资源-子拓扑IP、Ping资源
|
170
|
-
{
|
171
|
-
ciType: 'network_link',
|
172
|
-
"id": "0000000001999c86",
|
173
|
-
"name": "子拓扑资源-子拓扑IP",
|
174
|
-
'sourceType': 'topo',
|
175
|
-
"source": "3",
|
176
|
-
'targetType': 'topo',
|
177
|
-
"target": "6",
|
178
|
-
"operation": "delete",
|
179
|
-
"interfaceSource": "00000000010de95e",
|
180
|
-
"interfaceTarget": "",
|
181
|
-
"attributes": {
|
182
|
-
"network_link.source_device_ipv4": "172.17.166.20",
|
183
|
-
"network_link.destination_ipv4": "2.2.2.2",
|
184
|
-
"network_link.work_mode": "AandS",
|
185
|
-
"support_templates": "m.ethernet_link",
|
186
|
-
"rated_bandwidth": 1000,
|
187
|
-
"network_link.actual_bandwidth": 1000,
|
188
|
-
"source_type": "network.interface",
|
189
|
-
"network_link.connect_type": "phy",
|
190
|
-
"display_name": "子拓扑资源-子拓扑IP",
|
191
|
-
"asset_status": "2",
|
192
|
-
"network_link_type": "2",
|
193
|
-
"destination_type": "ip",
|
194
|
-
"network_link.role": "master",
|
195
|
-
"network_link.network_category": "CAN",
|
196
|
-
"dcs": "331268969",
|
197
|
-
"network_link.source_ipv4": "172.17.166.20",
|
198
|
-
"name": "172.17.166.20(Gi 0/1) - 2.2.2.2",
|
199
|
-
"distance_outlet": 2147483647,
|
200
|
-
"network_link.is_crucial": false,
|
201
|
-
"source_id": "00000000010de95e",
|
202
|
-
"network_link.source_device_id": "00000000010de864",
|
203
|
-
"network_link.destination_device_ipv4": "2.2.2.2"
|
204
|
-
},
|
205
|
-
"sourceCode": null,
|
206
|
-
"level": null,
|
207
|
-
"customType": null,
|
208
|
-
"manageStatus": 3
|
209
|
-
}];
|
210
|
-
exports.topoLinks = topoLinks;
|