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
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.JRahm
Admin
Jul 27, 2017rules is an attribute of virtual, so you need to do it this way:
for rule in virtual.rules:
print rules
example:
>>> vip = b.tm.ltm.virtuals.virtual.load(name='testvip_http2', partition='Common')
>>> for rule in vip.rules:
... print rule
...
/Common/http2_test
/Common/static_test
/Common/uri_replace