diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts new file mode 100644 index 000000000..262d79c95 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts @@ -0,0 +1,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; +} |