Search in sources :

Example 1 with MonitorService

use of com.cloud.agent.resource.virtualnetwork.model.MonitorService in project cloudstack by apache.

the class SetMonitorServiceConfigItem method generateConfig.

@Override
public List<ConfigItem> generateConfig(final NetworkElementCommand cmd) {
    final SetMonitorServiceCommand command = (SetMonitorServiceCommand) cmd;
    final MonitorService monitorService = new MonitorService(command.getConfiguration(), cmd.getAccessDetail(NetworkElementCommand.ROUTER_MONITORING_ENABLE));
    return generateConfigItems(monitorService);
}
Also used : SetMonitorServiceCommand(com.cloud.agent.api.routing.SetMonitorServiceCommand) MonitorService(com.cloud.agent.resource.virtualnetwork.model.MonitorService)

Aggregations

SetMonitorServiceCommand (com.cloud.agent.api.routing.SetMonitorServiceCommand)1 MonitorService (com.cloud.agent.resource.virtualnetwork.model.MonitorService)1