Просмотр исходного кода

Merge pull request #4888 from jvanderaa/napalm_lookup_hostname

Removes IP Address Check for NAPALM Information Gathering
Jeremy Stretch 5 лет назад
Родитель
Сommit
d39cda2e45
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      netbox/templates/dcim/device.html

+ 0 - 2
netbox/templates/dcim/device.html

@@ -108,8 +108,6 @@
                 {% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No platform assigned to this device' %}
             {% elif not device.platform.napalm_driver %}
                 {% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No NAPALM driver assigned for this platform' %}
-            {% elif not device.primary_ip %}
-                {% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No primary IP address assigned to this device' %}
             {% else %}
                 {% include 'dcim/inc/device_napalm_tabs.html' %}
             {% endif %}