package org.opendaylight.ovsdb.openstack.netvirt.api;
+import java.util.List;
+
import org.opendaylight.neutron.spi.NeutronSecurityGroup;
+import org.opendaylight.neutron.spi.Neutron_IPs;
/**
* This interface allows egress Port Security flows to be written to devices
*/
public void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
long localPort, NeutronSecurityGroup securityGroup);
+ /**
+ * Program fixed egress ACL rules that will be associated with the VM port when a vm is spawned.
+ *
+ * @param dpid the dpid
+ * @param segmentationId the segmentation id
+ * @param attachedMac the attached mac
+ * @param localPort the local port
+ * @param srcAddressList the list of source ip address assigned to vm
+ * @param isLastPortinBridge is this the last port in the bridge
+ * @param isComputePort indicates whether this port is a compute port or not
+ * @param write is this flow writing or deleting
+ */
+ public void programFixedSecurityACL(Long dpid, String segmentationId,String attachedMac,
+ long localPort, List<Neutron_IPs> srcAddressList, boolean isLastPortinBridge, boolean isComputePort, boolean write);
}