2 * Copyright (c) 2015 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.vpnservice.mdsalutil.interfaces;
10 import java.math.BigInteger;
11 import java.util.List;
12 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
13 import org.opendaylight.vpnservice.mdsalutil.FlowEntity;
14 import org.opendaylight.vpnservice.mdsalutil.GroupEntity;
16 public interface IMdsalApiManager {
18 public void installFlow(FlowEntity flowEntity);
20 public void removeFlow(FlowEntity flowEntity);
22 public void installGroup(GroupEntity groupEntity);
24 public void modifyGroup(GroupEntity groupEntity);
26 public void removeGroup(GroupEntity groupEntity);
28 public void sendPacketOut(BigInteger dpnId, int groupId, byte[] payload);
30 public void sendPacketOutWithActions(BigInteger dpnId, long groupId, byte[] payload, List<ActionInfo> actionInfos);
32 public void sendARPPacketOutWithActions(BigInteger dpnId, byte[] payload, List<ActionInfo> action_info);