]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/models/crush-rule.ts
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / models / crush-rule.ts
CommitLineData
11fdf7f2
TL
1import { CrushStep } from './crush-step';
2
3export class CrushRule {
4 max_size: number;
f6b5b4d7 5 usable_size?: number;
11fdf7f2
TL
6 min_size: number;
7 rule_id: number;
8 rule_name: string;
9 ruleset: number;
10 steps: CrushStep[];
11}
9f95a23c
TL
12
13export class CrushRuleConfig {
14 root: string; // The name of the node under which data should be placed.
15 name: string;
16 failure_domain: string; // The type of CRUSH nodes across which we should separate replicas.
17 device_class?: string; // The device class data should be placed on.
18}