X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FNSDModel.ts;h=354ccde5c0b5ad3ba3e2c26e2cbcc37c62b18a63;hb=79971eb04102e22baa15da92888bed74899e7d90;hp=95331a212110bc3ae27553222eb9c48940464e37;hpb=3b4814aa2d3dec621dadb52f058ba95a3dc3a86a;p=osm%2FNG-UI.git diff --git a/src/models/NSDModel.ts b/src/models/NSDModel.ts index 95331a2..354ccde 100644 --- a/src/models/NSDModel.ts +++ b/src/models/NSDModel.ts @@ -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': {}; +}