General Sonar clean-up
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / L2ForwardingProvider.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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  */
9
10 package org.opendaylight.ovsdb.openstack.netvirt.api;
11
12 /**
13  *  This interface allows L2Forwarding flows to be written to devices
14  */
15 public interface L2ForwardingProvider {
16     void programLocalUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
17     void programLocalVlanUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
18     void programLocalBcastOut(Long dpidLong, String segmentationId, Long localPort, boolean write);
19     void programLocalVlanBcastOut(Long dpidLong, String segmentationId, Long localPort, Long ethPort, boolean write);
20     void programLocalTableMiss(Long dpidLong, String segmentationId, boolean write);
21     void programLocalVlanTableMiss(Long dpidLong, String segmentationId, boolean write);
22     void programTunnelOut(Long dpidLong, String segmentationId, Long OFPortOut, String attachedMac, boolean write);
23     void programVlanOut(Long dpidLong, String segmentationId, Long ethPort, String attachedMac, boolean write);
24     void programTunnelFloodOut(Long dpidLong, String segmentationId, Long OFPortOut, boolean write);
25     void programVlanFloodOut(Long dpidLong, String segmentationId, Long ethPort, boolean write);
26     void programTunnelMiss(Long dpidLong, String segmentationId, boolean write);
27     void programVlanMiss(Long dpidLong, String segmentationId, Long ethPort, boolean write);
28 }