summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts
blob: 262d79c95baec30e3398582c40f83700577cadf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { RbdConfigurationEntry } from '~/app/shared/models/configuration';

export class RbdFormModel {
  name: string;
  pool_name: string;
  namespace: string;
  data_pool: string;
  size: number;

  /* Striping */
  obj_size: number;
  stripe_unit: number;
  stripe_count: number;

  /* Configuration */
  configuration: RbdConfigurationEntry[];

  /* Deletion process */
  source?: string;

  enable_mirror?: boolean;
  mirror_mode?: string;

  schedule_interval: string;
  start_time: string;
}