summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts
blob: 4af9137de0881cc84e37ec0ac9f6d1c1875f541c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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[];
}