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 import { VNFDAdminDetails } from './VNFDModel';
23 /** Interface for NSData */
24 export interface NSData {
33 /** Interface for the nscompose descriptors content */
34 export interface NSDDetails {
35 'connection-point': CONNECTIONPOINT[];
42 _admin: VNFDAdminDetails;
45 'constituent-vnfr-ref': string[];
46 'virtual-link-desc': VLD[];
52 /** Interface for the connection-point */
53 export interface CONNECTIONPOINT {
58 /** Interface for the vld */
59 export interface VLD {
61 'mgmt-network'?: boolean;
64 /** Interface Nodes Creation */
65 export interface COMPOSERNODES {
78 /** Interface for the Tick */
79 export interface Tick {
86 /** Interface for the Path */
87 export interface TickPath {
95 /** Interface for the GRAPHDETAILS */
96 export interface GRAPHDETAILS {
108 sourcePaddingYes: number;
109 sourcePaddingNo: number;
110 targetPaddingYes: number;
111 targetPaddingNo: number;
115 shiftKeyCode: number;
118 /** Interface for the NS Create params */
119 export interface NSCREATEPARAMS {
121 nsDescription: string;
123 vimAccountId: string;
128 /** Interface for the NSI Create params */
129 export interface NSICREATEPARAMS {
131 nsDescription: string;
133 vimAccountId: string;
134 'netslice-vld': string;
138 /** Interface for the VDU Primitive Levels */
139 export interface VDUPRIMITIVELEVEL {
142 'vdu-configuration': {};
145 /** Interface for the KDU Primitive Levels */
146 export interface KDUPRIMITIVELEVEL {
148 'juju-bundle': string;
149 'kdu-configuration': {};
152 /** Interface for the DF */
153 export interface DF {
155 'vnf-profile': VNFPROFILE[];
158 /** Interface for the DF */
159 export interface VNFPROFILE {
161 'virtual-link-connectivity': VLC[];
165 /** Interface for the VLC */
166 export interface VLC {
167 'constituent-cpd-id': CCI[];
168 'virtual-link-profile-id': string;
171 /** Interface for the CCI */
172 export interface CCI {
173 'constituent-base-element-id': string;
174 'constituent-cpd-id': string;
176 /** Interface for NSDATACREATION */
177 export interface NSDATACREATION {
180 /** Interface for NSDETAILDATA */
181 export interface NSDETAILDATA {