此命令返回群集卡的当前链路状态。输出的结果与 aksh 命令 "configuration cluster links" 的输出相同。建议在运行群集设置之前运行此命令,以确保群集布线没有问题。运行设置之前,所有链路都应处于 AKCIOS_ACTIVE 状态。
请求示例:
GET /api/hardware/v1/cluster/links HTTP/1.1 Authorization: Basic abcd123MWE= Host: zfssa.example.com:215 Accept: application/json
响应示例:
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 181 { "links": { "clustron2_embedded:0/clustron_uart:0 = AKCIOS_TIMEDOUT\n clustron2_embedded:0/clustron_uart:1 = AKCIOS_TIMEDOU\n clustron2_embedded:0/dlpi:0 = AKCIOS_TIMEDOUT" } }