summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/model/organizational-unit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole3/frontend/src/app/model/organizational-unit.ts')
-rw-r--r--admin/WebConsole3/frontend/src/app/model/organizational-unit.ts65
1 files changed, 40 insertions, 25 deletions
diff --git a/admin/WebConsole3/frontend/src/app/model/organizational-unit.ts b/admin/WebConsole3/frontend/src/app/model/organizational-unit.ts
index 87fbe9c7..c479a43c 100644
--- a/admin/WebConsole3/frontend/src/app/model/organizational-unit.ts
+++ b/admin/WebConsole3/frontend/src/app/model/organizational-unit.ts
@@ -1,25 +1,40 @@
-import { Resource } from 'globunet-angular/core/models/api/resource';
-import {Client} from './client';
-
-export class OrganizationalUnit extends Resource {
- name: string;
- capacity: number;
- defclients: number;
- inremotepc: boolean;
- projector: boolean;
- board: boolean;
- description: string;
- routerip: string;
- netmask: string;
- dns: string;
- ntp: string;
- proxyurl: string;
- mcastmode: string[] = ['full-duplex', 'half-duplex'];
- mcastip: string;
- mcastport: number;
- mcastspeed: number;
- p2pmode: string;
- p2ptime: number;
- parent: string;
- clients?: Client[];
-}
+import { Resource } from 'globunet-angular/core/models/api/resource';
+import {Client} from './client';
+
+export class NetworkSettings {
+ router = '';
+ netmask = '';
+ proxy = '';
+ dns = '';
+ ntp = '';
+ mcastMode = '';
+ mcastIp = '';
+ mcastSpeed = 100;
+ mcastPort = 9000;
+ p2pMode = '';
+ p2pTime = 60;
+}
+
+export class OrganizationalUnit extends Resource {
+ name: string;
+ capacity: number;
+ defclients: number;
+ inremotepc: boolean;
+ projector: boolean;
+ board: boolean;
+ description: string;
+ routerip: string;
+ netmask: string;
+ dns: string;
+ ntp: string;
+ proxyurl: string;
+ mcastmode: string[] = ['full-duplex', 'half-duplex'];
+ mcastip: string;
+ mcastport: number;
+ mcastspeed: number;
+ p2pmode: string;
+ p2ptime: number;
+ parent: string;
+ clients?: Client[];
+ networkSettings?: NetworkSettings;
+}