交换机端口对端设备

概述


交换机端口对端设备


URL

/index.php?m=api&a=getSwitchConnectDevice


▍请求参数


字段名
变量名
必填
类型
描述
switchswitch_port_num
string交换机端口名称
交换机ID
switch
int
交换机ID

返回参数


字段名
变量名
类型
描述
对端设备IDidint对端设备ID(服务器,交换机,机柜租用)
类型typestringserver(服务器),switch(交换机),cabinet_rent(机柜租用)
物理标签wltagstring服务器物理标签
交换机名称snamestring交换机名称
交换机端口
switch_port_numstring交换机端口名称
机柜租用邮箱emailstring机柜租用邮箱
状态
status
string
success 成功  error 失败
信息
msg
string
提示信息