华为乾坤-条件查询光口资源:响应参数
响应参数
返回状态码为200:光口资源查询成功。
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
code |
int32 |
- |
0 |
操作返回码。可以是如下值之一: 0:成功 非0:失败 |
0 |
data |
ARRAY_REFERENCE |
详细请参见表3。 |
- |
- |
|
pageSize |
integer |
- |
- |
记录总页数。 |
1 |
totalSize |
integer |
- |
- |
记录总数。 |
100 |
description |
string |
- |
- |
描述信息。 |
"查询成功。" |
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
name |
string |
- |
- |
光口名称。 |
"XGigabitEthernet0/0/1" |
adminstatus |
string |
- |
- |
光口管理状态,可以是如下值之一: 1:up 2:down 3:planning |
"1" |
operstatus |
string |
- |
- |
光口操作状态,可以是如下值之一: 1:up 2:down 3:testing 4:unknown 5:dormant 6:notPresent 7:lowerLayerDown |
"1" |
ipaddress |
string |
- |
- |
光口IP地址。 |
"10.x.x.x" |
ipnetmask |
string |
- |
- |
光口子网掩码。 |
"0.0.0.0" |
portindex |
string |
- |
- |
光口索引。 |
"70664270" |
vendorName |
string |
厂商名称 |
"HUAWEI" |
||
vendorSn |
string |
产商序列号 |
"U7M86M87907" |
||
transType |
string |
转换类型 |
"100GBASE_SR4" |