Bug 1382 - VNF packages list doesn't show short names
[osm/NG-UI.git] / src / models / NSDModel.ts
index 95331a2..354ccde 100644 (file)
@@ -23,10 +23,10 @@ import { VNFDAdminDetails } from './VNFDModel';
 
 /** Interface for NSData */
 export interface NSData {
-    shortName: string;
+    shortName?: string;
     identifier: string;
     description: string;
-    vendor: string;
+    vendor?: string;
     version: string;
     page?: string;
     name?: string;
@@ -49,6 +49,7 @@ export interface NSDDetails {
     vld: VLD[];
     _admin: VNFDAdminDetails;
     _id: string;
+    _links?: string;
     'constituent-vnfr-ref': string[];
 }
 
@@ -166,3 +167,17 @@ export interface NSICREATEPARAMS {
     'netslice-vld': string;
     ssh_keys: string[];
 }
+
+/** Interface for the VDU Primitive Levels */
+export interface VDUPRIMITIVELEVEL {
+    id: string;
+    name: string;
+    'vdu-configuration': {};
+}
+
+/** Interface for the KDU Primitive Levels */
+export interface KDUPRIMITIVELEVEL {
+    name: string;
+    'juju-bundle': string;
+    'kdu-configuration': {};
+}