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