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