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
Joel_42834
Mar 14, 2018Nimbostratus
Jason,
I just looked at the changes for obtaining the HA failover status of a node.
Here's what I was able to come up with:
mgmt = ManagementRoot(host, username, password)
xx = mgmt.tm.cm.failover_status.load()
print(xx.attrs['entries']['']['nestedStats']['entries']['status']['description'])
'ACTIVE'
Is there an easier way to get this information?
Thanks,
Joel