Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set tcp connection timeout #5

Open
wants to merge 59 commits into
base: master
Choose a base branch
from

Conversation

ILpinto
Copy link

@ILpinto ILpinto commented Jan 15, 2020

Expose TCP connection timeout as parameter,
For slow network we need to increase the timeout.

lukas-bednar and others added 30 commits May 25, 2016 18:18
* Set FQDN if host created qith FQDN

Sometime socket.getfqdn(ip) return IP and not the host FQDN so if Host
was created with FQDN we will use it as FQDN

* Set FQDN if host created qith FQDN

Sometime socket.getfqdn(ip) return IP and not the host FQDN so if Host
was created with FQDN we will use it as FQDN

* Set FQDN if host created qith FQDN

Sometime socket.getfqdn(ip) return IP and not the host FQDN so if Host
was created with FQDN we will use it as FQDN

* Set FQDN if host created qith FQDN

Sometime socket.getfqdn(ip) return IP and not the host FQDN so if Host
was created with FQDN we will use it as FQDN
* Copy file with correct permissions and owner

* Patch Set lukas-bednar#2

- move function to operatingsystem module to be consistent with
  os.stat
- add function get_file_stats
- add positive and negative tests

* Patch Set lukas-bednar#3

- fix tests

* fix

* Patch Set lukas-bednar#4

- change function names
- get octal permissions from stat

* Patch Set lukas-bednar#5

- fix tests
- decode all output to UTF-8

* Patch Set #6

- remove decode of output

* Patch Set #7

- fix functions names under copy_to function

* Patch Set #8

- give possbility to change permission and ownership
  of the file, when file copied from other resource
I believe it no need to check if ownership is a tuple,
because we explicitly define it under docstring

* Patch Set #9

- fix call to function fs.chown
* move to rst format
* move requirements under PM section
* update requirements
This method now expects same parameters as unix touch command
Backwards compatibility has been preserved with a deprecated warning
You can now mount, remount and unmount devices
You can add host using ipv6
Always try to resolve FQDN. Before if you created host
 with domain name but not fully qualified it was stored
 as fqdn
Add ability to find default ipv6 for gateway.
Add ability to find ipv6 by interface
Also fixed coding in all tests.

Signed-off-by: Aleksei Slaikovkii <[email protected]>
Start service fail when service have @ in the name.
For example "serial-getty@ttyS0' is not in unit-files but
"serial-getty@" is there.
Service: Don't fail when service have @ in the name
Sometime the code can stuck, because of command like `poweroff -f`,
so we need to add reasonable timeout for TCP and IO.
* Network: Add netmask to network.get_info

* Network: Add netmask to network.get_info
lukas-bednar and others added 29 commits November 27, 2017 11:18
* Added possibility to give rule number for insert_rule method
* added comments and fixed flake8 line length
* fixed edit_chain brackets in  a new line
* fixed  pep8 violations
Add logger info with journalctl output when systemd service action fails
Network: Add get_interface_status function
* unicode fix for ssh

* unicode fix - refactoring
There was one error of type:
'W605 invalid escape sequence' that was repeating itself
in several places in the network and test_network modules
* Change send_icmp to use OS default ping size

Changed send_icmp function to use default host OS ping size
in case a size is not passed to the fuction

* Add test for send_icmp method

Signed-off-by: Lukas Bednar <[email protected]>
* unicode fix for ssh

* unicode fix - refactoring

* Add -p, -m to fs.mkdir

* Added test for fs.mkdir -p,-m
Add Database.psql_cmd to run special psql commands like \dt, \dv
* Add new function add_ip()

* Add tests for the new added functions add_ip()

* Fix fail tests

* Fix add_ip() tests output

 Please enter the commit message for your changes. Lines starting

* Fix Meni's CR comment
* Add PlaybookRunner service

* Add common.CommandReader

* Add unit tests for common.CommandReader

* Add unit tests for PlaybookRunner service

* Docstrings for PlaybookRunner and its tests

* Add ssh_common_args param to PlaybookRunner.run
* Python3 support

Change Output & Error of a running command to always return
'str' instead of 'bytes', to be compatible with python2

* Add tests to 'normalize_string' function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.