Bug 7445: Improve the performance on bulk create.
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / netvirt / openstack / netvirt / api / IngressAclProvider.java
index 950a3d284cd6ca9d854f67dfbbd652a6951c8217..021f930972a54afb1f749b961c38cbeac1ea7b13 100644 (file)
@@ -39,14 +39,13 @@ public interface IngressAclProvider {
      * @param dpid the dpid
      * @param segmentationId the segmentation id
      * @param attachedMac the attached mac
-     * @param localPort the local port
      * @param portSecurityRule the security rule
+     * @param securityGroup the security group
      * @param vmIp the ip of the remote vm if it has a remote security group.
      * @param write  is this flow write or delete
      */
-    void programPortSecurityRule(Long dpid, String segmentationId, String attachedMac,
-                                 long localPort, NeutronSecurityRule portSecurityRule,
-                                 Neutron_IPs vmIp, boolean write);
+    void programPortSecurityRule(Long dpid, String segmentationId, String attachedMac, NeutronSecurityRule portSecurityRule,
+                                     NeutronSecurityGroup securityGroup, Neutron_IPs vmIp, boolean write);
     /**
      * Program fixed ingress ACL rules that will be associated with the VM port when a vm is spawned.
      * *