资源中心/硬件设施/物理机相关接口
GETPhysical Network Operations起始版本 5.0.0同步需要认证
获取物理网口LLDP信息
获取物理网口LLDP信息
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
路径参数
查询参数
请求参数
路径参数
interfaceUuidString必填物理nic端口UUID。
查询参数
systemTagsList系统标签
userTagsList用户标签
响应状态
请求地址
GET/zstack/v1/hostNetworkInterface/lldp/{interfaceUuid}/info
/zstack/v1/hostNetworkInterface/lldp/{interfaceUuid}/info
请求示例
curl -X GET 'http://{host}/zstack/v1/hostNetworkInterface/lldp/{interfaceUuid}/info?systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
响应示例
200{ "lldp": { "lldpUuid": "6b7c1267888a38779eac7694315855f0", "chassisId": "mac 00:1e:08:1d:05:ba", "timeToLive": 120, "managementAddress": "172.25.2.4", "systemName": "BM-MN-3", "systemDescription": " CentecOS software, E530, Version 7.4.7 Copyright (C) 2004-2021 Centec Networks Inc. All Rights Reserved.", "systemCapabilities": "Bridge, on Router, on", "portId": "ifname eth-0-5", "portDescription": "eth-0-4", "vlanId": 3999, "aggregationPortId": 4294965248, "mtu": 9600 } }变更历史
此 API 暂无变更历史记录。
