1 package org.opendaylight.ovsdb.openstack.netvirt.api;
5 import org.opendaylight.neutron.spi.NeutronSecurityGroup;
6 import org.opendaylight.neutron.spi.Neutron_IPs;
9 * This interface allows egress Port Security flows to be written to devices
11 public interface EgressAclProvider {
14 * Program port security ACL.
16 * @param dpid the dpid
17 * @param segmentationId the segmentation id
18 * @param attachedMac the attached mac
19 * @param localPort the local port
20 * @param securityGroup the security group
22 void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
23 long localPort, NeutronSecurityGroup securityGroup);
25 * Program fixed egress ACL rules that will be associated with the VM port when a vm is spawned.
27 * @param dpid the dpid
28 * @param segmentationId the segmentation id
29 * @param attachedMac the attached mac
30 * @param localPort the local port
31 * @param srcAddressList the list of source ip address assigned to vm
32 * @param isLastPortinBridge is this the last port in the bridge
33 * @param isComputePort indicates whether this port is a compute port or not
34 * @param write is this flow writing or deleting
36 void programFixedSecurityACL(Long dpid, String segmentationId, String attachedMac,
37 long localPort, List<Neutron_IPs> srcAddressList, boolean isLastPortinBridge, boolean isComputePort, boolean write);