use of org.openkilda.server42.control.messaging.flowrtt.ActivateFlowMonitoringInfoData in project open-kilda by telstra.
the class YFlowCreateHubBolt method sendActivateFlowMonitoring.
@Override
public void sendActivateFlowMonitoring(@NonNull RequestedFlow flow) {
ActivateFlowMonitoringInfoData payload = RequestedFlowMapper.INSTANCE.toActivateFlowMonitoringInfoData(flow);
Message message = new InfoMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(HUB_TO_SERVER42_CONTROL_TOPOLOGY_SENDER.name(), getCurrentTuple(), new Values(flow.getFlowId(), message));
}
use of org.openkilda.server42.control.messaging.flowrtt.ActivateFlowMonitoringInfoData in project open-kilda by telstra.
the class YFlowUpdateHubBolt method sendActivateFlowMonitoring.
@Override
public void sendActivateFlowMonitoring(@NonNull RequestedFlow flow) {
ActivateFlowMonitoringInfoData payload = RequestedFlowMapper.INSTANCE.toActivateFlowMonitoringInfoData(flow);
Message message = new InfoMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(HUB_TO_SERVER42_CONTROL_TOPOLOGY_SENDER.name(), getCurrentTuple(), new Values(flow.getFlowId(), message));
}
use of org.openkilda.server42.control.messaging.flowrtt.ActivateFlowMonitoringInfoData in project open-kilda by telstra.
the class YFlowRerouteHubBolt method sendActivateFlowMonitoring.
@Override
public void sendActivateFlowMonitoring(@NonNull RequestedFlow flow) {
ActivateFlowMonitoringInfoData payload = RequestedFlowMapper.INSTANCE.toActivateFlowMonitoringInfoData(flow);
Message message = new InfoMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(HUB_TO_SERVER42_CONTROL_TOPOLOGY_SENDER.name(), getCurrentTuple(), new Values(flow.getFlowId(), message));
}
use of org.openkilda.server42.control.messaging.flowrtt.ActivateFlowMonitoringInfoData in project open-kilda by telstra.
the class FlowUpdateHubBolt method sendActivateFlowMonitoring.
@Override
public void sendActivateFlowMonitoring(@NonNull RequestedFlow flow) {
ActivateFlowMonitoringInfoData payload = RequestedFlowMapper.INSTANCE.toActivateFlowMonitoringInfoData(flow);
Message message = new InfoMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(HUB_TO_SERVER42_CONTROL_TOPOLOGY_SENDER.name(), getCurrentTuple(), new Values(flow.getFlowId(), message));
}
use of org.openkilda.server42.control.messaging.flowrtt.ActivateFlowMonitoringInfoData in project open-kilda by telstra.
the class FlowCreateHubBolt method sendActivateFlowMonitoring.
@Override
public void sendActivateFlowMonitoring(@NonNull RequestedFlow flow) {
ActivateFlowMonitoringInfoData payload = RequestedFlowMapper.INSTANCE.toActivateFlowMonitoringInfoData(flow);
Message message = new InfoMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(HUB_TO_SERVER42_CONTROL_TOPOLOGY_SENDER.name(), getCurrentTuple(), new Values(flow.getFlowId(), message));
}
Aggregations