Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / elanmanager / elanmanager-impl / src / main / java / org / opendaylight / netvirt / elan / l2gw / ha / handlers / INodeCopier.java
1 /*
2  * Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. 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.netvirt.elan.l2gw.ha.handlers;
9
10 import com.google.common.base.Optional;
11 import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
12 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
13 import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
14 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
15 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
16
17 public interface INodeCopier {
18
19     void copyGlobalNode(Optional<Node> globalNodeOptional,
20                         InstanceIdentifier<Node> srcPath,
21                         InstanceIdentifier<Node> dstPath,
22                         LogicalDatastoreType logicalDatastoreType,
23                         ReadWriteTransaction tx) throws ReadFailedException;
24
25     void copyPSNode(Optional<Node> psNodeOptional,
26                     InstanceIdentifier<Node> srcPsPath,
27                     InstanceIdentifier<Node> dstPsPath,
28                     InstanceIdentifier<Node> dstGlobalPath,
29                     LogicalDatastoreType logicalDatastoreType,
30                     ReadWriteTransaction tx) throws ReadFailedException;
31 }