This commit is contained in:
2024-04-16 14:26:06 +03:00
parent bc264c4d90
commit e7c968797b
298 changed files with 11066 additions and 398 deletions

View File

@@ -146,6 +146,9 @@ type ItemInterface struct {
// Network type
NetType string `json:"netType"`
// NodeID
NodeID int64 `json:"nodeId"`
// PCI slot
PCISlot int64 `json:"pciSlot"`
@@ -337,7 +340,7 @@ type RecordGW struct {
}
// List NATRules
type ListNatRule []ItemNATRule
type ListNATRule []ItemNATRule
// NAT config
type NATConfig struct {
@@ -348,7 +351,7 @@ type NATConfig struct {
Network string `json:"network"`
// Rules
Rules ListNatRule `json:"rules"`
Rules ListNATRule `json:"rules"`
}
// Main information about NAT
@@ -677,6 +680,12 @@ type ItemVINS struct {
// External IP
ExternalIP string `json:"externalIP"`
// Extnet ID
ExtnetId uint64 `json:"extnetId"`
// Free IPs
FreeIPs uint64 `json:"freeIPs"`
// Grid ID
GID uint64 `json:"gid"`