Forum Discussion
Uploading ISOs via legacy f5-sdk
- 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') b.cm.autodeploy.software_image_uploads.upload_image('/Users/jrahm/Downloads/BIGIP-14.1.4.1-0.0.4.iso')
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:
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')
b.cm.autodeploy.software_image_uploads.upload_image('/Users/jrahm/Downloads/BIGIP-14.1.4.1-0.0.4.iso')
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:
- shepardceMar 31, 2022Nimbostratus
Ha! I was using the wrong function in the end. That certainly sounds like me.
I'll take a look at bigrest as well, especially since it sounds like that'll have more support going forward; sadly, we aren't yet at a point where we can go completely declarative at my org. Thanks!
- JRahmMar 31, 2022Admin
I really like the tradeoffs Leo made with bigrest comparitively. Hit me up any time!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com