Microsoft Virtualization Discussions

Which api to find out RLM firmware revision

dominicb
6,828 Views

I can't seem to find an API that exposes the firmware revision of the RLM card, it must be there somewhere....?!

9 REPLIES 9

kvishal
6,828 Views

Hi dominic,

     The System-get-info API returns a firmware release.

cpu-firmware-release
string
optional
Firmware release number. Defined  by the CPU manufacturer.

Is this what you are looking for ?

dominicb
6,828 Views

Hi Vishal,

No, that api relates to the system firmware, what I'm after if the rlm card's firmware revision (the management port).

For example the output from a "rlm status" command through an ssh session on the filer shows the following:

Remote LAN Module           Status: Online

            Part Number:        110-00057

            Revision:           F0

            Serial Number:      491341

            Firmware Version:   4.0

            Mgmt MAC Address:   00:A0:98:11:99:D6

            Ethernet Link:      up

            Using DHCP:         no

            IP Address:         10.26.38.154

            Netmask:            255.255.255.0

            Gateway:            10.26.38.254

Any ideas which API can produce this output?

Thanks

Dominic

kvishal
6,828 Views

I did some search in the API, was unable to find any API.

You could use the system-cli API to get the output of your CLI in a ZAPI. The API is unsupported but.

This is how you run it

<system-cli><args><arg>rlm</arg><arg>status</arg></args></system-cli>

dominicb
6,828 Views

Thanks for your help Vishal, in the end I have just loaded the rlm status output into an array using powershell and referenced the element for the firmware version. This gets me what I need for the time being.

I would prefer to be accessing this info with a proper API call through a powershell cmdlet. Would you know if I could feed this back somewhere as an addition to a wishlist for pipeline work?

Thanks

Dominic

kvishal
6,828 Views

you could file a RFE for this. But I am not fully sure, if the ZAPI is missing.

cknight
6,828 Views

There doesn't appear to be an API for getting the RLM version.  As Vishal pointed out, system-cli is an unsupported API.  However, sending CLI commands via SSH is fully supported.

Although not as good as an actual API for RLM details, the forthcoming Toolkit 1.3 will do this:


PS C:\> Invoke-NaSsh rlm status


        Remote LAN Module           Status: Online
                Part Number:        110-00057
                Revision:           D0
                Serial Number:      391066
                Firmware Version:   1.3
                Mgmt MAC Address:   00:A0:98:06:E6:CA
                Ethernet Link:      down
                Using DHCP:         no
        IPv4 configuration:
                IP Address:         192.168.33.107
                Netmask:            255.255.248.0
                Gateway:            192.168.32.254

1.3 release date is "soon" but not yet finalized, so no use asking!

dominicb
6,828 Views

Hi Clinton,

That is useful info, thanks.

mskubski
6,828 Views

The API is not available. We just opend a RFE! We hope to get the RLM API supported soon, but we have no feedback at the moment. regards Maurice

dominicb
6,828 Views

Thanks for filing that, appreciate it.

I'll keep an eye out, hopefully it will get added as I'm sure there are lots of people that will want this eventually.

Public