APIs in Category: ses | API version 1.6

storage-shelf-set-led-state storage-shelf-update-fw

NetApp Manage ONTAP

storage-shelf-set-led-state | [top]

> Set or clear the LED for a disk, shelf of disks or loop of shelves. LEDs to affect can be specified as: {channel-name}, {channel-name, shelf-id}, {channel-name, shelf-id, shelf-bay}, {channel-name, shelf-id, shelf-bay}, {channel-name, shelf-id, shelf-bay, lun}.

> Input Name | Range | Type | Description
> action |  | string required | This specifies the action to apply. Possible values are: on, and off. on: Turn the LED(s) on indefinitely. off: Turn the LED(s) off.
> channel-name |  | string | The channel to which the shelf or drive LED to be affected is connected. A list of channels can be obtained with storage-shelf-get-channel-list. A channel-name is the adapter number or switch name and the port number (together, called the channel). Examples are 8a and switch:5.
> duration |  | integer optional | This parameter allows the caller to specify the duration (in seconds) that the action will be applied. Note that the action 'on' is indefinite, while 'test' uses duration. 'blink' also uses duration.
> identify |  | boolean optional | This parameter allows the caller to specify the identify LED. The default is for the command to affect the fault LED. Not all disks have identify LEDs. In that case, the identify option is ignored and the fault LED is affected.
> lun |  | integer optional | Some targets have a logical unit number. In that case, the lun will be required to uniquely specify the LED to affect. Range : [0..255]
> shelf-bay |  | integer optional | If present, the shelf-bay indicates the specific drive where the LED affected resides. If shelf-id is supplied but shelf-bay is not, then the LEDs for all drives in the shelf will be affected. The list of shelf-bays within a shelf can be obtained with storage-shelf-get-shelf-bay-count. Range : [0..255]
> shelf-id |  | integer optional | If present, the shelf-id indicates which shelf has the drive or drives where the LEDs to affect reside. A list of shelves connected to a channel can be obtained with storage-shelf-get-shelf-list. Range : [0..2^24-1]

> Errno | Description
> EINTERNALERROR |  |
> EDISKNOTFOUND |  |
> EAPIMISSINGARGUMENT |  |
> EINVALIDINPUTERROR |  |

storage-shelf-update-fw | [top]

> Start shelf firmware download process to update firmware on disk shelves. This operation is asynchronous, and therefore returns no errors that might occur during the download process. This operation will only update firmware on shelves that do not have the latest firmware revision. The firmware revision on the shelves can be monitored via the storage-shelf-get-shelf-info API. NOT IMPLEMENTED YET.

> Input Name | Range | Type | Description
> channel-name |  | string optional | If present, will only update firmware on all shelves (or a single shlef depending on shelf-id) on the given channel. If not present, then all shelves on all channels are updated. Example: To update firmware on 2a.shelf1, channel should be 2a and shelf should be 1.
> shelf-id |  | string optional | If present, will only update firmware on the given shelf on specified channel. If not present, and a channel-name is specified, then all shelves on the channel will be updated. Example: To update firmware on 2a.shelf1, channel should be 2a and shelf should be 1.

> Errno | Description
> EINTERNALERROR |  |
> EINVALIDINPUTERROR |  |