
Clients using gerritlib behind NAT/firewall can be stuck when the NAT/firewall discard packets belong to the TCP connection after extended silent periods thinking the connection is dead. This change allows clients using gerritlib to set keep alive interval to a non zero value. This will enable TCP keep alive packets to be sent in configured intervals keeping the TCP connections alive. Change-Id: I588706bb51ce41810cd2243f4969763d193d1d55
README
Gerritlib is a Python library for interacting with Gerrit. It aims to provide a more conventionally pythonic way of managing a Gerrit instance.
To install:
$ sudo python setup.py install
Online documentation:
Developers
Bug report:
Repository:
Cloning:
git clone https://git.openstack.org/openstack-infra/gerritlib
Patches are submitted via Gerrit at:
Please do not submit GitHub pull requests, they will be automatically closed.
More details on how you can contribute is available on our wiki at:
Writing a patch
We ask that all code submissions be pep8 and pyflakes clean. The
easiest way to do that is to run tox before submitting code for review
in Gerrit. It will run pep8
and pyflakes
in
the same manner as the automated test suite that will run on proposed
patchsets.
Installing without setup.py
Then install the required python packages using pip:
$ sudo pip install gerritlib
Description
Languages
Python
100%