2 Copyright 2020 TATA ELXSI
4 Licensed under the Apache License, Version 2.0 (the 'License');
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
19 * @file Model for NSD related information.
21 // tslint:disable: completed-docs
22 import { VNFDAdminDetails } from './VNFDModel';
24 /** Interface for NSData */
25 export interface NSData {
34 /** Interface for the nscompose descriptors content */
35 export interface NSDDetails {
36 'connection-point': CONNECTIONPOINT[];
37 'constituent-vnfd': CONSTITUENTVNFD[];
44 _admin: VNFDAdminDetails;
47 'constituent-vnfr-ref': string[];
48 'virtual-link-desc': VLD[];
54 /** Interface for the connection-point */
55 export interface CONNECTIONPOINT {
60 /** Interface for the constituent-vnfd */
61 export interface CONSTITUENTVNFD {
62 'member-vnf-index': number;
63 'vnfd-id-ref': string;
66 /** Interface for the vld */
67 export interface VLD {
69 'mgmt-network'?: boolean;
72 /** Interface Nodes Creation */
73 export interface COMPOSERNODES {
86 /** Interface for the Tick */
87 export interface Tick {
94 /** Interface for the Path */
95 export interface TickPath {
103 /** Interface for the GRAPHDETAILS */
104 export interface GRAPHDETAILS {
116 sourcePaddingYes: number;
117 sourcePaddingNo: number;
118 targetPaddingYes: number;
119 targetPaddingNo: number;
123 shiftKeyCode: number;
126 /** Interface for the NS Create params */
127 export interface NSCREATEPARAMS {
129 nsDescription: string;
131 vimAccountId: string;
136 /** Interface for the NSI Create params */
137 export interface NSICREATEPARAMS {
139 nsDescription: string;
141 vimAccountId: string;
142 'netslice-vld': string;
146 /** Interface for the VDU Primitive Levels */
147 export interface VDUPRIMITIVELEVEL {
150 'vdu-configuration': {};
153 /** Interface for the KDU Primitive Levels */
154 export interface KDUPRIMITIVELEVEL {
156 'juju-bundle': string;
157 'kdu-configuration': {};
160 /** Interface for the DF */
161 export interface DF {
163 'vnf-profile': VNFPROFILE[];
166 /** Interface for the DF */
167 export interface VNFPROFILE {
169 'virtual-link-connectivity': VLC[];
173 /** Interface for the VLC */
174 export interface VLC {
175 'constituent-cpd-id': CCI[];
176 'virtual-link-profile-id': string;
179 /** Interface for the CCI */
180 export interface CCI {
181 'constituent-base-element-id': string;
182 'constituent-cpd-id': string;
184 /** Interface for NSDATACREATION */
185 export interface NSDATACREATION {
188 /** Interface for NSDETAILDATA */
189 export interface NSDETAILDATA {