/**
* @file Model for NS Instance related information.
*/
-// tslint:disable: completed-docs
-import { CONSTITUENTVNFD, DF, VLD } from 'NSDModel';
+/* eslint-disable */
+import { DF, VLD } from 'NSDModel';
import { VNFDAdminDetails } from 'VNFDModel';
/** Interface for NSInstanceDetails */
'operational-status': string;
'datacenter': string;
nsd: NSD;
+ 'nsd-id': string;
name: string;
'name-ref': string;
id: string;
instantiate_params: InstantiateParam;
additionalParamsForNs: AdditionalParamForN;
_id?: string;
+ vcaStatus?: object;
+ startTime?: string;
+ 'create-time'?: string;
}
/** Interface for Admin */
}
/** Interface for _Admin */
-// tslint:disable-next-line:class-name
interface _Admin {
'projects_write': string[];
deployed: DeployedAdmin;
version: string;
_id: string;
id: string;
- 'constituent-vnfd': CONSTITUENTVNFD[];
vendor: string;
vdur: string[];
'connection-point': CONNECTIONPOINT[];
}
/** Interface for _AdminDetails */
-// tslint:disable-next-line:class-name
export interface _AdminDetails {
usageState: string;
projects_write: string[];
df: DF[];
}
+/** Interface for Vm Migration */
+export interface VMMIGRATION {
+ lcmOperationType: string;
+ vnfInstanceId: string;
+ migrateToHost?: string;
+ vdu?: VDUPARAM;
+}
+
+/** Interface for vdu for Vm Migration */
+export interface VDUPARAM {
+ vduId?: string;
+ vduCountIndex?: string;
+}
+
+/** Interface for Ns Update */
+export interface NSUPDATE {
+ lcmOperationType: string;
+ updateType: string;
+ nsInstanceId: string;
+ changeVnfPackageData: CHANGEVNFDATA;
+}
+
+/** Interface for changeVnfPackageData in Ns Update */
+export interface CHANGEVNFDATA {
+ vnfdId: string;
+ vnfInstanceId: string;
+}
+
+/** Interface for terminate vnf in Ns Update */
+export interface TERMINATEVNF {
+ lcmOperationType: string;
+ updateType: string;
+ nsInstanceId: string;
+ removeVnfInstanceId: string;
+}
+
+/** Interface for Start, Stop & Rebuild */
+export interface StartStopRebuild {
+ updateType: string;
+ operateVnfData: OPERATEVNFDATA;
+}
+
+/** Interface for operateVnfData in Start, Stop and Rebuild */
+export interface OPERATEVNFDATA {
+ additionalParam: ADDITIONALPARAMS;
+ vnfInstanceId: string;
+ changeStateTo: string;
+}
+
+/** Interface for additionalParam in Start, Stop and Rebuild */
+export interface ADDITIONALPARAMS {
+ 'run-day1': boolean;
+ 'vdu_id': string;
+ 'count-index': string;
+}
+
+/** Interface for VerticalScaling */
+export interface VerticalScaling {
+ lcmOperationType: string;
+ verticalScale: string;
+ nsInstanceId: string;
+ changeVnfFlavorData: CHANGEVNFFLAVORDATAPARAM;
+}
+
+/** Interface for changeVnfFlavorData in Vertical Scaling */
+export interface CHANGEVNFFLAVORDATAPARAM {
+ vnfInstanceId: string;
+ additionalParams: ADDITIONALPARAM;
+
+}
+
+/** Interface for additionalParam in Vertical Scaling */
+export interface ADDITIONALPARAM {
+ vduid: string;
+ vduCountIndex: string;
+ virtualMemory: number;
+ sizeOfStorage: number;
+ numVirtualCpu: number;
+
+}
+
/** Interface for InstantiateParam */
interface InstantiateParam {
nsdId: string;
state?: string;
memberIndex?: DF[];
nsConfig?: object;
+ vcaStatus?: object;
+ adminDetails?: object;
+ vnfID?: string[];
+ nsd?: NSD;
+ operationParams?: OPERATIONPARAMS;
+ 'nsd-id': string;
+ constituent: string[];
+ 'create-time'?: string;
+}
+
+/** Interface for the operationparams */
+export interface OPERATIONPARAMS {
+ scaleType?: string;
+ scaleVnfData?: SCALEVNFDATA;
+}
+
+/** Interface for the scaleVnfData */
+export interface SCALEVNFDATA {
+ scaleVnfType?: string;
+ scaleByStepData?: SCALEBYSTEPDATA;
+}
+
+/** Interface for the scaleByStepData */
+export interface SCALEBYSTEPDATA {
+ 'scaling-group-descriptor'?: string;
+ 'member-vnf-index'?: string;
}
/** Interface for the nsInfo */
}
/** Interface for the VNFR Info */
-export interface VNFRINFO{
+export interface VNFRINFO {
vimID: string;
_id: string;
ip: string;
vnfdId: string;
memberIndex: string;
}
+
+/** Interface for vdu mappings */
+export interface VDUMAP {
+ vdu_mappings?: VDUMAPPINGS[];
+}
+
+/** Interface for vdu Mappings */
+export interface VDUMAPPINGS {
+ vduId?: string;
+ 'vdu-id'?: string;
+ countIndex?: string;
+ 'count-index'?: string;
+ runDay1?: Boolean;
+ 'run-day1'?: Boolean;
+}