summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/model/client.ts
diff options
context:
space:
mode:
authordevega <ma.devega@globunet.com>2019-05-13 10:58:04 +0200
committerdevega <ma.devega@globunet.com>2019-05-13 10:58:04 +0200
commitd619dddd6bc80694096090337e331dc51e7c5ea4 (patch)
treebe46a3b2acce9b617f77eca5fc4c06315be8f82f /admin/WebConsole3/frontend/src/app/model/client.ts
parentd624c25993a589197a09ca7998764bd7727eaf08 (diff)
parent992e7e507c33cde23b494cc3d5b3e1e24fab0480 (diff)
Merge remote-tracking branch 'origin/webconsole3' into webconsole3
Diffstat (limited to 'admin/WebConsole3/frontend/src/app/model/client.ts')
-rw-r--r--admin/WebConsole3/frontend/src/app/model/client.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/admin/WebConsole3/frontend/src/app/model/client.ts b/admin/WebConsole3/frontend/src/app/model/client.ts
index dbc9976e..8977e168 100644
--- a/admin/WebConsole3/frontend/src/app/model/client.ts
+++ b/admin/WebConsole3/frontend/src/app/model/client.ts
@@ -2,6 +2,20 @@ import { Resource } from 'globunet-angular/core/models/api/resource';
import {Repository} from './repository';
import {HardwareProfile} from './hardware-profile';
import {Netboot} from './netboot';
+import {PartitionInfo} from './image';
+
+export class Partition {
+ cacheContent: string;
+ filesystem: string;
+ id: number;
+ image: any;
+ numDisk: number;
+ numPartition: number;
+ osName: string;
+ partitionCode: string;
+ size: number;
+ usage: number;
+}
export class Client extends Resource {
public name = '';
@@ -15,8 +29,10 @@ export class Client extends Resource {
public oglive = null;
public netboot: Netboot = null;
public organizationalUnit: number;
+ public partitions?: PartitionInfo[]
// Variables temporales para la vista, no vienen del servidor
public status?: string;
public selected?: boolean;
+ public disksConfig?: any[];
}