use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev200120.TriggerSyncArgs in project bgpcep by opendaylight.
the class Stateful07TopologySessionListener method triggerResyncronization.
private ListenableFuture<OperationResult> triggerResyncronization(final TriggerSyncArgs input) {
LOG.trace("Trigger Resynchronization {}", input);
markAllLspAsStale();
updatePccState(PccSyncState.PcepTriggeredResync);
final PcupdMessageBuilder pcupdMessageBuilder = new PcupdMessageBuilder(MESSAGE_HEADER);
final SrpIdNumber srpIdNumber = createUpdateMessageSync(pcupdMessageBuilder);
final Message msg = new PcupdBuilder().setPcupdMessage(pcupdMessageBuilder.build()).build();
return sendMessage(msg, srpIdNumber, null);
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev200120.TriggerSyncArgs in project bgpcep by opendaylight.
the class Stateful07TopologySessionListener method triggerSynchronization.
private ListenableFuture<OperationResult> triggerSynchronization(final TriggerSyncArgs input) {
LOG.trace("Trigger Initial Synchronization {}", input);
final PcupdMessageBuilder pcupdMessageBuilder = new PcupdMessageBuilder(MESSAGE_HEADER);
final SrpIdNumber srpIdNumber = createUpdateMessageSync(pcupdMessageBuilder);
final Message msg = new PcupdBuilder().setPcupdMessage(pcupdMessageBuilder.build()).build();
return sendMessage(msg, srpIdNumber, null);
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev200120.TriggerSyncArgs in project bgpcep by opendaylight.
the class PCEPTopologySessionListener method triggerSynchronization.
private ListenableFuture<OperationResult> triggerSynchronization(final TriggerSyncArgs input) {
LOG.trace("Trigger Initial Synchronization {}", input);
final PcupdMessageBuilder pcupdMessageBuilder = new PcupdMessageBuilder(MESSAGE_HEADER);
final SrpIdNumber srpIdNumber = createUpdateMessageSync(pcupdMessageBuilder);
final Message msg = new PcupdBuilder().setPcupdMessage(pcupdMessageBuilder.build()).build();
return sendMessage(msg, srpIdNumber, null);
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev200120.TriggerSyncArgs in project bgpcep by opendaylight.
the class PCEPTopologySessionListener method triggerResyncronization.
private ListenableFuture<OperationResult> triggerResyncronization(final TriggerSyncArgs input) {
LOG.trace("Trigger Resynchronization {}", input);
markAllLspAsStale();
updatePccState(PccSyncState.PcepTriggeredResync);
final PcupdMessageBuilder pcupdMessageBuilder = new PcupdMessageBuilder(MESSAGE_HEADER);
final SrpIdNumber srpIdNumber = createUpdateMessageSync(pcupdMessageBuilder);
final Message msg = new PcupdBuilder().setPcupdMessage(pcupdMessageBuilder.build()).build();
return sendMessage(msg, srpIdNumber, null);
}
Aggregations