diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts new file mode 100644 index 000000000..c5cc0bb6d --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts @@ -0,0 +1,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[]; +} |