Forum Discussion

shepardce's avatar
Icon for Nimbostratus rankNimbostratus
Mar 30, 2022

Uploading ISOs via legacy f5-sdk

I'm working on porting our legacy Bash-based BIG-IP upgrade script to Python, and running into an issue when trying to upload the new image via the (apparently legacy) SDK. Here's the relevant code s...
  • JRahm's avatar
    Mar 30, 2022

    Update: use upload_image, not upload_file.

    This was successful (slow, but successful) for me:


    from f5.bigip import ManagementRoot
    b = ManagementRoot('ltm3.test.local', 'admin', 'admin')'/Users/jrahm/Downloads/BIGIP-')


    make sure your firmwareIsoPath is accurate and that method requires a .iso extension. Also, if this is greenfield and you're not really too far into a conversion, I'd highly recommend bigrest over the f5-common-python library. Here's a couple compare/contrast articles I wrote between the two: