{
"bmc.dev.NetworkPort": {
"properties": {
"PortId": {
"baseType": "U8",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "当前网卡上的网口ID"
},
"MACAddress": {
"baseType": "String",
"readOnly": false,
"options": {
"emitsChangedSignal": "false"
},
"description": "网口的mac地址"
},
"PermanentMACAddress": {
"baseType": "String",
"readOnly": false,
"options": {
"emitsChangedSignal": "false"
},
"description": "网口的初始mac地址(当前NIC卡是通过bios设置的)"
},
"BDF": {
"baseType": "String",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "网口的总线信息"
},
"NetDevFuncType": {
"baseType": "U8",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "网络设备功能类型 0:Disabled 1:Ethernet 2:FC 4:iSCSI 8:FCoE 16:OPA 32:IB,网口不能同时工作于两种模式"
},
"MediumType": {
"baseType": "String",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "网络接口类型,电口:Copper;光口:FiberOptic"
},
"MaxSpeedSupported": {
"baseType": "String",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "网口支持的最大速率"
},
"WorkloadType": {
"baseType": "U8",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "工作负载类型"
},
"LLDPEnabled": {
"baseType": "Boolean",
"readOnly": true,
"options": {
"emitsChangedSignal": "false"
},
"description": "端口LLDP使能模式: false:未使能; true:使能"
}
},
"methods": {
"SendNcsiTestPacket": {
"req": {
"CmdCode": {
"baseType": "U8"
},
"ReqData": {
"baseType": "String"
}
},
"rsp": {},
"description": "发送NCSI测试数据包"
},
"SetLLDPTxEnable": {
"req": {
"Enable": {
"baseType": "Boolean"
}
},
"rsp": {},
"description": "设置LLDP发送使能"
}
}
}
}