2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.netconf.topology.pipeline;
11 import com.google.common.base.Optional;
12 import org.opendaylight.controller.md.sal.common.api.TransactionStatus;
13 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
14 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
15 import org.opendaylight.netconf.topology.util.messages.NormalizedNodeMessage;
16 import org.opendaylight.yangtools.yang.common.RpcResult;
17 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
18 import scala.concurrent.Future;
20 public interface ProxyNetconfDeviceDataBroker extends DOMDataBroker{
21 Future<Optional<NormalizedNodeMessage>> read(LogicalDatastoreType store, YangInstanceIdentifier path);
23 Future<Boolean> exists(LogicalDatastoreType store, YangInstanceIdentifier path);
25 void put(LogicalDatastoreType store, NormalizedNodeMessage data);
27 void merge(LogicalDatastoreType store, NormalizedNodeMessage data);
29 void delete(LogicalDatastoreType store, YangInstanceIdentifier path);
33 Future<Void> submit();
36 Future<RpcResult<TransactionStatus>> commit();