Refactor ReconciliationServiceImpl
[openflowplugin.git] / applications / southbound-cli / src / main / java / org / opendaylight / openflowplugin / applications / southboundcli / ReconcileService.java
1 /*
2  * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.applications.southboundcli;
9
10 import com.google.common.util.concurrent.ListenableFuture;
11 import java.util.Set;
12 import org.eclipse.jdt.annotation.NonNullByDefault;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.app.reconciliation.service.rev180227.ReconcileOutput;
14 import org.opendaylight.yangtools.yang.common.RpcResult;
15 import org.opendaylight.yangtools.yang.common.Uint64;
16
17 @NonNullByDefault
18 public interface ReconcileService {
19
20     ListenableFuture<RpcResult<ReconcileOutput>> reconcile(Set<Uint64> nodes);
21
22     ListenableFuture<RpcResult<ReconcileOutput>> reconcileAll();
23 }