2016-03-01 11:23:03 -05:00
{% extends '_base.html' %}
{% block content %}
2017-07-26 11:24:19 -04:00
{% if settings.NETBOX_USERNAME or settings.NETBOX_PASSWORD %}
< div class = "alert alert-warning alert-dismissable" role = "alert" >
< button type = "button" class = "close" data-dismiss = "alert" aria-label = "Close" >
< span aria-hidden = "true" > × < / span >
< / button >
< strong > Warning:< / strong > The < code > NETBOX_USERNAME< / code > and < code > NETBOX_PASSWORD< / code > configuration parameters have been deprecated. Please replace them in configuration.py with < code > NAPALM_USERNAME< / code > and < code > NAPALM_PASSWORD< / code > .
< / div >
{% endif %}
2017-03-29 14:22:27 -04:00
{% include 'search_form.html' %}
2016-03-01 11:23:03 -05:00
< div class = "row" >
2016-12-09 16:23:11 -05:00
< div class = "col-sm-6 col-md-4" >
2016-06-15 10:59:34 -04:00
< div class = "panel panel-default" >
< div class = "panel-heading" >
2016-07-26 14:58:37 -04:00
< strong > Organization< / strong >
2016-06-15 10:59:34 -04:00
< / div >
< div class = "list-group" >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.site_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'dcim:site_list' %}" > Sites< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Geographic locations< / p >
< / div >
2016-07-26 14:58:37 -04:00
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.tenant_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'tenancy:tenant_list' %}" > Tenants< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Customers or departments< / p >
< / div >
< / div >
< / div >
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > DCIM< / strong >
< / div >
< div class = "list-group" >
2016-06-15 10:59:34 -04:00
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.rack_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'dcim:rack_list' %}" > Racks< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Equipment racks, optionally organized by group< / p >
< / div >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.device_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'dcim:device_list' %}" > Devices< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Rack-mounted network equipment, servers, and other devices< / p >
< / div >
< div class = "list-group-item" >
< h4 class = "list-group-item-heading" > Connections< / h4 >
< span class = "badge pull-right" > {{ stats.interface_connections_count }}< / span >
< p style = "padding-left: 20px;" > < a href = "{% url 'dcim:interface_connections_list' %}" > Interfaces< / a > < / p >
< span class = "badge pull-right" > {{ stats.console_connections_count }}< / span >
< p style = "padding-left: 20px;" > < a href = "{% url 'dcim:console_connections_list' %}" > Console< / a > < / p >
< span class = "badge pull-right" > {{ stats.power_connections_count }}< / span >
< p class = "list-group-item-text" style = "padding-left: 20px;" > < a href = "{% url 'dcim:power_connections_list' %}" > Power< / a > < / p >
2016-05-23 14:32:53 -04:00
< / div >
< / div >
2016-06-15 10:59:34 -04:00
< / div >
2017-08-21 17:17:01 -04:00
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > Virtualization< / strong >
< / div >
< div class = "list-group" >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.cluster_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'virtualization:cluster_list' %}" > Clusters< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Clusters of physical hosts in which VMs reside< / p >
2017-04-05 17:33:39 -04:00
< / div >
2017-08-21 17:17:01 -04:00
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.virtualmachine_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'virtualization:virtualmachine_list' %}" > Virtual Machines< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Virtual compute instances running inside clusters< / p >
2017-04-05 17:33:39 -04:00
< / div >
< / div >
2017-08-21 17:17:01 -04:00
< / div >
2016-06-15 10:59:34 -04:00
< / div >
2016-12-09 16:23:11 -05:00
< div class = "col-sm-6 col-md-4" >
2016-06-15 10:59:34 -04:00
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > IPAM< / strong >
< / div >
< div class = "list-group" >
< div class = "list-group-item" >
2016-07-27 14:13:07 -04:00
< span class = "badge pull-right" > {{ stats.vrf_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'ipam:vrf_list' %}" > VRFs< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Virtual routing and forwarding tables< / p >
< / div >
< div class = "list-group-item" >
2016-06-15 10:59:34 -04:00
< span class = "badge pull-right" > {{ stats.aggregate_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'ipam:aggregate_list' %}" > Aggregates< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Top-level IP allocations< / p >
< / div >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.prefix_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'ipam:prefix_list' %}" > Prefixes< / a > < / h4 >
< p class = "list-group-item-text text-muted" > IPv4 and IPv6 network assignments< / p >
< / div >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.ipaddress_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'ipam:ipaddress_list' %}" > IP Addresses< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Individual IPv4 and IPv6 addresses< / p >
< / div >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.vlan_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'ipam:vlan_list' %}" > VLANs< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Layer two domains, identified by VLAN ID< / p >
< / div >
< / div >
< / div >
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > Circuits< / strong >
< / div >
< div class = "list-group" >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.provider_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'circuits:provider_list' %}" > Providers< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Organizations which provide circuit connectivity< / p >
< / div >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.circuit_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'circuits:circuit_list' %}" > Circuits< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Communication links for Internet transit, peering, and other services< / p >
< / div >
< / div >
2016-03-01 11:23:03 -05:00
< / div >
2017-08-21 17:17:01 -04:00
{% if perms.secrets %}
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > Secrets< / strong >
< / div >
< div class = "list-group" >
< div class = "list-group-item" >
< span class = "badge pull-right" > {{ stats.secret_count }}< / span >
< h4 class = "list-group-item-heading" > < a href = "{% url 'secrets:secret_list' %}" > Secrets< / a > < / h4 >
< p class = "list-group-item-text text-muted" > Sensitive data (such as passwords) which has been stored securely< / p >
< / div >
< / div >
< / div >
{% endif %}
2016-05-23 14:32:53 -04:00
< / div >
2016-12-09 16:23:11 -05:00
< div class = "col-sm-6 col-md-4" >
2017-04-05 17:33:39 -04:00
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > Global Topology Maps< / strong >
2016-07-26 14:58:37 -04:00
< / div >
2017-04-05 17:33:39 -04:00
{% if topology_maps %}
< table class = "table table-hover panel-body" >
{% for tm in topology_maps %}
< tr >
< td > < i class = "fa fa-fw fa-map-o" > < / i > < a href = "{% url 'extras-api:topologymap-render' pk=tm.pk %}" target = "_blank" > {{ tm }}< / a > < / td >
< td > {{ tm.description }}< / td >
< / tr >
{% endfor %}
< / table >
{% else %}
< div class = "panel-body text-muted" >
None
< / div >
{% endif %}
< / div >
2016-05-23 14:32:53 -04:00
< div class = "panel panel-default" >
< div class = "panel-heading" >
< strong > Recent Activity< / strong >
2016-03-01 11:23:03 -05:00
< / div >
2016-06-15 10:59:34 -04:00
< div class = "list-group" >
2016-05-23 14:32:53 -04:00
{% for a in recent_activity %}
2016-06-15 10:59:34 -04:00
< div class = "list-group-item" >
{{ a.icon }} {{ a.message|safe }}< br / >
2016-06-22 13:22:59 -04:00
< small class = "text-muted" > {{ a.user }} - {{ a.time|date:'SHORT_DATETIME_FORMAT' }}< / small >
2016-06-15 10:59:34 -04:00
< / div >
2016-06-22 15:48:41 -04:00
{% empty %}
< div class = "list-group-item" >
Welcome to NetBox! {% if perms.add_site %} < a href = "{% url 'dcim:site_add' %}" > Add a site< / a > to get started.{% endif %}
< / div >
2016-05-23 14:32:53 -04:00
{% endfor %}
2016-06-15 10:59:34 -04:00
< / div >
2016-05-23 14:32:53 -04:00
< / div >
2016-03-01 11:23:03 -05:00
< / div >
< / div >
{% endblock %}