summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/nodeInstance.ts
blob: 1967fd80d2d78f26071529278e8cb267465153ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import {ServiceInstanceActions} from "./serviceInstanceActions";
import {ModelInfo} from "./modelInfo";

export class NodeInstance {
  instanceName: string;
  instanceType?: string;
  orchStatus?:string;
  action: ServiceInstanceActions = ServiceInstanceActions.Create;
  originalAction : ServiceInstanceActions;
  modelInfo?: ModelInfo;
  instanceId?: string;
  trackById?: string;
  isFailed?: boolean;
}
export class ChildNodeInstance extends NodeInstance {
  isMissingData: boolean;
  provStatus?:string;
  inMaint?:boolean;
  constructor() {
    super();
    this.inMaint = false;
  }
}