diff --git a/pkg/compute/models/hosts.go b/pkg/compute/models/hosts.go index 3574c59dbf..832ea66f29 100644 --- a/pkg/compute/models/hosts.go +++ b/pkg/compute/models/hosts.go @@ -185,10 +185,10 @@ type SHost struct { // 主机UUID Uuid string `width:"64" nullable:"true" list:"domain" update:"domain" create:"domain_optional"` - // 主机启动模式, 可能值位PXE和ISO + // 主机启动模式, 可能值为PXE和ISO BootMode string `width:"8" nullable:"true" list:"domain" update:"domain" create:"domain_optional"` - // IPv4地址,作为么有云vpc访问外网时的网关 + // IPv4地址,作为私有云vpc访问外网时的网关 OvnMappedIpAddr string `width:"16" charset:"ascii" nullable:"true" list:"user"` // UEFI详情 diff --git a/pkg/mcclient/modules/compute/mod_hosts.go b/pkg/mcclient/modules/compute/mod_hosts.go index 258f7a579b..2141803398 100644 --- a/pkg/mcclient/modules/compute/mod_hosts.go +++ b/pkg/mcclient/modules/compute/mod_hosts.go @@ -166,7 +166,7 @@ var ( func init() { Hosts = HostManager{modules.NewComputeManager("host", "hosts", - []string{"ID", "Name", "Access_mac", "Access_ip", "Ipmi_Ip", + []string{"ID", "Name", "Access_mac", "Access_ip", "Ipmi_Ip", "Ovn_Mapped_Ip_Addr", "Manager_URI", "Status", "enabled", "host_status", "Guests", "Running_guests",