Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | import {VnfInstance} from "./vnfInstance"; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 2 | import {NetworkInstance} from "./networkInstance"; |
| 3 | import {NodeInstance} from "./nodeInstance"; |
| 4 | import {VnfGroupInstance} from "./vnfGroupInstance"; |
| 5 | import {VnfMember} from "./VnfMember"; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 6 | import {VrfInstance} from "./vrfInstance"; |
| 7 | import {VidNotions} from "./vidNotions"; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 8 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 9 | export class ServiceInstance extends NodeInstance{ |
| 10 | isEcompGeneratedNaming: boolean; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 11 | globalSubscriberId: string; |
| 12 | productFamilyId: string; |
| 13 | subscriptionServiceType: string; |
| 14 | lcpCloudRegionId: string; |
| 15 | tenantId: string; |
| 16 | tenantName: string; |
| 17 | aicZoneId: string; |
| 18 | aicZoneName: string; |
| 19 | projectName: string; |
| 20 | owningEntityId: string; |
| 21 | owningEntityName: string; |
| 22 | pause: boolean; |
| 23 | bulkSize: number; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 24 | vnfs: { [vnf_module_model_name: string]: VnfInstance; }; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 25 | vrfs: { [vrf_model_name: string]: VrfInstance; }; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 26 | vnfGroups : {[vnf_module_model_name: string]: VnfGroupInstance; }; |
| 27 | networks: { [vnf_module_model_name: string]: NetworkInstance; }; |
| 28 | isDirty : boolean; |
| 29 | instanceParams: {[key: string]: string}[]; |
| 30 | rollbackOnFailure: boolean; |
| 31 | subscriberName: string; |
| 32 | validationCounter: number; |
| 33 | existingNames: {[key: string] : any}; |
| 34 | modelInavariantId?: string; |
| 35 | existingVNFCounterMap : { [vnf_module_model_name: string]: number; }; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 36 | existingVRFCounterMap : { [vrf_module_model_name: string]: number; }; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 37 | existingVnfGroupCounterMap : { [vnf_group_module_model_name: string]: number; }; |
| 38 | existingNetworksCounterMap : { [network_module_model_name: string]: number; }; |
| 39 | optionalGroupMembersMap?: { [path: string]: VnfMember[]; }; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 40 | statusMessage: string; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 41 | vidNotions?: VidNotions; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 42 | |
| 43 | constructor() { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 44 | super(); |
| 45 | this.isDirty = false; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 46 | this.vnfs = {}; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 47 | this.vrfs = {}; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 48 | this.instanceParams = []; |
| 49 | this.validationCounter = 0; |
| 50 | this.existingNames = {}; |
| 51 | this.existingVNFCounterMap = {}; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame^] | 52 | this.existingVRFCounterMap = {}; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 53 | this.existingVnfGroupCounterMap = {}; |
| 54 | this.existingNetworksCounterMap = {}; |
| 55 | this.optionalGroupMembersMap = {}; |
| 56 | this.networks = {}; |
| 57 | this.vnfGroups = {}; |
| 58 | this.bulkSize = 1; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 59 | } |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 60 | |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 61 | } |