question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add list of supported TMOS versions in the Returned Exception

See original GitHub issue

After upgrading to 0.1.7 existing code from 0.1.5 breaks.

Python 2.7.6 (Ubuntu 14.04) TMOS 12.1.0

Example:

0.1.5:
%cat foo.py
from f5.bigip import BigIP

# Connect to the BigIP
bigip = BigIP("10.1.1.2", "admin", "admin")

# Get a list of all pools on the BigIP and print their name and their
# members' name
pools = bigip.ltm.pools.get_collection()
for pool in pools:
    print pool.name
    for member in pool.members_s.get_collection():
         print member.name
%python foo.py
...
172.16.63.2:80
172.16.77.2:80
172.16.86.3:80
% pip install --upgrade  f5-sdk
% python foo.py
...
Traceback (most recent call last):
  File "foo.py", line 8, in <module>
    pools = bigip.ltm.pools.get_collection()
  File "/XXX/ENV/local/lib/python2.7/site-packages/f5/bigip/mixins.py", line 113, in __getattr__
    container._check_supported_versions(attribute)
  File "/XXX/ENV/local/lib/python2.7/site-packages/f5/bigip/mixins.py", line 124, in _check_supported_versions
    raise UnsupportedTmosVersion(error)
f5.bigip.mixins.UnsupportedTmosVersion: There was an attempt to access API which has not been implemented or supported in the device's TMOS version: 12.1.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:25 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
zancascommented, Jun 15, 2016

@chen23 we intend to release a bugfix this Friday that will make the SDK “just work” again for 12.1.

0reactions
zancascommented, Jul 6, 2016

Here’s the URL: https://f5openstackdev.slack.com/messages/f5-common-python/

Send me your email address at: za@f5.com

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes: BIG-IP 16.1.0 New and Installation - AskF5
BIG-IP VE Supported Hypervisors: A list of VE hypervisors and their supported software versions. Module combination and memory considerations. BIG-IP platform ...
Read more >
ansible-build-data/CHANGELOG-v2.10.rst at main - GitHub
Holds generated but persistent results from building acd - ansible-build-data/CHANGELOG-v2.10.rst at main · ansible-community/ansible-build-data.
Read more >
Apache camel 2.21.0 Release
Apache camel 2.21.0 Release. New and Noteworthy. Welcome to the 2.21.0 release which resolved 400 issues including new features, improvements and bug fixes....
Read more >
What was added in previous releases of NCL
This version contains two new functions that enable NCL scripts to execute ... this function returned seven variables as elements of a list...
Read more >
Syncplicity On-Premises Storage Connector release notes
Added an exception to be returned in cases where duplicate keys are ... Download of multiple files and folders feature to be supported...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found