Bug 5268 - Handle l3vpn delete and recreate scenario
[vpnservice.git] / vpnmanager / vpnmanager-impl / src / main / java / org / opendaylight / vpnservice / VpnUtil.java
index cbd29917a46ed52e834626f5f12beef070773bd7..67ad13b84ae3cd0dd150e0c9b5b3fe6b22ed1cf7 100644 (file)
@@ -83,10 +83,9 @@ public class VpnUtil {
                 .child(VpnInstance.class, new VpnInstanceKey(vpnName)).build();
     }
 
-    static VpnInterface getVpnInterface(String intfName, String vpnName, Adjacencies aug, boolean opState) {
+    static VpnInterface getVpnInterface(String intfName, String vpnName, Adjacencies aug) {
         return new VpnInterfaceBuilder().setKey(new VpnInterfaceKey(intfName)).setVpnInstanceName(vpnName)
                 .addAugmentation(Adjacencies.class, aug)
-                .addAugmentation(OpState.class, new OpStateBuilder().setStateUp(opState).build())
                 .build();
     }