Forum Discussion
Micha__Iwaszko_
Aug 24, 2011Nimbostratus
pycontrol.pycontrol.BIGIP() timeout/keepalive?
Where I can find, what's my BIGIP() keepalive or timeout value? I'm asking because I don't know (while looping some LocalLB.xxx() with time.wait()) if I am to run BIGIP() every loop cycle or just once...
Micha__Iwaszko_
Aug 25, 2011Nimbostratus
I meant the timeout for the connection from the iControl client (pyControl script in my case) to the BIG-IPs https port - like, is there any (tomcat based? SO_KEEPALIVE?, not an LTM profile configuration value or anything) http keepalive for this connection initiated by BIGIP() function? As I've mentioned earlier, let's look at a simple example of a while loop:
b = pycontrol.pycontrol.BIGIP(credentials, wsdls...)
While True:
b.LocalLB.doesnt_really_matter()
time.sleep(30)
If there is some http connection reuse (keepalive of some sort), the BIGIP() can be outside the loop, but if the there's in no keepalive or the timeout value is lower than the time.sleep() interval, one should put BIGIP() inside the loop.
The question is, is there any (keepalive/timeout etc)?
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