Skip to main content

GET – BMC WLAN Ethernet properties

Use the GET method to retrieve properties in Ethernet interface resource for a BMC.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Managers/1/EthernetInterfaces/WLAN

Request body

None

Response body

FieldTypeDescription

Id

String

The value is “NIC” or “WLAN” in resource for BMC Ethernet interface.

Name

String

“Manager WLAN Interface”

 

State

String

“Enabled” if this Ethernet interface is enabled.

 

Health

String

“OK”

Oem

Object

Expanded

 

Lenovo

Object

Expanded

  

AutoConnectLists

Array

Array element

  

ConnectStatus

String

The connection status of Wifi.

  

SecurityType

String

Wifi security type.

  

SSID

String

Wifi network name.

IPv4StaticAddresses

Array

An array of objects used to represent the IPv4 connection characteristics for this XCC2 interface.

 

IPv4StaticAddress

Object

Array element

  

Address

String

The IPv4 Address

  

SubnetMask

String

The IPv4 Subnet mask.

  

AddressOrigin

String

Static.

  

Gateway

String

The IPv4 gateway for this address

IPv4Address

Array

An array of objects used to represent the IPv4 connection characteristics for this XCC2 interface.

 

IPv4Address

Object

Array element.

  

Address

String

the IPv4 Address.

  

SubnetMask

String

the IPv4 Subnet mask.

  

AddressOrigin

String

This indicates how the address was determined:

  • Static. A static address as configured by the user.

  • DHCP. Address is provided by a DHCPv4 service.

  • BOOTP. Address is provided by a BOOTP service.

  • IPv4LinkLocal. Address is valid only for this network segment (link).

  

Gateway

String

The IPv4 gateway for this address

InterfaceEnabled

Boolean

A boolean indicating whether this interface is enabled

MACAddress

String

The currently configured MAC address of the (logical port) interface.

Actions

Object

Expanded

 

Oem

Object

Expanded

  

#LenovoEthernetInterface.IgnoreWifiAutoList

Object

Expanded

   

title

String

“IgnoreWifiAutoList”

   

target

Link 
  

#LenovoEthernetInterface.DisconnectWifi

Object

Expanded

   

title

String

“DisconnectWifi”

   

target

Link 
  

#LenovoEthernetInterface.ConnectWifi

Object

Expanded

   

title

String

“Connect”

   

target

Link 
   

Mode@Redfish.AllowableValues

Array

Array element

    

Mode@Redfish.AllowableValues[0]

String

“WPA2-PSK”

    

Mode@Redfish.AllowableValues[1]

String

“WPA2-Enterprise”

  

#LenovoEthernetInterface.DoManualWifiScan

Object

Expanded

   

title

String

“DoManualWifiScan”

   

target

Link 
  

#LenovoEthernetInterface.GetWifiScanResults

Object

Expanded

   

title

String

“GetWifiScanResults”

   

target

Link 

DHCPv4

Object

Expanded

 

DHCPEnabled

Boolean

The DHCP is Enabled or not.

Description

String

Manager WLAN Interface

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Oem": {
"Lenovo": {
"AutoConnectLists": [
"XCC_APTEST",
"XCC_TEST"
],
"ConnectStatus": "connected",
"SecurityType": "WPA2-PSK",
"SSID": "XCC_TEST"
}
},
"Status": {
"Health": "OK",
"State": "Enabled"
},
"@odata.type": "#EthernetInterface.v1_9_0.EthernetInterface",
"IPv4StaticAddresses": [
{
"SubnetMask": "255.255.255.0",
"AddressOrigin": "Static",
"Gateway": "0.0.0.0",
"Address": "192.168.71.125"
}
],
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
"Id": "WLAN",
"Name": "Manager WLAN Interface",
"IPv4Addresses": [
{
"SubnetMask": "255.255.255.0",
"AddressOrigin": "DHCP",
"Gateway": "192.168.1.1",
"Address": "192.168.1.100"
}
],
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN",
"InterfaceEnabled": true,
"MACAddress": "14:13:33:66:1a:97",
"@odata.etag": "\"c46437989b9732c5009e3\"",
"DHCPv4": {
"DHCPEnabled": true
},
"Actions": {
"Oem": {
"#LenovoEthernetInterface.IgnoreWifiAutoList": {
"title": "IgnoreWifiAutoList",
"target": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.IgnoreWifiAutoList"
},
"#LenovoEthernetInterface.DisconnectWifi": {
"title": "DisconnectWifi",
"target": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.DisconnectWifi"
},
"#LenovoEthernetInterface.ConnectWifi": {
"target": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.ConnectWifi",
"title": "ConnectWifi",
"Mode@Redfish.AllowableValues": [
"WPA2-PSK",
"WPA2-Enterprise"
]
},
"#LenovoEthernetInterface.DoManualWifiScan": {
"title": "DoManualWifiScan",
"target": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.DoManualWifiScan"
},
"#LenovoEthernetInterface.GetWifiScanResults": {
"title": "GetWifiScanResults",
"target": "/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.GetWifiScanResults"
}
}
},
"Description": "Manager WLAN Interface"
}