summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts
blob: c5cc0bb6d835f4957630806d6feb9d6795fabf3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { CrushNode } from './crush-node';
import { CrushRule } from './crush-rule';
import { ErasureCodeProfile } from './erasure-code-profile';

export class PoolFormInfo {
  pool_names: string[];
  osd_count: number;
  is_all_bluestore: boolean;
  bluestore_compression_algorithm: string;
  compression_algorithms: string[];
  compression_modes: string[];
  crush_rules_replicated: CrushRule[];
  crush_rules_erasure: CrushRule[];
  pg_autoscale_default_mode: string;
  pg_autoscale_modes: string[];
  erasure_code_profiles: ErasureCodeProfile[];
  used_rules: { [rule_name: string]: string[] };
  used_profiles: { [profile_name: string]: string[] };
  nodes: CrushNode[];
}