summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/vnfTreeNode.ts
blob: b878d016e40329cc0a547059fdf9970c5883b3e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import {VfModuleTreeNode} from "./vfModuleTreeNode";
import {NetworkTreeNode} from "./networkTreeNode";
import {Level1Model} from "./nodeModel";
import {VnfInstance} from "./vnfInstance";
import {ServiceNodeTypes} from "./ServiceNodeTypes";

export class VnfTreeNode extends NetworkTreeNode{

  children: VfModuleTreeNode[];
  vnfStoreKey : string;

  constructor(instance: VnfInstance, vnfModel: Level1Model, vnfStoreKey : string){
    super(<any>instance, vnfModel, vnfStoreKey);
    this.type = ServiceNodeTypes.VF;
    this.vnfStoreKey = vnfStoreKey;
  }
}