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;
53 'constituent-vnfr-ref': string[];
56 /** Interface for the connection-point */
57 export interface CONNECTIONPOINT {
62 /** Interface for the constituent-vnfd */
63 export interface CONSTITUENTVNFD {
64 'member-vnf-index': number;
65 'vnfd-id-ref': string;
68 /** Interface for the vld */
69 export interface VLD {
71 'mgmt-network': boolean;
73 'short-name'?: string;
75 'vnfd-connection-point-ref'?: VNFDCONNECTIONPOINTREF[];
76 'vim-network-name': string;
79 /** Interface for VNFDCONNECTIONPOINTREF */
80 export interface VNFDCONNECTIONPOINTREF {
81 'member-vnf-index-ref': number;
82 'vnfd-connection-point-ref': string;
83 'vnfd-id-ref': string;
85 /** Interface Nodes Creation */
86 export interface COMPOSERNODES {
99 /** Interface for the Tick */
100 export interface Tick {
107 /** Interface for the Path */
108 export interface TickPath {
115 /** Interface for the NSD */
117 'constituent-vnfd': CONSTITUENTVNFD[];
121 'short-name': string;
125 _admin: VNFDAdminDetails;
128 /** Interface for the GRAPHDETAILS */
129 export interface GRAPHDETAILS {
141 sourcePaddingYes: number;
142 sourcePaddingNo: number;
143 targetPaddingYes: number;
144 targetPaddingNo: number;
148 shiftKeyCode: number;
151 /** Interface for the NS Create params */
152 export interface NSCREATEPARAMS {
154 nsDescription: string;
156 vimAccountId: string;
161 /** Interface for the NSI Create params */
162 export interface NSICREATEPARAMS {
164 nsDescription: string;
166 vimAccountId: string;
167 'netslice-vld': string;
171 /** Interface for the VDU Primitive Levels */
172 export interface VDUPRIMITIVELEVEL {
175 'vdu-configuration': {};
178 /** Interface for the KDU Primitive Levels */
179 export interface KDUPRIMITIVELEVEL {
181 'juju-bundle': string;
182 'kdu-configuration': {};