华为乾坤-查询拓扑节点信息:响应示例

时间:2025-02-17 11:37:43

响应示例

返回状态码为200:查询拓扑节点成功,响应体参考TopoNodeInfoDto。

HTTP/1.1 200 OK
Date: Sun,16 Feb 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "",
	"errmsg" : "",
	"nodeData" : {
		"nodeData" : [
			{
				"label" : "AP1",
				"resId" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"nativeId" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"nodeSize" : 64,
				"ownerId" : 654321,
				"parentResId" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"posX" : "103.28",
				"posY" : "37.66"
			}
		],
		"hasNext" : false,
		"marker" : "1009"
	},
	"linkData" : {
		"linkData" : [
			{
				"label" : "21980109442SL4600519_GigabitEthernet0/0/1_DHCPSW_85.7.22.2:10031_GigabitEthernet0/0/7",
				"resId" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"topoId" : 5000,
				"typeId" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"leftId" : 0,
				"rightId" : 0,
				"leftFdn" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"rightFdn" : "d4e8513d-69f7-41bb-a3f5-b3a0fcc7b6e0",
				"leftObjType" : 0,
				"rightObjType" : 0,
				"linkClass" : 0,
				"className" : "EntNetworkElement",
				"isLinkSet" : 0,
				"lineType" : 0,
				"lineWidth" : 0,
				"direction" : 0,
				"aPortName" : "GigabitEthernet0/0/24",
				"zPortName" : "GigabitEthernet0/0/24",
				"linkStatus" : 0
			}
		],
		"hasNext" : false,
		"marker" : "1009"
	}
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002163880589.html