extras.customlink:1
| Name |
HTTPS (DNS)
|
|---|---|
| Enabled |
|
| Group name |
WebUI
|
| Weight |
100
|
| Button class |
Default
|
| New window |
|
| DCIM | device |
| Virtualization | virtual machine |
{% for service in object.services.all() %}
{% if 443 in service.ports %}
HTTPS WebUI
{% endif %}
{% endfor %}
{% for service in object.services.all() %}
{% if 443 in service.ports %}
{% set ip = service.ipaddresses.first() %}
{% if ip %}
https://{{ ip.dns_name if ip.dns_name else ip.address.ip }}
{% else %}
https://{{ object.primary_ip.address.ip }}
{% endif %}
{% endif %}
{% endfor %}