ACL services for OS/OVS
[netvirt.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.controller.networkconfig.neutron.NeutronSecurityGroup;
13 import org.opendaylight.controller.sal.core.Node;
14
15 /**
16  *  This interface allows Port Security flows to be written to devices
17  */
18 public interface IngressAclProvider {
19
20     /**
21      * Program port security ACL.
22      *
23      * @param node the node
24      * @param dpid the dpid
25      * @param segmentationId the segmentation id
26      * @param attachedMac the attached mac
27      * @param localPort the local port
28      * @param securityGroup the security group
29      */
30     public void programPortSecurityACL(Node node, Long dpid, String segmentationId, String attachedMac,
31             long localPort, NeutronSecurityGroup securityGroup);
32 }