{% endif %}
{% endwith %}
{% if 'wireless' in object.controller_managed_device_group.capabilities %}
{% comment %} Not placing a badge as we are using the controller_managed_device_groups count to see if there are any attached controller_managed_device_groups, but the count for wireless networks will be larger {% endcomment %}
Wireless
{% endif %}
{% if perms.dcim.napalm_read_device %}
{% if not object.platform %}
{% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No platform assigned to this device' %}
{% elif not object.platform.napalm_driver %}
{% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No NAPALM driver assigned for this platform' %}
{% else %}
{% include 'dcim/inc/device_napalm_tabs.html' %}
{% endif %}
{% endif %}
{% if perms.extras.view_configcontext %}