Fix the problem that occur when inside an inventory file be set https as transport but the port remain 22 instead of 443.
Modified set_device method inside source class to set the correct default port based on transport.
Fix mismanagement about ignore_known_hosts property.
Updated test.
Type of change
Bug fix (non-breaking change which fixes an issue)
Double Check
[x] I have read the comments and followed the CONTRIBUTING.md.
[x] I have explained my PR according to the information in the comments or in a linked issue.
[x] My PR source branch is created from the develop branch.
Related Issue
865
Description
Fix the problem that occur when inside an inventory file be set https as transport but the port remain 22 instead of 443. Modified set_device method inside source class to set the correct default port based on transport. Fix mismanagement about ignore_known_hosts property. Updated test.
Type of change
Double Check
develop
branch.develop
branch.--signoff
applied