Squashed commit of the following:
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / IngressAclProvider.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 import org.opendaylight.neutron.spi.NeutronSecurityGroup;
13
14 /**
15  *  This interface allows ingress Port Security flows to be written to devices
16  */
17 public interface IngressAclProvider {
18
19     /**
20      * Program port security ACL.
21      *
22      * @param node the node
23      * @param dpid the dpid
24      * @param segmentationId the segmentation id
25      * @param attachedMac the attached mac
26      * @param localPort the local port
27      * @param securityGroup the security group
28      */
29     public void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
30             long localPort, NeutronSecurityGroup securityGroup);
31 }