.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();
}