mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Merge pull request #12955 from swordqiu/hotfix/qj-show-ovn-mapped-ip-in-host-list
fix: show host ovn_mapped_ip_addr
This commit is contained in:
@@ -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详情
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user