return false; if (!Objects.equals(_ipAddress, other.getIpAddress())) { return false;
BigInteger dpnID = vteps.getDpnId(); String port = vteps.getPortname(); IpAddress ipAddress = vteps.getIpAddress(); LOG.trace("DpnID: {}, port: {}, ipAddress: {}", dpnID, port, ipAddress); TunnelEndPoints tunnelEndPoints =
public VtepsBuilder(Vteps base) { if (base.getKey() == null) { this._key = new VtepsKey( base.getDpnId(), base.getPortname() ); this._dpnId = base.getDpnId(); this._portname = base.getPortname(); } else { this._key = base.getKey(); this._dpnId = _key.getDpnId(); this._portname = _key.getPortname(); } this._ipAddress = base.getIpAddress(); if (base instanceof VtepsImpl) { VtepsImpl impl = (VtepsImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rev160406.transport.zones.transport.zone.subnets.Vteps> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rev160406.transport.zones.transport.zone.subnets.Vteps>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
.getPrefix().getIpv4Prefix().getValue(), sub.getGatewayIp().getIpv4Address() .getValue(), sub.getVlanId().toString(), vtep.getDpnId().toString(), vtep .getIpAddress().getIpv4Address().getValue(), vtep.getPortname().toString()));
if (vtepOptional.isPresent()) { vtepCli = vtepOptional.get(); if(vtepCli.getIpAddress().equals(ipAddressObj)){ InstanceIdentifier<Subnets> spath = InstanceIdentifier
IpAddress ipAddress = vtep.getIpAddress(); tepCommandHelper.deleteVtep(dpnId, vtep.getPortname(), schema.getVlanId(), String.valueOf(ipAddress.getValue()), subnetCidr, gatewayIp, schema.getTransportZoneName());
if(vtep.getIpAddress().equals(hwTep.getHwIp())) continue; if(!wireUp(hwTep.getTopo_id(), hwTep.getNode_id(), hwTep.getHwIp(), cssID, vtep.getIpAddress(), hwTep.getIpPrefix(), hwTep.getGatewayIP(), sub.getPrefix(), tunType,monitorEnabled, monitorProtocol, ITMConstants.BFD_DEFAULT_MONITOR_INTERVAL, idManagerService, dataBroker, futures, t )) logger.error("Unable to build tunnel {} -- {}", hwTep.getHwIp(), vtep.getIpAddress()); if(!wireUp(vtep.getDpnId(), vtep.getPortname(), sub.getVlanId(), vtep.getIpAddress(), hwTep.getNode_id(),hwTep.getHwIp(),sub.getPrefix(), sub.getGatewayIp(),hwTep.getIpPrefix(), tunType,monitorEnabled,monitorProtocol, ITMConstants.BFD_DEFAULT_MONITOR_INTERVAL,idManagerService, dataBroker, futures, t ));
deleteTrunksCSSTOR(dataBroker, idManagerService, vtep.getDpnId(), parentIf, vtep.getIpAddress(), hwTep.getTopo_id(), hwTep.getNode_id(), hwTep.getHwIp(), originalTZone.getTunnelType(), t, futures);