DataAccessor.fields(portObj).withKey(PortConstants.FIELD_BIND_ADDR).set(spec.getIpAddress()); } else { portObj.setPublicIpAddressId(publicIpAddressId); DataAccessor.fields(port).withKey(PortConstants.FIELD_BIND_ADDR).set(spec.getIpAddress()); } else { port.setPublicIpAddressId(publicIpAddressId);