{% extends "base.html" %} {% block title %}{{ device.name }} - Juniper Manager{% endblock %} {% block content %}

{{ device.name }} {{ device.hostname }}:{{ device.port }}

{% if current_user.role in ['admin', 'operator'] %} Add Policer {% endif %} Audit History Retry
{% if error %}
Could not load live data from this device: {{ error }}
{% endif %} {% if pending_log %}

⚠ There is an unconfirmed commit ({{ pending_log.confirm_minutes }}-minute safety timer, committed {{ pending_log.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} UTC by {{ pending_log.user.username if pending_log.user else 'unknown' }}). If it wasn't confirmed in time, the device may have already auto-reverted.

{% if current_user.role in ['admin', 'operator'] %}
{% endif %}
{% endif %} {% if facts %}

Facts

Hostname
{{ facts.hostname or "—" }}
Model
{{ facts.model or "—" }}
Junos Version
{{ facts.version or "—" }}
Serial
{{ facts.serialnumber or "—" }}
Uptime
{{ facts.uptime or "—" }}
{% endif %} {% if interfaces %}

Interfaces

{% for iface in interfaces %} {% endfor %}
NameAdminOperDescription
{{ iface.name }} {{ iface.admin_status }} {{ iface.oper_status }} {{ iface.description or "" }}
{% endif %} {% if config_text %}

Running Configuration

{% for line in config_text.splitlines() %}{{ line }}
{% endfor %}
{% endif %} {% endblock %}