blob: 316bf3e8b092e3f77324548b497f3fb82443b3b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import {VNFModel} from "./vnfModel";
import {VnfInstance} from "./vnfInstance";
import {VfModuleTreeNode} from "./vfModuleTreeNode";
export class VnfTreeNode {
modelId: string;
name: string;
modelName: string;
type: string;
children: VfModuleTreeNode[];
constructor(instance: VnfInstance, vnfModel: VNFModel){
this.name = instance.instanceName || vnfModel['properties'].ecomp_generated_naming == 'false' ? vnfModel.modelCustomizationName : '<Automatically Assigned>';
this.modelId = vnfModel.uuid;
this.modelName = vnfModel.modelCustomizationName;
this.type = vnfModel.type;
}
}
|