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.
22 import { VNFDAdminDetails } from './VNFDModel';
24 /** Interface for NSData */
25 export interface NSData {
38 /** Interface for the nscompose descriptors content */
39 export interface NSDDetails {
40 'connection-point': CONNECTIONPOINT[];
41 'constituent-vnfd': CONSTITUENTVNFD[];
50 _admin: VNFDAdminDetails;
52 'constituent-vnfr-ref': string[];
55 /** Interface for the connection-point */
56 export interface CONNECTIONPOINT {
61 /** Interface for the constituent-vnfd */
62 export interface CONSTITUENTVNFD {
63 'member-vnf-index': number;
64 'vnfd-id-ref': string;
67 /** Interface for the vld */
68 export interface VLD {
70 'mgmt-network': boolean;
72 'short-name'?: string;
74 'vnfd-connection-point-ref'?: VNFDCONNECTIONPOINTREF[];
75 'vim-network-name': string;
78 /** Interface for VNFDCONNECTIONPOINTREF */
79 export interface VNFDCONNECTIONPOINTREF {
80 'member-vnf-index-ref': number;
81 'vnfd-connection-point-ref': string;
82 'vnfd-id-ref': string;
84 /** Interface Nodes Creation */
85 export interface COMPOSERNODES {
98 /** Interface for the Tick */
99 export interface Tick {
106 /** Interface for the Path */
107 export interface TickPath {
114 /** Interface for the NSD */
116 'constituent-vnfd': CONSTITUENTVNFD[];
120 'short-name': string;
124 _admin: VNFDAdminDetails;
127 /** Interface for the GRAPHDETAILS */
128 export interface GRAPHDETAILS {
140 sourcePaddingYes: number;
141 sourcePaddingNo: number;
142 targetPaddingYes: number;
143 targetPaddingNo: number;
147 shiftKeyCode: number;
150 /** Interface for the NS Create params */
151 export interface NSCREATEPARAMS {
153 nsDescription: string;
155 vimAccountId: string;
160 /** Interface for the NSI Create params */
161 export interface NSICREATEPARAMS {
163 nsDescription: string;
165 vimAccountId: string;
166 'netslice-vld': string;