blob: e1e31ed20fa800771140d7a00a6d5a932d8f27b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { CrushStep } from './crush-step';
export class CrushRule {
usable_size?: number;
rule_id: number;
type: number;
rule_name: string;
steps: CrushStep[];
}
export class CrushRuleConfig {
root: string; // The name of the node under which data should be placed.
name: string;
failure_domain: string; // The type of CRUSH nodes across which we should separate replicas.
device_class?: string; // The device class data should be placed on.
}
|