This commit is contained in:
2024-03-06 17:02:50 +03:00
parent 83bf1fb1fa
commit de9cca4053
49 changed files with 1962 additions and 720 deletions

View File

@@ -65,6 +65,10 @@ type ItemResourceConsumption struct {
// Reserved information
Reserved Reservation `json:"Reserved"`
// Resource limits
ResourceLimits ResourceLimits `json:"resourceLimits"`
// Resource group ID
RGID uint64 `json:"rgid"`
}
@@ -603,6 +607,9 @@ type ItemLB struct {
// List ACL
ACL ListACL `json:"acl"`
// BackendHAIP
BackendHAIP string `json:"backendHAIP"`
// List backends
Backends ListBackends `json:"backends"`
@@ -627,6 +634,9 @@ type ItemLB struct {
// External network ID
ExtNetID uint64 `json:"extnetId"`
// FrontendHAIP
FrontendHAIP string `json:"frontendHAIP"`
// List of frontends
Frontends ListFrontends `json:"frontends"`
@@ -687,8 +697,15 @@ type ListLB struct {
type ListAffinityGroup struct {
// Data
Data map[string][]uint64 `json:"data"`
Data []map[string]ListAffinityGroupItems `json:"data"`
// Entry count
EntryCount uint64 `json:"entryCount"`
}
type ListAffinityGroupItems []ItemAffinityGroup
type ItemAffinityGroup struct {
ID uint64 `json:"id"`
NodeID uint64 `json:"node_id"`
}