]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/models/crush-rule.ts
import quincy beta 17.1.0
[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 {
f6b5b4d7 4 usable_size?: number;
11fdf7f2 5 rule_id: number;
20effc67 6 type: number;
11fdf7f2 7 rule_name: string;
11fdf7f2
TL
8 steps: CrushStep[];
9}
9f95a23c
TL
10
11export class CrushRuleConfig {
12 root: string; // The name of the node under which data should be placed.
13 name: string;
14 failure_domain: string; // The type of CRUSH nodes across which we should separate replicas.
15 device_class?: string; // The device class data should be placed on.
16}