HEAD
Switch Port Control
Switch Port Control
{% for port_id, port in ports.items() %}
Port {{ port_id }}
{{ 'Down' if port.status == 'up' else 'Up' }}
{% endfor %}
=======
SNMP Control
{% if not interface_data %}
Enter Device IP Address:
{% endif %} {% if interface_data %}
Control Port
Select Port:
{% for port_oid, status in interface_data %}
Port {{ port_oid }}
{% endfor %}
Action:
Up
Down
Interface Data
{% for port_oid, status in interface_data %}
Port {{ port_oid }} - Status: {{ 'Up' if status == 1 else 'Down' }}
{% endfor %}
{% endif %} >>>>>>> fedfc7eaadfc1e9f3832c8b1336c310c1f4698b6