Part of lp.registry.scripts.distributionmirror_prober View In Hierarchy
Method | __init__ | Undocumented |
Method | probe | Probe distribution mirrors. |
Method | _sanity_check_mirror | Check that the given mirror is official and has an http_base_url. |
Method | _create_probe_record | Create a probe record for the given mirror with the given logfile. |
Parameters | content_type | The type of mirrored content, as a
MirrorContent . |
no_remote_hosts | If True, restrict access to localhost. | |
ignore_last_probe | If True, ignore the results of the last probe and probe again anyway. | |
max_mirrors | The maximum number of mirrors to probe. If None, no maximum. | |
notify_owner | Send failure notification to the owners of the mirrors. |