summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/api/rbd.model.ts
blob: d14b2bc40654fd148892ca2bd414be99319335e0 (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
27
28
29
30
import { RbdConfigurationEntry } from '../models/configuration';

export interface RbdPool {
  pool_name: string;
  status: number;
  value: RbdImage[];
  headers: any;
}

export interface RbdImage {
  disk_usage: number;
  stripe_unit: number;
  name: string;
  parent: any;
  pool_name: string;
  num_objs: number;
  block_name_prefix: string;
  snapshots: any[];
  obj_size: number;
  data_pool: string;
  total_disk_usage: number;
  features: number;
  configuration: RbdConfigurationEntry[];
  timestamp: string;
  id: string;
  features_name: string[];
  stripe_count: number;
  order: number;
  size: number;
}