diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts new file mode 100644 index 000000000..4af9137de --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts @@ -0,0 +1,20 @@ +export class SysAPI { + vendor: string; + model: string; + size: number; + rotational: string; + human_readable_size: string; +} + +export class InventoryDevice { + hostname: string; + uid: string; + + path: string; + sys_api: SysAPI; + available: boolean; + rejected_reasons: string[]; + device_id: string; + human_readable_type: string; + osd_ids: number[]; +} |