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 at a start.
- JRahmAdmintimeout/keepalive for what? There are many sprinkled through the configuration. For example, for tcp traffic, the idle timeout is defined in the LocalLB.ProfileTCP interface in the get_idle_timeout method:
>>> b.LocalLB.ProfileTCP.get_idle_timeout(profile_names = ['tcp']) [(LocalLB.ProfileULong){ value = 300 default_flag = False }]
- Micha__Iwaszko_NimbostratusI 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:
- L4L7_53191NimbostratusIIRC there's no keep-alive - each socket is independent of the next, which is consistent with RPC style calls. But note that you don't need to create another object inside the loop. Since each socket is independent, a new one will be used on subsequent calls.
- Micha__Iwaszko_NimbostratusThat's the answer I was looking for, thanks!
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