Forum Discussion
syncretism
Aug 06, 2018Nimbostratus
Handling Differences in v11/v12 in Python SDK for iControl REST
We're interested in using the f5 SDK (version: 3.0.18) to replace several cURL scripts that manage our LTM and GTM pools. One of the major draws here is that the SDK provides sufficient abstraction t...
JRahm
Aug 06, 2018Admin
Hi @syncretism, this is honestly an area where I think we made it harder for the end user by sticking to the sdk design requirements of honoring the REST API endpoints. Because they changed so dramatically between v11 and v12, it's going to require using both methods to interact with the different TMOS versions. So for v11, it would be:
mgmt_root.tm.gtm.pools.pool.create(name=....)
and for v12 (for an a record):
mgmt_root.tm.gtm.a_s.a.create(name=...)
you can substitute the other methods as necessary.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects