v1.5.5
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,9 +1,5 @@
|
|||||||
## Version 1.5.4
|
## Version 1.5.5
|
||||||
|
|
||||||
### Feature
|
|
||||||
- Added cloudbroker/stack group of endpoints support. Added the possibility to get information about stacks (list handler) and about a specific stack by ID (get handler)
|
|
||||||
- Added cloudbroker/flipgroup group of endpoints support. Added the possibility to get information about flipgroup (list handler) and about a specific flipgroup by ID (get handler), add and remote compute, create, edit and delete flipgroup.
|
|
||||||
|
|
||||||
|
|
||||||
### Bugfix
|
### Bugfix
|
||||||
- Fixed the field image/models/history.guid, added a custom unmarshall. Fixed an error with get information about images (handlers - list, get) in cloudbroker
|
- Added missing field cloudbroker/sep/RecordPool/UsageLimit
|
||||||
|
- Fixed the field cloudbroker/sep/RecordConsumption/ByPool
|
||||||
@@ -24,10 +24,31 @@ type Total struct {
|
|||||||
UsageLimit uint64 `json:"usage_limit"`
|
UsageLimit uint64 `json:"usage_limit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ByPool struct {
|
||||||
|
|
||||||
|
// Disk count
|
||||||
|
DiskCount uint64 `json:"disk_count"`
|
||||||
|
|
||||||
|
// Disk usage
|
||||||
|
DiskUsage uint64 `json:"disk_usage"`
|
||||||
|
|
||||||
|
// Snapshot count
|
||||||
|
SnapshotCount uint64 `json:"snapshot_count"`
|
||||||
|
|
||||||
|
// Snapshot usage
|
||||||
|
SnapshotUsage uint64 `json:"snapshot_usage"`
|
||||||
|
|
||||||
|
// Usage
|
||||||
|
Usage uint64 `json:"usage"`
|
||||||
|
|
||||||
|
// Usage limit
|
||||||
|
UsageLimit uint64 `json:"usage_limit"`
|
||||||
|
}
|
||||||
|
|
||||||
// Main information about consumption
|
// Main information about consumption
|
||||||
type RecordConsumption struct {
|
type RecordConsumption struct {
|
||||||
// By pool
|
// By pool
|
||||||
ByPool map[string]interface{} `json:"byPool"`
|
ByPool map[string]ByPool `json:"byPool"`
|
||||||
|
|
||||||
// Total resource information
|
// Total resource information
|
||||||
Total Total `json:"total"`
|
Total Total `json:"total"`
|
||||||
@@ -70,6 +91,9 @@ type RecordPool struct {
|
|||||||
|
|
||||||
// List URIs
|
// List URIs
|
||||||
URIs ListURIs `json:"uris"`
|
URIs ListURIs `json:"uris"`
|
||||||
|
|
||||||
|
// Usage Limit
|
||||||
|
UsageLimit uint64 `json:"usage_limit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SEP config
|
// SEP config
|
||||||
|
|||||||
Reference in New Issue
Block a user