+ InstanceIdentifier<Node> physicalSwitchNodeId, InstanceIdentifier<Node> globalNodeId, IfTunnel ifTunnel) {
+ this.key = key;
+ this.interfaceNew = interfaceNew;
+ this.physicalSwitchNodeId = physicalSwitchNodeId;
+ this.globalNodeId = globalNodeId;
+ this.ifTunnel = ifTunnel;
+ }
+
+ @Override
+ public List<ListenableFuture<Void>> call() throws Exception {
+ return HwVTEPInterfaceConfigAddHelper.addConfiguration(dataBroker,
+ physicalSwitchNodeId, globalNodeId, interfaceNew, ifTunnel);
+ }
+ }
+
+ private class RendererConfigUpdateWorker implements Callable<List<ListenableFuture<Void>>> {
+ InstanceIdentifier<Interface> key;
+ Interface interfaceNew;
+ InstanceIdentifier<Node> globalNodeId;
+ InstanceIdentifier<Node> physicalSwitchNodeId;
+ IfTunnel ifTunnel;
+
+ public RendererConfigUpdateWorker(InstanceIdentifier<Interface> key, Interface interfaceNew,
+ InstanceIdentifier<Node> physicalSwitchNodeId, InstanceIdentifier<Node> globalNodeId, IfTunnel ifTunnel) {