2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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
8 package org.opendaylight.netvirt.elan.l2gw.ha.handlers;
10 import org.opendaylight.mdsal.binding.api.DataObjectModification;
11 import org.opendaylight.mdsal.binding.util.Datastore.Configuration;
12 import org.opendaylight.mdsal.binding.util.Datastore.Operational;
13 import org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction;
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;
18 public interface IHAEventHandler {
21 void copyChildGlobalOpUpdateToHAParent(InstanceIdentifier<Node> haPath,
22 DataObjectModification<Node> mod,
23 TypedReadWriteTransaction<Operational> tx);
25 void copyChildPsOpUpdateToHAParent(Node updatedSrcPSNode,
26 InstanceIdentifier<Node> haPath,
27 DataObjectModification<Node> mod,
28 TypedReadWriteTransaction<Operational> tx);
30 void copyHAPSUpdateToChild(InstanceIdentifier<Node> haChildPath,
31 DataObjectModification<Node> mod,
32 TypedReadWriteTransaction<Configuration> tx)
35 void copyHAGlobalUpdateToChild(InstanceIdentifier<Node> haChildPath,
36 DataObjectModification<Node> mod,
37 TypedReadWriteTransaction<Configuration> tx)