fix: 网元列表查询同步更新网元状态
This commit is contained in:
@@ -14,7 +14,7 @@ type NeInfo struct {
|
||||
VendorName string `json:"vendorName"`
|
||||
Dn string `json:"dn"`
|
||||
NeAddress string `json:"neAddress"`
|
||||
Status string `json:"status"` // 0: 在线 1: 下线 2: 备用 3: 工程
|
||||
Status string `json:"status"` // 0: 在线 1: 下线 2: 备用 3: 待下发配置
|
||||
UpdateTime string `json:"updateTime"`
|
||||
HostIDs string `json:"hostIds"` // 网元主机ID组 数据格式(ssh,telnet,telnet)
|
||||
|
||||
@@ -24,5 +24,5 @@ type NeInfo struct {
|
||||
ServerState map[string]any `json:"serverState,omitempty"`
|
||||
|
||||
// 主机对象组
|
||||
Hosts []NeHost `json:"hosts,omitempty" binding:"hosts"`
|
||||
Hosts []NeHost `json:"hosts,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user