{% extends "master.html" %} {% from "_formhelpers.html" import render_field_in_row %} {% block title %}Host{% endblock %} {%block tag %}home{% endblock %} {% block header %} {% endblock %} {% block content %}

Host {{ host.name }}
{{ form.csrf_token }}

Back to {{ host.site.name }}

{{ render_field_in_row(form.name, after="FQDN of server as seen by a public end user") }} {% if is_admin %} {{ render_field_in_row(form.admin_active, after="Uncheck this box to temporarily disable this host, it will be removed from public listings.") }} {% endif %} {{ render_field_in_row(form.user_active, after="Uncheck this box to temporarily disable this host, it will be removed from public listings.") }} {{ render_field_in_row(form.disable_reason) }} {{ render_field_in_row(form.country, after="2-letter ISO country code") }} {{ render_field_in_row(form.bandwidth_int, after="integer megabits/sec, how much bandwidth this host can serve") }} {{ render_field_in_row(form.private, after="e.g. not available to the public, an internal private mirror") }} {{ render_field_in_row(form.internet2, after="on Internet2") }} {{ render_field_in_row(form.internet2_clients, after="serves Internet2 clients, even if private") }} {{ render_field_in_row(form.asn, after="Autonomous System Number, used in BGP routing tables.") }} {{ render_field_in_row(form.asn_clients, after="Serve all clients from the same ASN. Used for ISPs, companies, or schools, not personal networks.") }} {{ render_field_in_row(form.robot_email, after="email address, will receive notice of upstream content updates") }} {{ render_field_in_row(form.comment, after="text, anything else you'd like a public end user to know about your mirror") }} {{ render_field_in_row(form.max_connections, after="Maximum parallel download connections per client, suggested via metalinks.") }}

{{ form.csrf_token }}

{% if host.private %}Last Checked In: {{ host.last_checked_in or '-' }}
{% endif %} {% if not host.private %}Last Crawled: {% if host.last_crawled %} {{ host.last_crawled }} [Log] {% else %} - {% endif %}
Last Crawl Duration: {{ host.last_crawl_duration }} seconds {% if host.crawl_failures > 0 %}
Number of consecutive crawl failures: {{ host.crawl_failures }} {% endif %}{% endif %}

{%- if config['MASTER_RSYNC_ACL'] -%}

Master rsync server Access Control List IPs

These host DNS names and/or IP addresses will be allowed to rsync from the master rsync/ftp servers. List here all the machines that you use for pulling.

[add] {% if host.acl_ips %} {% endif %} {%- endif -%}{# MASTER_RSYNC_ACL ##}

Site-local Netblocks

Netblocks are used to try to guide and end user to a site-specific mirror. For example, a university might list their netblocks, and the mirrorlist CGI would return the university-local mirror rather than a country-local mirror. Format is one of 18.0.0.0/255.0.0.0, 18.0.0.0/8, an IPv6 prefix/length, or a DNS hostname. Values must be public IP addresses (no RFC1918 private space addresses).

[add] {% if host.netblocks %} {% endif %}

Peer ASNs

Peer ASNs are used to guide an end user on nearby networks to our mirror. For example, a university might list their peer ASNs, and the mirrorlist CGI would return the university-local mirror rather than a country-local mirror. You must be in the MirrorManager administrators group in order to create new entries here.

{% if is_admin %} [add] {% endif %} {% if host.peer_asns %} {% endif %}

Countries Allowed

Some mirrors need to restrict themselves to serving only end users from their country. If you're one of these, list the 2-letter ISO code for the countries you will allow end users to be from. The mirrorlist CGI will honor this.

[add] {% if host.countries %} {% endif %}

Categories Carried

Hosts carry categories of software. Example Fedora categories include Fedora and Fedora Archive.

[add] {% if host.categories %} {% endif %} {% endblock %}