Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
*/
import { HttpHeaders } from '@angular/common/http';
+import { NSD } from 'NSInstanceModel';
+import { VNFD } from 'VNFDModel';
/**
* @file Model for Commonly used information.
*/
+// tslint:disable: completed-docs
/**
* handle count @enum
*/
operationalStateFirstStep = 'init',
operationalStateSecondStep = 'running',
operationalStateThirdStep = 'failed',
+ operationalStateFourthStep = 'scaling',
configStateFirstStep = 'init',
configStateSecondStep = 'configured',
configStateThirdStep = 'failed',
nsConfig?: object;
projectID?: string;
username?: string;
+ vnfID?: [];
+ nsID?: string;
+ nsd?: NSD;
+ data?: VNFD[];
}
/** Handle the Delete params */
export interface DELETEPARAMS {
identifier: string;
name?: string;
- shortName: string;
projectName?: string;
userName?: string;
username?: string;
page?: string;
id?: string;
+ productName?: string;
}
/** Interface for the Delete Details */
buffer: ArrayBuffer;
header_offset?: Number;
size?: number;
+ linkname?: string;
+ uname?: string;
+ gname?: string;
+}
+/** Interface for File Settings */
+export interface FILESETTINGS {
+ 'type'?: string;
+ linkname?: string;
+ owner?: string;
+ group?: string;
}
/** Interface for Package information */
export interface PACKAGEINFO {
value: string;
title: string;
}
-/** Interface for VIM type Openstack's Config */
+/** Interface for PRIMITIVETYPES */
+export interface PRIMITIVETYPES {
+ title: string;
+ value: string;
+}
+/** Interface for the PRIMITIVEDATA */
+export interface PRIMITIVEDATA {
+ parameter: {}[];
+}
+/** Constant for VIM type Openstack's Config */
export const TYPEOPENSTACK: {} = {
sdn_controller: '',
APIversion: '',
user_domain_id: '',
security_groups: '',
user_domain_name: '',
- availabilityZone: '',
+ availability_zone: '',
keypair: '',
region_name: '',
dataplane_physical_net: '',
additional_conf: '',
use_existing_flavors: ''
};
-/** Interface for VIM type AWS's Config */
+/** Constant for VIM type AWS's Config */
export const TYPEAWS: {} = {
sdn_controller: '',
vpc_cidr_block: '',
flavor_info: '',
additional_conf: ''
};
-/** Interface for VIM type VMWARE's Config */
+/** Constant for VIM type VMWARE's Config */
export const TYPEVMWARE: {} = {
sdn_controller: '',
orgname: '',
vrops_password: '',
additional_conf: ''
};
-/** Interface for VIM type OPENVIMNEBULA's Config */
+/** Constant for VIM type OPENVIMNEBULA's Config */
export const TYPEOPENVIMNEBULA: {} = {
sdn_controller: '',
sdn_port_mapping: '',
vim_network_name: '',
additional_conf: ''
};
-/** Interface for VIM type AZURE's Config */
+/** Constant for VIM type AZURE's Config */
export const TYPEAZURE: {} = {
subscription_id: '',
region_name: '',
vnet_name: '',
flavors_pattern: ''
};
-/** Interface for VIM other type Config */
+/** Constant for VIM other type Config */
export const TYPEOTERS: {} = {
sdn_controller: '',
sdn_port_mapping: '',
additional_conf: '',
use_existing_flavors: ''
};
+/** Interface for Domains */
+export interface DOMAINS {
+ project_domain_name: string;
+ user_domain_name: string;
+}
+/** Interface for Login */
+export interface LOGINPARAMS {
+ username?: string;
+ password?: string;
+}