projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 1383 Error when consulting NS instance's topology
[osm/NG-UI.git]
/
src
/
models
/
NSInstanceModel.ts
diff --git
a/src/models/NSInstanceModel.ts
b/src/models/NSInstanceModel.ts
index
72cd42b
..
6bafcdd
100644
(file)
--- a/
src/models/NSInstanceModel.ts
+++ b/
src/models/NSInstanceModel.ts
@@
-18,8
+18,8
@@
/**
* @file Model for NS Instance related information.
*/
/**
* @file Model for NS Instance related information.
*/
-
-import { CONSTITUENTVNFD,
VLD, VNFDCONNECTIONPOINTREF
} from 'NSDModel';
+// tslint:disable: completed-docs
+import { CONSTITUENTVNFD,
DF, VLD
} from 'NSDModel';
import { VNFDAdminDetails } from 'VNFDModel';
/** Interface for NSInstanceDetails */
import { VNFDAdminDetails } from 'VNFDModel';
/** Interface for NSInstanceDetails */
@@
-36,7
+36,6
@@
export interface NSInstanceDetails {
nsd: NSD;
name: string;
'name-ref': string;
nsd: NSD;
name: string;
'name-ref': string;
- 'short-name': string;
id: string;
'nsd-name-ref': string;
description: string;
id: string;
'nsd-name-ref': string;
description: string;
@@
-100,17
+99,17
@@
interface VNFD {
/** Interface for NSD */
export interface NSD {
description: string;
/** Interface for NSD */
export interface NSD {
description: string;
- vld: NSDVLD[];
_admin: VNFDAdminDetails;
name: string;
version: string;
_id: string;
_admin: VNFDAdminDetails;
name: string;
version: string;
_id: string;
- 'short-name': string;
id: string;
'constituent-vnfd': CONSTITUENTVNFD[];
vendor: string;
vdur: string[];
'connection-point': CONNECTIONPOINT[];
id: string;
'constituent-vnfd': CONSTITUENTVNFD[];
vendor: string;
vdur: string[];
'connection-point': CONNECTIONPOINT[];
+ 'virtual-link-desc': NSDVLD[];
+ df: DF[];
}
/** Interface for _AdminDetails */
}
/** Interface for _AdminDetails */
@@
-146,8
+145,7
@@
export interface NSDVLD {
'vim-network-name': string;
id: string;
'type': string;
'vim-network-name': string;
id: string;
'type': string;
- 'vnfd-connection-point-ref': VNFDCONNECTIONPOINTREF[];
- 'short-name': string;
+ df: DF[];
}
/** Interface for InstantiateParam */
}
/** Interface for InstantiateParam */
@@
-179,7
+177,7
@@
export interface NSDInstanceData {
ConfigStatus: string;
DetailedStatus: string;
state?: string;
ConfigStatus: string;
DetailedStatus: string;
state?: string;
- memberIndex?:
object
;
+ memberIndex?:
DF[]
;
nsConfig?: object;
}
nsConfig?: object;
}
@@
-199,7
+197,7
@@
export interface NSINSTANCENODES {
nodeTypeRef?: string;
name?: string;
'type'?: string;
nodeTypeRef?: string;
name?: string;
'type'?: string;
- vnfdCP?:
VNFDCONNECTIONPOINTRE
F[];
+ vnfdCP?:
D
F[];
vimNetworkName?: string;
shortName?: string;
cp?: CONNECTIONPOINT[];
vimNetworkName?: string;
shortName?: string;
cp?: CONNECTIONPOINT[];
@@
-214,6
+212,8
@@
export interface NSINSTANCENODES {
vnfdRef?: string;
vndfCPRef?: string;
selectorId?: string;
vnfdRef?: string;
vndfCPRef?: string;
selectorId?: string;
+ reflexive?: Boolean;
+ nodeIndex?: number;
}
/** Interface for the connection-point */
}
/** Interface for the connection-point */