@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof NetworkDevice)) return false;

        NetworkDevice that = (NetworkDevice) o;

        if (!hostname.equals(that.hostname)) return false;
        if (!id.equals(that.id)) return false;
        if (!ipAddressOAM.equals(that.ipAddressOAM)) return false;
        if (!model.equals(that.model)) return false;
        if (!type.equals(that.type)) return false;
        if (!vendor.equals(that.vendor)) return false;

        return true;
    }