Bug 8398 - communication between two tenant network failed while using
[netvirt.git] / vpnservice / aclservice / api / src / main / java / org / opendaylight / netvirt / aclservice / api / utils / AclInterface.java
index d8e7374445578f69a62e768bab997d81a656e476..d71347efc7ab302ace524677b1feaeb933619a45 100644 (file)
@@ -30,6 +30,12 @@ public class AclInterface {
     /** The dp id. */
     BigInteger dpId;
 
+    /** Elan tag of the interface. */
+    Long elanId;
+
+    /** VPN Id of the interface. */
+    Long vpnId;
+
     /** The security groups. */
     List<Uuid> securityGroups;
 
@@ -37,7 +43,7 @@ public class AclInterface {
     List<AllowedAddressPairs> allowedAddressPairs;
 
     /** The port is marked for delete. */
-    Boolean isMarkedForDelete;
+    Boolean isMarkedForDelete = false;
 
     /**
      * Checks if is port security enabled.
@@ -120,6 +126,42 @@ public class AclInterface {
         this.dpId = dpId;
     }
 
+    /**
+     * Gets elan id.
+     *
+     * @return elan id of the interface
+     */
+    public Long getElanId() {
+        return elanId;
+    }
+
+    /**
+     * Sets elan id of the interface.
+     *
+     * @param elanId elan id of the interface
+     */
+    public void setElanId(Long elanId) {
+        this.elanId = elanId;
+    }
+
+    /**
+     * Gets vpn id.
+     *
+     * @return VPN Id of the interface
+     */
+    public Long getVpnId() {
+        return vpnId;
+    }
+
+    /**
+     * Sets VPN Id of the interface.
+     *
+     * @param vpnId VPN Id of the interface
+     */
+    public void setVpnId(Long vpnId) {
+        this.vpnId = vpnId;
+    }
+
     /**
      * Gets the security groups.
      *