brocade/pyfos

Switch version is lower than the object

Opened this issue · 2 comments

Is this not supported on 8.2.0?

try:
    SYS_RESOURCES = pyfos_maps.system_resources.get(SESSION)
    pyfos_util.response_print(SYS_RESOURCES)
except Exception as e:
    print("Error getting switch stats: ", e)
    pyfos_auth.logout(SESSION)

Getting this result

{
    "info-code": -1,
    "info-message": "Switch version is lower than the object",
    "info-type": "Informational"
}

switch info

Kernel:     2.6.34.6
Fabric OS:  v8.2.0a
Made on:    Tue Mar 6 13:12:54 2018
Flash:      Fri May 18 18:44:49 2018
BootProm:   1.0.1

pyfos_maps is only supported on Fabric OS v8.2.1 onwards only. The switch needs to be upgraded to 8.2.1 to use "pyfos_maps"

Please check with 8.2.1 branch and close the issue accordingly.