]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | export class CrushNode { |
2 | id: number; | |
3 | name: string; | |
4 | type: string; | |
5 | type_id: number; | |
6 | // For nodes with leafs (Buckets) | |
7 | children?: number[]; // Holds node id's of children | |
8 | // For non root nodes | |
9 | pool_weights?: object; | |
10 | // For leafs (Devices) | |
11 | device_class?: string; | |
12 | crush_weight?: number; | |
13 | exists?: number; | |
14 | primary_affinity?: number; | |
15 | reweight?: number; | |
16 | status?: string; | |
17 | } |