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

export class VnfTreeNode extends FirstLevelTreeNode {

  children: VfModuleTreeNode[];
  vnfStoreKey : string;

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