/**
* @file Model for NS Instance related information.
*/
-// tslint:disable: completed-docs
+/* eslint-disable */
import { DF, VLD } from 'NSDModel';
import { VNFDAdminDetails } from 'VNFDModel';
}
/** Interface for _Admin */
-// tslint:disable-next-line:class-name
interface _Admin {
'projects_write': string[];
deployed: DeployedAdmin;
}
/** 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;
nsd?: NSD;
operationParams?: OPERATIONPARAMS;
'nsd-id': string;
+ constituent: string[];
}
/** Interface for the operationparams */
-export interface OPERATIONPARAMS{
+export interface OPERATIONPARAMS {
scaleType?: string;
scaleVnfData?: SCALEVNFDATA;
}
/** Interface for the scaleVnfData */
-export interface SCALEVNFDATA{
+export interface SCALEVNFDATA {
scaleVnfType?: string;
scaleByStepData?: SCALEBYSTEPDATA;
}
/** Interface for the scaleByStepData */
-export interface SCALEBYSTEPDATA{
+export interface SCALEBYSTEPDATA {
'scaling-group-descriptor'?: string;
'member-vnf-index'?: string;
}
}
/** Interface for the VNFR Info */
-export interface VNFRINFO{
+export interface VNFRINFO {
vimID: string;
_id: string;
ip: string;