sureshanaparti commented on code in PR #12571:
URL: https://github.com/apache/cloudstack/pull/12571#discussion_r2793076041
##########
engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java:
##########
@@ -2093,6 +2093,24 @@ public void propagateChangeToAgents(Map<String, String>
params) {
}
}
+ @Override
+ public int getHostSshPort(HostVO host) {
+ if (host == null) {
+ return KVMHostDiscoverySshPort.value();
+ }
+
+ _hostDao.loadDetails(host);
Review Comment:
this method is called for KVM hypervisor only now, anyways added check to
return default ssh port as 22 for other hypervisors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]