Getting Started with the f5-common-python SDK
If you have dabbled with python and iControl over the years, you might be familiar with some of my other “Getting Stared with …” articles on python libraries. I started my last, on Bigsuds, this way:...
Updated Jun 06, 2023
Version 2.0JRahm
Admin
Joined January 20, 2005
JRahm
Mar 14, 2018Admin
Hi Joel, yes, using the Stats utility makes this a little cleaner:
>>> from f5.utils.responses.handlers import Stats
>>> x = Stats(b.tm.cm.failover_status.load())
>>> x.stat['status']['description']
u'ACTIVE'