blob: 1967fd80d2d78f26071529278e8cb267465153ce [file] [log] [blame]
Ittay Stern6f900cc2018-08-29 17:01:32 +03001import {ServiceInstanceActions} from "./serviceInstanceActions";
2import {ModelInfo} from "./modelInfo";
3
4export class NodeInstance {
5 instanceName: string;
Ittay Sternf7926712019-07-07 19:23:03 +03006 instanceType?: string;
Ittay Stern6f900cc2018-08-29 17:01:32 +03007 orchStatus?:string;
8 action: ServiceInstanceActions = ServiceInstanceActions.Create;
9 originalAction : ServiceInstanceActions;
10 modelInfo?: ModelInfo;
11 instanceId?: string;
12 trackById?: string;
Ittay Sternf7926712019-07-07 19:23:03 +030013 isFailed?: boolean;
Ittay Stern6f900cc2018-08-29 17:01:32 +030014}
15export class ChildNodeInstance extends NodeInstance {
16 isMissingData: boolean;
17 provStatus?:string;
18 inMaint?:boolean;
19 constructor() {
20 super();
21 this.inMaint = false;
22 }
23}