{% load helpers %} {% include 'inc/messages.html' %} {% if request.htmx %} {% include "netbox_librenms_plugin/inc/_sync_cache_countdown.html" with cache_expiry=ip_sync.cache_expiry cache_container_id="ip-cache-countdown" cache_countdown_id="ip-countdown-timer" cache_oob=True %} {% endif %} {% if ip_sync.table %} {# Migrated donors must not sync: hiding only the button leaves the POST form live (Enter in a filter still submits), so drop the form in migrated mode. #} {% with model_name=ip_sync.object|meta:"model_name" %} {% if migrated_to_marker %}
No IP address data loaded. Click Refresh IP Addresses to fetch data from LibreNMS.
Re-home a donor interface-assigned IP to the winner's same-named interface (move the interface first if it doesn't exist on the winner yet).
| IP Address | Interface | Migrate |
|---|---|---|
| {{ ip.address }} | {{ ip.interface_name|default:"-" }} | {% include "netbox_librenms_plugin/inc/_migrate_move_button.html" with move_url_name="plugins:netbox_librenms_plugin:ipaddress_move_to_winner" obj_id=ip.id obj_label=ip.address entity_word="IP" obj_interface_name=ip.interface_name winner=migrated_to_winner server_key=migrated_to_marker.server_key|default:ip_sync.server_key %} |