-
Notifications
You must be signed in to change notification settings - Fork 8
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
ILpinto
wants to merge
59
commits into
lukas-bednar:master
Choose a base branch
from
ILpinto:set_tcp_connection_timeout
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Lukas Bednar <[email protected]>
* 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
Fixes #65
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]>
Signed-off-by: Alexey Slaykovsky <[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.
Signed-off-by: Aleksei Slaikovskii <[email protected]>
* Network: Add netmask to network.get_info * Network: Add netmask to network.get_info
* 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
…ion (#103) Signed-off-by: Lukas Bednar <[email protected]>
Signed-off-by: Lukas Bednar <[email protected]>
Signed-off-by: Lukas Bednar <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Expose TCP connection timeout as parameter,
For slow network we need to increase the timeout.