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_r358140160
 
 

 ##########
 File path: 
core/src/main/java/com/cloud/agent/api/routing/SetMonitorServiceCommand.java
 ##########
 @@ -29,21 +32,34 @@
  * how to access the components inside the command.
  */
 public class SetMonitorServiceCommand extends NetworkElementCommand {
-    MonitorServiceTO[] services;
+    public static final String ROUTER_MONITORING_ENABLED = 
"router.monitor.enabled";
+    public static final String ROUTER_HEALTH_CHECKS_ENABLED = 
"router.health.checks.enabled";
+    public static final String ROUTER_HEALTH_CHECKS_BASIC_INTERVAL = 
"router.health.checks.basic.interval";
+    public static final String ROUTER_HEALTH_CHECKS_ADVANCED_INTERVAL = 
"router.health.checks.advanced.interval";
+    public static final String ROUTER_HEALTH_CHECKS_EXCLUDED = 
"router.health.checks.excluded";
 
 Review comment:
   these look like they warrant an enum, right?

----------------------------------------------------------------
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

Reply via email to