{% extends "base.html" %} {% import "page.html" as page %} {% block content %}

主机管理 默认显示10条数据

{% for item in hosts %}
配置信息
内网IP: {{ item.ip_pool.IP }} 外网IP: {{ item.outerIP }}
弹性IP: {{ item.elasticIP }} 主机名: {{ item.hostname }}
CPU: {{ item.cpu }} 内存: {{ item.memory }}
存储: {{ item.disk }} 系统: {{ item.os }}
使用信息
{% if item.device != None %} {% else %} {% endif %}
使用部门: {{ item.user_dpt.name }}设备信息: {{ item.device.type }}{{ ' ' }}{{ item.device.sn }}{{ ' ' }}{{ item.device.brand.name }}{{ ' ' }}{{ item.device.model.name }}设备信息:
使用人: {{ item.users.name }} 所属部门: {{ item.owner_dpt.name }}
运维人员: {{ item.operator.name }} 主机模式: {{ item.host_model }}
服务: {{ item.service.name }} 位置: {{ item.cabinet.code }}
创建日期: {{ item.create_date }} 支付方式: {{ item.payment }}
状态: {{ item.status }} 备注: {{ item.comment }}
{% endfor %}
{% endblock %} {% block bottom_js %} {% endblock %}