DaanHoogland commented on a change in pull request #3575: [WIP DO NOT MERGE]
Health check feature for virtual router
URL: https://github.com/apache/cloudstack/pull/3575#discussion_r358141715
##########
File path:
core/src/main/java/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
##########
@@ -268,6 +267,49 @@ private CheckS2SVpnConnectionsAnswer
execute(CheckS2SVpnConnectionsCommand cmd)
return new CheckS2SVpnConnectionsAnswer(cmd, result.isSuccess(),
result.getDetails());
}
+ private GetRouterMonitorResultsAnswer
execute(GetRouterMonitorResultsCommand cmd) {
+ String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ String args = cmd.shouldPerformFreshChecks() ? "true" : "false";
+ s_logger.debug("Fetching health check result for " + routerIp + " and
executing fresh checks: " + args);
Review comment:
this si a user command, wouldn't we want to log this with/as info, instead
of debug?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services