*/
import { HttpHeaders } from '@angular/common/http';
import { NSD } from 'NSInstanceModel';
+import { EXECUTEDACTIONS } from 'OperationalModel';
import { VNFD } from 'VNFDModel';
/**
* @file Model for Commonly used information.
*/
-// tslint:disable: completed-docs
+/* eslint-disable */
/**
* handle count @enum
*/
oneMB = 1048576,
paginationDefaultValue = 10,
splitLongitude = 1,
- splitLatitude = 2
+ splitLatitude = 2,
+ timeOutDefaultSeconds = 5,
+ oneGB = 1024
}
/**
* handle count @enum
operationalStateSecondStep = 'running',
operationalStateThirdStep = 'failed',
operationalStateFourthStep = 'scaling',
+ operationalStateFifthStep = 'healing',
configStateFirstStep = 'init',
configStateSecondStep = 'configured',
configStateThirdStep = 'failed',
sdnOperationalStateThirdStep = 'ERROR',
k8OperationalStateFirstStep = 'PROCESSING',
k8OperationalStateStateSecondStep = 'ENABLED',
- k8OperationalStateThirdStep = 'ERROR'
+ k8OperationalStateThirdStep = 'ERROR',
+ done = 'done',
+ close = 'close',
+ userActive = 'active',
+ userLocked = 'locked',
+ userExpired = 'expired',
+ userAlwaysActive = 'always-active'
}
/** Interface for Post options */
export interface POSTAPIRESOURCE {
nsID?: string;
nsd?: NSD;
data?: VNFD[];
+ configs?: object;
+ actions?: object;
+ executedActions?: EXECUTEDACTIONS[];
}
/** Handle the Delete params */
export interface DELETEPARAMS {
}
/** Interface For the Pagination pager in ng-smarttable */
export interface SMARTTABLECLASS {
- // tslint:disable-next-line: no-reserved-keywords
class: string;
}
/** Constants of the VIM Types */
{ value: 'vmware', title: 'VMware vCD' },
{ value: 'openvim', title: 'OpenVIM' },
{ value: 'opennebula', title: 'OpenNebula' },
- { value: 'azure', title: 'Azure' }
+ { value: 'azure', title: 'Azure' },
+ { value: 'dummy', title: 'Dummy' }
];
/** Constants of the SDN Types */
export const SDN_TYPES: TYPESECTION[] = [
user_domain_id: '',
security_groups: '',
user_domain_name: '',
- availabilityZone: '',
+ availability_zone: '',
keypair: '',
region_name: '',
dataplane_physical_net: '',
export interface LOGINPARAMS {
username?: string;
password?: string;
+ old_password?: string;
+}
+/** Interface for the LABELVALUE */
+export interface LABELVALUE {
+ label: string;
+ value: string;
+}
+/** Interface for Login */
+export interface UNLOCKPARAMS {
+ system_admin_id?: string;
+ unlock?: boolean;
+ renew?: boolean;
}