Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1 | import {HttpClientTestingModule} from "@angular/common/http/testing"; |
| 2 | import {getTestBed, TestBed} from "@angular/core/testing"; |
Ittay Stern | 77d0016 | 2019-02-27 19:23:10 +0200 | [diff] [blame] | 3 | import {NgReduxTestingModule} from "@angular-redux/store/testing"; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 4 | import {SharedTreeService} from "./shared.tree.service"; |
| 5 | import {ObjectToInstanceTreeService} from "./objectToInstanceTree/objectToInstanceTree.service"; |
| 6 | import {ObjectToTreeService} from "./objectToTree.service"; |
| 7 | import {DefaultDataGeneratorService} from "../../../shared/services/defaultDataServiceGenerator/default.data.generator.service"; |
| 8 | import {DynamicInputsService} from "./dynamicInputs.service"; |
| 9 | import {DialogService} from "ng2-bootstrap-modal"; |
| 10 | import {VnfPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnf/vnf.popup.service"; |
Yoav Schneiderman | 4c87eca | 2019-12-18 21:04:38 +0200 | [diff] [blame] | 11 | import {ControlGeneratorUtil} from "../../../shared/components/genericForm/formControlsServices/control.generator.util.service"; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 12 | import {AaiService} from "../../../shared/services/aaiService/aai.service"; |
| 13 | import {NetworkPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/network/network.popup.service"; |
| 14 | import {NetworkControlGenerator} from "../../../shared/components/genericForm/formControlsServices/networkGenerator/network.control.generator"; |
Amir Skalka | 8d17bc3 | 2019-12-10 16:47:11 +0200 | [diff] [blame] | 15 | import {VfModulePopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popup.service"; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 16 | import {VfModuleControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vfModuleGenerator/vfModule.control.generator"; |
| 17 | import {VnfGroupControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGroupGenerator/vnfGroup.control.generator"; |
| 18 | import {FeatureFlagsService} from "../../../shared/services/featureFlag/feature-flags.service"; |
| 19 | import {VnfControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGenerator/vnf.control.generator"; |
| 20 | import {NgRedux} from "@angular-redux/store"; |
| 21 | import {GenericFormService} from "../../../shared/components/genericForm/generic-form.service"; |
| 22 | import {FormBuilder} from "@angular/forms"; |
| 23 | import {SdcUiComponentsModule} from "onap-ui-angular"; |
| 24 | import {LogService} from "../../../shared/utils/log/log.service"; |
| 25 | import {IframeService} from "../../../shared/utils/iframe.service"; |
| 26 | import {BasicPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/basic.popup.service"; |
| 27 | import {VnfGroupPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnfGroup/vnfGroup.popup.service"; |
| 28 | import {DuplicateService} from "../duplicate/duplicate.service"; |
| 29 | import {AppState} from "../../../shared/store/reducers"; |
| 30 | import {MessageBoxService} from "../../../shared/components/messageBox/messageBox.service"; |
| 31 | import {ErrorMsgService} from "../../../shared/components/error-msg/error-msg.service"; |
| 32 | import {AuditInfoModalComponent} from "../../../shared/components/auditInfoModal/auditInfoModal.component"; |
| 33 | import {ILevelNodeInfo} from "./models/basic.model.info"; |
| 34 | import {VnfModelInfo} from "./models/vnf/vnf.model.info"; |
| 35 | import {ServiceInstanceActions} from "../../../shared/models/serviceInstanceActions"; |
| 36 | import each from "jest-each"; |
| 37 | import {DrawingBoardModes} from "../drawing-board.modes"; |
| 38 | import {ComponentInfoService} from "../component-info/component-info.service"; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 39 | import {ComponentInfoModel, ComponentInfoType} from "../component-info/component-info-model"; |
| 40 | import {ModelInformationItem} from "../../../shared/components/model-information/model-information.component"; |
| 41 | import {VpnStepService} from "./models/vrf/vrfModal/vpnStep/vpn.step.service"; |
| 42 | import {NetworkStepService} from "./models/vrf/vrfModal/networkStep/network.step.service"; |
Sara Weiss | eed6943 | 2019-11-20 14:50:33 +0200 | [diff] [blame] | 43 | import {VfModuleUpgradePopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service"; |
Yoav Schneiderman | 4c87eca | 2019-12-18 21:04:38 +0200 | [diff] [blame] | 44 | import {SharedControllersService} from "../../../shared/components/genericForm/formControlsServices/sharedControlles/shared.controllers.service"; |
Yoav Schneiderman | 4ef3ee7 | 2020-01-08 14:46:14 +0200 | [diff] [blame] | 45 | import {ModalService} from "../../../shared/components/customModal/services/modal.service"; |
| 46 | import {CreateDynamicComponentService} from "../../../shared/components/customModal/services/create-dynamic-component.service"; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 47 | |
| 48 | class MockAppStore<T> { |
| 49 | getState() { |
| 50 | return getStore() |
| 51 | } |
| 52 | |
| 53 | dispatch() { |
| 54 | } |
| 55 | } |
| 56 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 57 | |
| 58 | |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 59 | |
| 60 | function getNodeWithData(menuAction:string){ |
| 61 | const nodeData = { |
| 62 | menuActions: {} |
| 63 | }; |
| 64 | nodeData['menuActions'][menuAction] = { |
| 65 | method: (node, serviceModelId) => {} |
Eylon Malin | aefc6a0 | 2020-01-29 15:11:47 +0200 | [diff] [blame] | 66 | }; |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 67 | const node = { |
| 68 | parent: { |
| 69 | data: nodeData, |
| 70 | parent: { |
| 71 | data: nodeData |
| 72 | } |
| 73 | } |
| 74 | }; |
| 75 | return node |
| 76 | } |
| 77 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 78 | describe('Shared Tree Service', () => { |
| 79 | let injector; |
| 80 | let service: SharedTreeService; |
| 81 | let _objectToInstanceTreeService: ObjectToInstanceTreeService; |
| 82 | let store: NgRedux<AppState>; |
Alexey Sandler | 5609338 | 2020-02-13 09:53:14 +0200 | [diff] [blame^] | 83 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 84 | beforeAll(done => (async () => { |
| 85 | TestBed.configureTestingModule({ |
| 86 | imports: [HttpClientTestingModule, NgReduxTestingModule, SdcUiComponentsModule], |
| 87 | providers: [ |
| 88 | SharedTreeService, |
Yoav Schneiderman | 4c87eca | 2019-12-18 21:04:38 +0200 | [diff] [blame] | 89 | SharedControllersService, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 90 | ObjectToTreeService, |
| 91 | DefaultDataGeneratorService, |
| 92 | DialogService, |
| 93 | VnfPopupService, |
Yoav Schneiderman | 4c87eca | 2019-12-18 21:04:38 +0200 | [diff] [blame] | 94 | ControlGeneratorUtil, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 95 | AaiService, |
| 96 | LogService, |
| 97 | BasicPopupService, |
| 98 | VnfGroupPopupService, |
| 99 | DuplicateService, |
| 100 | IframeService, |
| 101 | DynamicInputsService, |
| 102 | NetworkPopupService, |
| 103 | NetworkControlGenerator, |
Amir Skalka | 8d17bc3 | 2019-12-10 16:47:11 +0200 | [diff] [blame] | 104 | VfModulePopupService, |
Sara Weiss | eed6943 | 2019-11-20 14:50:33 +0200 | [diff] [blame] | 105 | VfModuleUpgradePopupService, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 106 | VfModuleControlGenerator, |
| 107 | VnfGroupControlGenerator, |
| 108 | DialogService, |
| 109 | FeatureFlagsService, |
| 110 | VnfControlGenerator, |
| 111 | AaiService, |
| 112 | DialogService, |
| 113 | GenericFormService, |
| 114 | FormBuilder, |
| 115 | ErrorMsgService, |
| 116 | ObjectToInstanceTreeService, |
| 117 | ComponentInfoService, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 118 | NetworkStepService, |
| 119 | VpnStepService, |
Yoav Schneiderman | 4ef3ee7 | 2020-01-08 14:46:14 +0200 | [diff] [blame] | 120 | ModalService, |
| 121 | CreateDynamicComponentService, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 122 | {provide: NgRedux, useClass: MockAppStore} |
| 123 | ] |
| 124 | }); |
| 125 | await TestBed.compileComponents(); |
| 126 | injector = getTestBed(); |
| 127 | service = injector.get(SharedTreeService); |
| 128 | _objectToInstanceTreeService = injector.get(ObjectToInstanceTreeService); |
| 129 | store = injector.get(NgRedux); |
| 130 | })().then(done).catch(done.fail)); |
| 131 | |
| 132 | test('SharedTreeService should be defined', () => { |
| 133 | expect(service).toBeDefined(); |
| 134 | }); |
| 135 | |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 136 | test('SharedTreeService upgradeBottomUp should call redux actions', () => { |
| 137 | const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"; |
Eylon Malin | aefc6a0 | 2020-01-29 15:11:47 +0200 | [diff] [blame] | 138 | const node = getNodeWithData("upgrade"); |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 139 | spyOn(node.parent.data.menuActions['upgrade'], 'method'); |
| 140 | service.upgradeBottomUp(node, serviceModelId); |
| 141 | expect(node.parent.data.menuActions['upgrade'].method).toBeCalledWith(node.parent, serviceModelId); |
| 142 | expect(node.parent.data.menuActions['upgrade'].method).toBeCalledTimes(2); |
| 143 | |
| 144 | }); |
| 145 | |
| 146 | test('SharedTreeService undoUpgradeBottomUp should call redux actions', () => { |
| 147 | const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"; |
Eylon Malin | aefc6a0 | 2020-01-29 15:11:47 +0200 | [diff] [blame] | 148 | const node = getNodeWithData("undoUpgrade"); |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 149 | spyOn(node.parent.data.menuActions['undoUpgrade'], 'method'); |
| 150 | service.undoUpgradeBottomUp(node, serviceModelId); |
| 151 | expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledWith(node.parent, serviceModelId); |
| 152 | expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledTimes(2); |
| 153 | }); |
| 154 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 155 | test('shouldShowDeleteInstanceWithChildrenModal should open modal if child exist with action create', () => { |
| 156 | jest.spyOn(MessageBoxService.openModal, 'next'); |
| 157 | let foo = () => { |
| 158 | |
| 159 | }; |
| 160 | let node = <any>{ |
| 161 | children: [{action: "Create"}, {action: "None"}], |
| 162 | data: { |
| 163 | typeName: 'VNF' |
| 164 | } |
| 165 | }; |
| 166 | service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo); |
| 167 | expect(MessageBoxService.openModal.next).toHaveBeenCalled(); |
| 168 | }); |
| 169 | |
Ittay Stern | 6b1e53d | 2020-01-21 12:20:37 +0200 | [diff] [blame] | 170 | each([ |
| 171 | ['volumeGroups by entry name', "volumeGroups", |
| 172 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1"], |
| 173 | ['vfmodule by customizationUuid', "vfModules", |
| 174 | "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401", "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1"], |
| 175 | ['vnf by customizationUuid', "vnfs", |
| 176 | "1da7b585-5e61-4993-b95e-8e6606c81e45", "2017-488_PASQUALE-vPE 0"], |
| 177 | ['vnfGroups by invariantUuid because no customizationUuid', "vnfGroups", |
| 178 | "4bb2e27e-ddab-4790-9c6d-1f731bc14a45", "groupingservicefortest..ResourceInstanceGroup..0"], |
| 179 | ]).test('modelByIdentifier should success: %s', (description, modelTypeName, modelUniqueIdOrName, expectedModelCustomizationName) => { |
| 180 | let serviceModelFromHierarchy = |
| 181 | getStore().service.serviceHierarchy["1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"]; |
| 182 | |
Ittay Stern | 74e6271 | 2020-01-29 18:20:23 +0200 | [diff] [blame] | 183 | expect(service.modelByIdentifiers(serviceModelFromHierarchy, modelTypeName, modelUniqueIdOrName)) |
Ittay Stern | 6b1e53d | 2020-01-21 12:20:37 +0200 | [diff] [blame] | 184 | .toHaveProperty("modelCustomizationName", expectedModelCustomizationName); |
| 185 | }); |
| 186 | |
| 187 | each([ |
| 188 | ['vfmodule by invariantUuid when there is customizationUuid', "vfModules", "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1"], |
| 189 | ['network by non-existing modelUniqueIdOrName', "networks", "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1"], |
| 190 | ['collectionResource has no resource', "collectionResources", "whatever"], |
| 191 | ['non-existing model-type', "fooBar", "whatever"], |
| 192 | ]).test('modelByIdentifier should fail: %s', (description, modelTypeName, modelUniqueIdOrName) => { |
| 193 | let serviceModelFromHierarchy = |
| 194 | getStore().service.serviceHierarchy["1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"]; |
| 195 | |
Ittay Stern | 74e6271 | 2020-01-29 18:20:23 +0200 | [diff] [blame] | 196 | expect(service.modelByIdentifiers(serviceModelFromHierarchy, modelTypeName, modelUniqueIdOrName)) |
Ittay Stern | 6b1e53d | 2020-01-21 12:20:37 +0200 | [diff] [blame] | 197 | .toBeUndefined(); |
| 198 | }); |
| 199 | |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 200 | test('openAuditInfoModalInsideIframe should open modal for failed instance', () => { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 201 | jest.spyOn(AuditInfoModalComponent.openInstanceAuditInfoModal, 'next'); |
| 202 | |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 203 | let modelInfoServiceMock: ILevelNodeInfo = new VnfModelInfo(null, null, |
Sara Weiss | eed6943 | 2019-11-20 14:50:33 +0200 | [diff] [blame] | 204 | null, null, null, null, null, |
Yoav Schneiderman | 4c87eca | 2019-12-18 21:04:38 +0200 | [diff] [blame] | 205 | null, null, null, null,null, null); |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 206 | const modelMock = {"a": "a"}; |
| 207 | const instanceMock = {"instance": "instance", "trackById": "123456789"}; |
| 208 | const instanceTypeMock = "instanceTypeMock"; |
| 209 | jest.spyOn(modelInfoServiceMock, 'getModel').mockReturnValue(modelMock); |
| 210 | let node = <any>{ |
| 211 | data: { |
| 212 | modelId: '6b528779-44a3-4472-bdff-9cd15ec93450', |
| 213 | trackById: '1245df21', |
| 214 | isFailed: true |
| 215 | } |
| 216 | }; |
| 217 | service.openAuditInfoModal(node, "serviceModelId", instanceMock, instanceTypeMock, <any>modelInfoServiceMock); |
| 218 | expect(AuditInfoModalComponent.openInstanceAuditInfoModal.next).toHaveBeenCalledWith( |
| 219 | { |
| 220 | "instance": instanceMock, |
| 221 | "instanceId": "serviceModelId", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 222 | "model": modelMock, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 223 | "type": instanceTypeMock |
| 224 | }); |
| 225 | }); |
Eylon Malin | 0a26826 | 2019-12-15 10:03:03 +0200 | [diff] [blame] | 226 | each([ |
| 227 | ['undefined', 'Unlimited (default)', {}], |
| 228 | ['null', 'Unlimited (default)', {max:null}], |
| 229 | ['3', '3', {max:3}], |
| 230 | ]). |
| 231 | test("when there is %s max instances in model , shell return %s text", (desc, expected, model) =>{ |
| 232 | expect(service.createMaximumToInstantiateModelInformationItem(model).values[0]).toBe(expected); |
| 233 | }); |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 234 | |
| 235 | test('shouldShowDeleteInstanceWithChildrfenModal should not open modal if all childs with action None', () => { |
| 236 | let foo = () => { |
| 237 | }; |
| 238 | spyOn(MessageBoxService.openModal, 'next'); |
| 239 | |
| 240 | let node = <any>{ |
| 241 | children: [{action: "None"}, {action: "None"}], |
| 242 | data: { |
| 243 | typeName: 'VNF' |
| 244 | } |
| 245 | }; |
| 246 | service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo); |
| 247 | expect(MessageBoxService.openModal.next).not.toHaveBeenCalled(); |
| 248 | }); |
| 249 | |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 250 | test ('addGeneralInfoItems should return correct info - ordered',()=>{ |
| 251 | let specificNetworkInfo = [ |
| 252 | ModelInformationItem.createInstance('Network role', "network role 1, network role 2") |
| 253 | ]; |
| 254 | const actualInfoModel: ComponentInfoModel = service.addGeneralInfoItems(specificNetworkInfo,ComponentInfoType.NETWORK, getNetworkModel(),getNetworkInstance()); |
| 255 | |
| 256 | let expectedGeneralInfo = [ |
| 257 | ModelInformationItem.createInstance('Model version', '37.0'), |
| 258 | ModelInformationItem.createInstance('Model customization ID', '94fdd893-4a36-4d70-b16a-ec29c54c184f'), |
| 259 | ModelInformationItem.createInstance('Instance ID', 'NETWORK4_INSTANCE_ID'), |
| 260 | ModelInformationItem.createInstance('Instance type', 'CONTRAIL30_HIMELGUARD'), |
| 261 | ModelInformationItem.createInstance('In maintenance', false), |
| 262 | ModelInformationItem.createInstance('Network role', 'network role 1, network role 2') |
| 263 | ]; |
| 264 | expect(actualInfoModel.modelInfoItems).toEqual(expectedGeneralInfo); |
| 265 | }); |
| 266 | |
| 267 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 268 | test('statusProperties should be prop on node according to node properties', () => { |
| 269 | let node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: false}); |
| 270 | expect(node.statusProperties).toBeDefined(); |
| 271 | expect(node.statusProperties).toEqual([Object({ |
| 272 | key: 'Prov Status:', |
| 273 | value: 'inProgress', |
| 274 | testId: 'provStatus' |
| 275 | }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'})]); |
| 276 | node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: true}); |
| 277 | expect(node.statusProperties).toEqual([Object({ |
| 278 | key: 'Prov Status:', |
| 279 | value: 'inProgress', |
| 280 | testId: 'provStatus' |
| 281 | }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'}), Object({ |
| 282 | key: 'In-maintenance', |
| 283 | value: '', |
| 284 | testId: 'inMaint' |
| 285 | })]); |
| 286 | }); |
Eylon Malin | aefc6a0 | 2020-01-29 15:11:47 +0200 | [diff] [blame] | 287 | |
| 288 | each([ |
| 289 | [false, 'method is not in menu actions', ServiceInstanceActions.None, DrawingBoardModes.EDIT, {}, true], |
| 290 | [false, 'there is no action in node', null, DrawingBoardModes.EDIT, {someMethod: "someValue"}, true], |
| 291 | [true, 'edit mode, action is none, method in menu action', ServiceInstanceActions.None, DrawingBoardModes.EDIT, {someMethod: "someValue"}, true], |
| 292 | [false, 'edit mode, action is none, method in menu action, macro service', ServiceInstanceActions.None, DrawingBoardModes.EDIT, {someMethod: "someValue"}, false], |
| 293 | [false, 'edit mode, action is not none, method in menu action', ServiceInstanceActions.Resume, DrawingBoardModes.EDIT, {someMethod: "someValue"}, true], |
| 294 | [false, 'edit mode, action is CREATE, method in menu action', ServiceInstanceActions.Resume, DrawingBoardModes.EDIT, {someMethod: "someValue"}, true] |
| 295 | ]).test('shouldShowButtonGeneric return %s if %s ', (expected, description, action, mode, menuActions, isALaCarte) => { |
| 296 | jest.spyOn(store, 'getState').mockReturnValue(<any>{ |
| 297 | global: { |
| 298 | drawingBoardStatus: mode |
| 299 | }, |
| 300 | service : { |
| 301 | serviceInstance: { |
| 302 | someModelId : { |
| 303 | isALaCarte |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | } |
| 308 | }); |
| 309 | let node = <any>{ |
| 310 | data:{ |
| 311 | action: action, |
| 312 | menuActions: menuActions |
| 313 | }, |
| 314 | }; |
| 315 | |
| 316 | let res = service.shouldShowButtonGeneric(node, "someMethod", "someModelId"); |
| 317 | expect(res).toBe(expected); |
| 318 | }); |
| 319 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 320 | const enableRemoveAndEditItemsDataProvider = [ |
| 321 | ['Create action CREATE mode', DrawingBoardModes.CREATE ,ServiceInstanceActions.Create, true], |
| 322 | ['Create action VIEW mode',DrawingBoardModes.VIEW , ServiceInstanceActions.Create,false], |
| 323 | ['Create action RETRY_EDIT mode',DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.Create, true], |
| 324 | ['Create action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.Create, true], |
| 325 | ['Create action RETRY mode',DrawingBoardModes.RETRY, ServiceInstanceActions.Create, false], |
| 326 | ['None action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.None, false], |
| 327 | ['None action RETRY_EDIT mode', DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.None, false]]; |
| 328 | each(enableRemoveAndEditItemsDataProvider).test('shouldShowEditAndDelete if child exist with %s', (description, mode, action, enabled) => { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 329 | jest.spyOn(store, 'getState').mockReturnValue(<any>{ |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 330 | global: { |
| 331 | drawingBoardStatus: mode |
| 332 | } |
| 333 | }); |
| 334 | let node = <any>{ |
| 335 | data:{ |
| 336 | action: action |
| 337 | }, |
| 338 | }; |
| 339 | let res = service.shouldShowRemoveAndEdit(node); |
| 340 | expect(res).toBe(enabled); |
| 341 | }); |
Eylon Malin | aefc6a0 | 2020-01-29 15:11:47 +0200 | [diff] [blame] | 342 | |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 343 | |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 344 | const isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDifferProvider = [ |
| 345 | ['node is part of model, but vfmodule diff by customization', |
| 346 | true, 'mDNS 01222020 0', '9fdc68e9-9f53-431c-b8a2-7e337b9a0d0a', '82160e6e-d9c4-45ef-bd19-01573ab11b61'], |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 347 | |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 348 | ['vnf model-name not found', |
| 349 | false, 'mDNS 01222020 1', '9fdc68e9-9f53-431c-b8a2-7e337b9a0d0a', '82160e6e-d9c4-45ef-bd19-01573ab11b61'], |
| 350 | |
| 351 | ['vfmodule invariant-id not found', |
| 352 | false, 'mDNS 01222020 0', 'wrong invariant-id', '82160e6e-d9c4-45ef-bd19-01573ab11b61'], |
| 353 | |
| 354 | ['vfmodule customization-id match', |
| 355 | false, 'mDNS 01222020 0', '9fdc68e9-9f53-431c-b8a2-7e337b9a0d0a', 'c9b32003-febc-44e0-a97f-7630fa7fa4a0'], |
| 356 | ]; |
| 357 | |
| 358 | each(isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDifferProvider).test('isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDiffer: when %s should return %s', (description, expected, vnfModelName, invariantUuid, customizationUuid) => { |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 359 | const serviceModelId : string = 'a243da28-c11e-45a8-9f26-0284a9a789bc'; |
| 360 | spyOn(store, 'getState').and.returnValue({ |
| 361 | service : { |
| 362 | serviceHierarchy : { |
| 363 | [serviceModelId] : { |
| 364 | vnfs : { |
| 365 | [vnfModelName] : { |
| 366 | vfModules : { |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 367 | vfModuleModelName : { |
| 368 | invariantUuid : invariantUuid, |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 369 | customizationUuid : customizationUuid |
| 370 | } |
| 371 | } |
| 372 | } |
| 373 | } |
| 374 | } |
| 375 | } |
| 376 | } |
| 377 | }); |
| 378 | |
| 379 | const node = <any>{ |
| 380 | data:{ |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 381 | modelInvariantId : '9fdc68e9-9f53-431c-b8a2-7e337b9a0d0a', |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 382 | modelCustomizationId : 'c9b32003-febc-44e0-a97f-7630fa7fa4a0', |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 383 | modelName : 'vfModuleModelName' |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 384 | }, |
| 385 | parent : { |
| 386 | data : { |
| 387 | modelName : "mDNS 01222020 0" |
| 388 | } |
| 389 | } |
| 390 | }; |
| 391 | |
Ittay Stern | f84164f | 2020-02-04 14:13:24 +0200 | [diff] [blame] | 392 | const isDiffCustomizationUuidResponse : boolean = service.isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDiffer(node, serviceModelId); |
Yoav Schneiderman | a3e54c3 | 2020-02-02 20:00:00 +0200 | [diff] [blame] | 393 | expect(isDiffCustomizationUuidResponse).toEqual(expected); |
| 394 | }); |
| 395 | |
Alexey Sandler | 5609338 | 2020-02-13 09:53:14 +0200 | [diff] [blame^] | 396 | each([ |
| 397 | [false, true, true, false], |
| 398 | [true, true, true, true], |
| 399 | [true, true, false, true], |
| 400 | [true, false, true, true], |
| 401 | [true, false, false, false], |
| 402 | ]). |
| 403 | test('when flag is %s the UpdatedLatestVersion is %s and Vfmodule CustomizationUuid Differ is %s isShouldShowButtonGenericMustToBeCalled should return %s', ( |
| 404 | flag: boolean, |
| 405 | isThereAnUpdatedLatestVersion: boolean, |
| 406 | isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDiffer: boolean, |
| 407 | isShouldShowButtonGenericMustToBeCalled: boolean |
| 408 | ) => { |
| 409 | let node = <any> {}; |
| 410 | let serviceModelId : string = '08c5fa17-769a-4231-bd92-aed4b0ed086d'; |
| 411 | jest.spyOn(store, 'getState').mockReturnValue(<any>{ |
| 412 | global: { |
| 413 | "flags": { |
| 414 | "FLAG_FLASH_REPLACE_VF_MODULE": flag, |
| 415 | }, |
| 416 | } |
| 417 | }); |
| 418 | spyOn(service, 'isThereAnUpdatedLatestVersion').and.returnValue(isThereAnUpdatedLatestVersion); |
| 419 | spyOn(service, 'isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDiffer').and.returnValue(isVfmoduleAlmostPartOfModelOnlyCustomizationUuidDiffer); |
| 420 | |
| 421 | expect(service.isVfMoudleCouldBeUpgraded(node, serviceModelId)).toEqual(isShouldShowButtonGenericMustToBeCalled); |
| 422 | }); |
| 423 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 424 | }); |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 425 | |
| 426 | function getStore() { |
| 427 | return { |
| 428 | "global": { |
| 429 | "name": null, |
| 430 | "flags": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 431 | "EMPTY_DRAWING_BOARD_TEST": false, |
| 432 | "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 433 | "FLAG_ADD_MSO_TESTAPI_FIELD": true, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 434 | "FLAG_SERVICE_MODEL_CACHE": true, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 435 | "FLAG_SHOW_ASSIGNMENTS": true, |
| 436 | "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 437 | "FLAG_A_LA_CARTE_AUDIT_INFO": true, |
| 438 | "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST": true, |
| 439 | "FLAG_PRESENT_PROVIDER_NETWORKS_ASSOCIATIONS": true, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 440 | "FLAG_1902_NEW_VIEW_EDIT": true, |
| 441 | "FLAG_1810_IDENTIFY_SERVICE_FOR_NEW_UI": false, |
| 442 | "FLAG_1902_VNF_GROUPING": true, |
| 443 | "FLAG_SHOW_VERIFY_SERVICE": true, |
| 444 | "FLAG_ASYNC_ALACARTE_VFMODULE": true, |
| 445 | "FLAG_ASYNC_ALACARTE_VNF": true, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 446 | "FLAG_1810_AAI_LOCAL_CACHE": true, |
| 447 | "FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER": false, |
| 448 | "FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI": false, |
| 449 | "FLAG_SUPPLEMENTARY_FILE": true, |
| 450 | "FLAG_5G_IN_NEW_INSTANTIATION_UI": true, |
| 451 | "FLAG_RESTRICTED_SELECT": false, |
| 452 | "FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY": true |
| 453 | }, |
| 454 | "drawingBoardStatus": "VIEW", |
| 455 | "type": "UPDATE_DRAWING_BOARD_STATUS" |
| 456 | }, |
| 457 | "service": { |
| 458 | "serviceHierarchy": { |
| 459 | "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": { |
| 460 | "service": { |
| 461 | "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd", |
| 462 | "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632", |
| 463 | "name": "action-data", |
| 464 | "version": "1.0", |
| 465 | "toscaModelURL": null, |
| 466 | "category": "Network L1-3", |
| 467 | "serviceType": "pnf", |
| 468 | "serviceRole": "Testing", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 469 | "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 470 | "serviceEcompNaming": "false", |
| 471 | "instantiationType": "Macro", |
| 472 | "inputs": {}, |
| 473 | "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"} |
| 474 | }, |
| 475 | "vnfs": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 476 | "2017-388_PASQUALE-vPE 1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 477 | "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413", |
| 478 | "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 479 | "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM", |
| 480 | "name": "2017-388_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 481 | "version": "1.0", |
| 482 | "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a", |
| 483 | "inputs": {}, |
| 484 | "commands": {}, |
| 485 | "properties": { |
| 486 | "vmxvre_retype": "RE-VMX", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 487 | "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 488 | "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d", |
| 489 | "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9", |
| 490 | "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF", |
| 491 | "int_ctl_net_name": "VMX-INTXI", |
| 492 | "vmx_int_ctl_prefix": "10.0.0.10", |
| 493 | "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5", |
| 494 | "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279", |
| 495 | "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a", |
| 496 | "nf_type": "vPE", |
| 497 | "vmxvpfe_int_ctl_ip_1": "10.0.0.10", |
| 498 | "is_AVPN_service": "false", |
| 499 | "vmx_RSG_name": "vREXI-affinity", |
| 500 | "vmx_int_ctl_forwarding": "l2", |
| 501 | "vmxvre_oam_ip_0": "10.0.0.10", |
| 502 | "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF", |
| 503 | "vmxvpfe_sriov41_0_port_vlanstrip": "false", |
| 504 | "vmxvpfe_sriov42_0_port_vlanfilter": "4001", |
| 505 | "vmxvpfe_sriov44_0_port_unknownunicastallow": "true", |
| 506 | "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2", |
| 507 | "vmxvre_instance": "0", |
| 508 | "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF", |
| 509 | "vmxvre_flavor_name": "ns.c1r16d32.v5", |
| 510 | "vmxvpfe_volume_size_0": "40.0", |
| 511 | "vmxvpfe_sriov43_0_port_vlanfilter": "4001", |
| 512 | "nf_naming": "{ecomp_generated_naming=true}", |
| 513 | "multi_stage_design": "true", |
| 514 | "nf_naming_code": "Navneet", |
| 515 | "vmxvre_name_0": "vREXI", |
| 516 | "vmxvpfe_sriov42_0_port_vlanstrip": "false", |
| 517 | "vmxvpfe_volume_name_0": "vPFEXI_FBVolume", |
| 518 | "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141", |
| 519 | "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2", |
| 520 | "vmxvpfe_sriov43_0_port_unknownunicastallow": "true", |
| 521 | "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true", |
| 522 | "vmxvre_console": "vidconsole", |
| 523 | "vmxvpfe_sriov44_0_port_vlanfilter": "4001", |
| 524 | "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF", |
| 525 | "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3", |
| 526 | "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true", |
| 527 | "vmxvpfe_sriov44_0_port_vlanstrip": "false", |
| 528 | "vf_module_id": "123", |
| 529 | "nf_function": "JAI", |
| 530 | "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true", |
| 531 | "vmxvre_int_ctl_ip_0": "10.0.0.10", |
| 532 | "ecomp_generated_naming": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 533 | "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 534 | "vnf_name": "mtnj309me6vre", |
| 535 | "vmxvpfe_sriov41_0_port_unknownunicastallow": "true", |
| 536 | "vmxvre_volume_type_1": "HITACHI", |
| 537 | "vmxvpfe_sriov44_0_port_broadcastallow": "true", |
| 538 | "vmxvre_volume_type_0": "HITACHI", |
| 539 | "vmxvpfe_volume_type_0": "HITACHI", |
| 540 | "vmxvpfe_sriov43_0_port_broadcastallow": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 541 | "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 542 | "vnf_id": "123", |
| 543 | "vmxvre_oam_prefix": "24", |
| 544 | "availability_zone_0": "mtpocfo-kvm-az01", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 545 | "ASN": "get_input:2017488_pasqualevpe0_ASN", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 546 | "vmxvre_chassis_i2cid": "161", |
| 547 | "vmxvpfe_name_0": "vPFEXI", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 548 | "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 549 | "availability_zone_max_count": "1", |
| 550 | "vmxvre_volume_size_0": "45.0", |
| 551 | "vmxvre_volume_size_1": "50.0", |
| 552 | "vmxvpfe_sriov42_0_port_broadcastallow": "true", |
| 553 | "vmxvre_oam_gateway": "10.0.0.10", |
| 554 | "vmxvre_volume_name_1": "vREXI_FAVolume", |
| 555 | "vmxvre_ore_present": "0", |
| 556 | "vmxvre_volume_name_0": "vREXI_FBVolume", |
| 557 | "vmxvre_type": "0", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 558 | "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 559 | "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true", |
| 560 | "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429", |
| 561 | "vmx_int_ctl_len": "24", |
| 562 | "vmxvpfe_sriov43_0_port_vlanstrip": "false", |
| 563 | "vmxvpfe_sriov41_0_port_broadcastallow": "true", |
| 564 | "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d", |
| 565 | "vmxvpfe_sriov41_0_port_vlanfilter": "4001", |
| 566 | "nf_role": "Testing", |
| 567 | "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a", |
| 568 | "vmxvpfe_sriov42_0_port_unknownunicastallow": "true", |
| 569 | "vmxvpfe_flavor_name": "ns.c20r16d25.v5" |
| 570 | }, |
| 571 | "type": "VF", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 572 | "modelCustomizationName": "2017-388_PASQUALE-vPE 1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 573 | "vfModules": {}, |
| 574 | "volumeGroups": {}, |
| 575 | "vfcInstanceGroups": {} |
| 576 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 577 | "2017-388_PASQUALE-vPE 0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 578 | "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168", |
| 579 | "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 580 | "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM", |
| 581 | "name": "2017-388_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 582 | "version": "4.0", |
| 583 | "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c", |
| 584 | "inputs": {}, |
| 585 | "commands": {}, |
| 586 | "properties": { |
| 587 | "vmxvre_retype": "RE-VMX", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 588 | "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 589 | "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d", |
| 590 | "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9", |
| 591 | "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF", |
| 592 | "int_ctl_net_name": "VMX-INTXI", |
| 593 | "vmx_int_ctl_prefix": "10.0.0.10", |
| 594 | "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5", |
| 595 | "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279", |
| 596 | "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a", |
| 597 | "nf_type": "vPE", |
| 598 | "vmxvpfe_int_ctl_ip_1": "10.0.0.10", |
| 599 | "is_AVPN_service": "false", |
| 600 | "vmx_RSG_name": "vREXI-affinity", |
| 601 | "vmx_int_ctl_forwarding": "l2", |
| 602 | "vmxvre_oam_ip_0": "10.0.0.10", |
| 603 | "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF", |
| 604 | "vmxvpfe_sriov41_0_port_vlanstrip": "false", |
| 605 | "vmxvpfe_sriov42_0_port_vlanfilter": "4001", |
| 606 | "vmxvpfe_sriov44_0_port_unknownunicastallow": "true", |
| 607 | "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2", |
| 608 | "vmxvre_instance": "0", |
| 609 | "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF", |
| 610 | "vmxvre_flavor_name": "ns.c1r16d32.v5", |
| 611 | "vmxvpfe_volume_size_0": "40.0", |
| 612 | "vmxvpfe_sriov43_0_port_vlanfilter": "4001", |
| 613 | "nf_naming": "{ecomp_generated_naming=true}", |
| 614 | "multi_stage_design": "true", |
| 615 | "nf_naming_code": "Navneet", |
| 616 | "vmxvre_name_0": "vREXI", |
| 617 | "vmxvpfe_sriov42_0_port_vlanstrip": "false", |
| 618 | "vmxvpfe_volume_name_0": "vPFEXI_FBVolume", |
| 619 | "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141", |
| 620 | "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2", |
| 621 | "vmxvpfe_sriov43_0_port_unknownunicastallow": "true", |
| 622 | "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true", |
| 623 | "vmxvre_console": "vidconsole", |
| 624 | "vmxvpfe_sriov44_0_port_vlanfilter": "4001", |
| 625 | "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF", |
| 626 | "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3", |
| 627 | "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true", |
| 628 | "vmxvpfe_sriov44_0_port_vlanstrip": "false", |
| 629 | "vf_module_id": "123", |
| 630 | "nf_function": "JAI", |
| 631 | "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true", |
| 632 | "vmxvre_int_ctl_ip_0": "10.0.0.10", |
| 633 | "ecomp_generated_naming": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 634 | "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 635 | "vnf_name": "mtnj309me6vre", |
| 636 | "vmxvpfe_sriov41_0_port_unknownunicastallow": "true", |
| 637 | "vmxvre_volume_type_1": "HITACHI", |
| 638 | "vmxvpfe_sriov44_0_port_broadcastallow": "true", |
| 639 | "vmxvre_volume_type_0": "HITACHI", |
| 640 | "vmxvpfe_volume_type_0": "HITACHI", |
| 641 | "vmxvpfe_sriov43_0_port_broadcastallow": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 642 | "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 643 | "vnf_id": "123", |
| 644 | "vmxvre_oam_prefix": "24", |
| 645 | "availability_zone_0": "mtpocfo-kvm-az01", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 646 | "ASN": "get_input:2017488_pasqualevpe0_ASN", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 647 | "vmxvre_chassis_i2cid": "161", |
| 648 | "vmxvpfe_name_0": "vPFEXI", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 649 | "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 650 | "availability_zone_max_count": "1", |
| 651 | "vmxvre_volume_size_0": "45.0", |
| 652 | "vmxvre_volume_size_1": "50.0", |
| 653 | "vmxvpfe_sriov42_0_port_broadcastallow": "true", |
| 654 | "vmxvre_oam_gateway": "10.0.0.10", |
| 655 | "vmxvre_volume_name_1": "vREXI_FAVolume", |
| 656 | "vmxvre_ore_present": "0", |
| 657 | "vmxvre_volume_name_0": "vREXI_FBVolume", |
| 658 | "vmxvre_type": "0", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 659 | "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 660 | "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true", |
| 661 | "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429", |
| 662 | "vmx_int_ctl_len": "24", |
| 663 | "vmxvpfe_sriov43_0_port_vlanstrip": "false", |
| 664 | "vmxvpfe_sriov41_0_port_broadcastallow": "true", |
| 665 | "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d", |
| 666 | "vmxvpfe_sriov41_0_port_vlanfilter": "4001", |
| 667 | "nf_role": "Testing", |
| 668 | "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a", |
| 669 | "vmxvpfe_sriov42_0_port_unknownunicastallow": "true", |
| 670 | "vmxvpfe_flavor_name": "ns.c20r16d25.v5" |
| 671 | }, |
| 672 | "type": "VF", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 673 | "modelCustomizationName": "2017-388_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 674 | "vfModules": {}, |
| 675 | "volumeGroups": {}, |
| 676 | "vfcInstanceGroups": {} |
| 677 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 678 | "2017-488_PASQUALE-vPE 0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 679 | "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09", |
| 680 | "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 681 | "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM", |
| 682 | "name": "2017-488_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 683 | "version": "5.0", |
| 684 | "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45", |
| 685 | "inputs": {}, |
| 686 | "commands": {}, |
| 687 | "properties": { |
| 688 | "max_instances": 1, |
| 689 | "vmxvre_retype": "RE-VMX", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 690 | "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 691 | "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d", |
| 692 | "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9", |
| 693 | "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF", |
| 694 | "int_ctl_net_name": "VMX-INTXI", |
| 695 | "vmx_int_ctl_prefix": "10.0.0.10", |
| 696 | "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5", |
| 697 | "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279", |
| 698 | "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a", |
| 699 | "nf_type": "vPE", |
| 700 | "vmxvpfe_int_ctl_ip_1": "10.0.0.10", |
| 701 | "is_AVPN_service": "false", |
| 702 | "vmx_RSG_name": "vREXI-affinity", |
| 703 | "vmx_int_ctl_forwarding": "l2", |
| 704 | "vmxvre_oam_ip_0": "10.0.0.10", |
| 705 | "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF", |
| 706 | "vmxvpfe_sriov41_0_port_vlanstrip": "false", |
| 707 | "vmxvpfe_sriov42_0_port_vlanfilter": "4001", |
| 708 | "vmxvpfe_sriov44_0_port_unknownunicastallow": "true", |
| 709 | "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2", |
| 710 | "vmxvre_instance": "0", |
| 711 | "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF", |
| 712 | "vmxvre_flavor_name": "ns.c1r16d32.v5", |
| 713 | "vmxvpfe_volume_size_0": "40.0", |
| 714 | "vmxvpfe_sriov43_0_port_vlanfilter": "4001", |
| 715 | "nf_naming": "{ecomp_generated_naming=true}", |
| 716 | "multi_stage_design": "true", |
| 717 | "nf_naming_code": "Navneet", |
| 718 | "vmxvre_name_0": "vREXI", |
| 719 | "vmxvpfe_sriov42_0_port_vlanstrip": "false", |
| 720 | "vmxvpfe_volume_name_0": "vPFEXI_FBVolume", |
| 721 | "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141", |
| 722 | "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2", |
| 723 | "vmxvpfe_sriov43_0_port_unknownunicastallow": "true", |
| 724 | "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true", |
| 725 | "vmxvre_console": "vidconsole", |
| 726 | "vmxvpfe_sriov44_0_port_vlanfilter": "4001", |
| 727 | "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF", |
| 728 | "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3", |
| 729 | "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true", |
| 730 | "vmxvpfe_sriov44_0_port_vlanstrip": "false", |
| 731 | "vf_module_id": "123", |
| 732 | "nf_function": "JAI", |
| 733 | "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true", |
| 734 | "vmxvre_int_ctl_ip_0": "10.0.0.10", |
| 735 | "ecomp_generated_naming": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 736 | "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 737 | "vnf_name": "mtnj309me6vre", |
| 738 | "vmxvpfe_sriov41_0_port_unknownunicastallow": "true", |
| 739 | "vmxvre_volume_type_1": "HITACHI", |
| 740 | "vmxvpfe_sriov44_0_port_broadcastallow": "true", |
| 741 | "vmxvre_volume_type_0": "HITACHI", |
| 742 | "vmxvpfe_volume_type_0": "HITACHI", |
| 743 | "vmxvpfe_sriov43_0_port_broadcastallow": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 744 | "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 745 | "vnf_id": "123", |
| 746 | "vmxvre_oam_prefix": "24", |
| 747 | "availability_zone_0": "mtpocfo-kvm-az01", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 748 | "ASN": "get_input:2017488_pasqualevpe0_ASN", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 749 | "vmxvre_chassis_i2cid": "161", |
| 750 | "vmxvpfe_name_0": "vPFEXI", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 751 | "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 752 | "availability_zone_max_count": "1", |
| 753 | "vmxvre_volume_size_0": "45.0", |
| 754 | "vmxvre_volume_size_1": "50.0", |
| 755 | "vmxvpfe_sriov42_0_port_broadcastallow": "true", |
| 756 | "vmxvre_oam_gateway": "10.0.0.10", |
| 757 | "vmxvre_volume_name_1": "vREXI_FAVolume", |
| 758 | "vmxvre_ore_present": "0", |
| 759 | "vmxvre_volume_name_0": "vREXI_FBVolume", |
| 760 | "vmxvre_type": "0", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 761 | "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 762 | "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true", |
| 763 | "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429", |
| 764 | "vmx_int_ctl_len": "24", |
| 765 | "vmxvpfe_sriov43_0_port_vlanstrip": "false", |
| 766 | "vmxvpfe_sriov41_0_port_broadcastallow": "true", |
| 767 | "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d", |
| 768 | "vmxvpfe_sriov41_0_port_vlanfilter": "4001", |
| 769 | "nf_role": "Testing", |
| 770 | "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a", |
| 771 | "vmxvpfe_sriov42_0_port_unknownunicastallow": "true", |
| 772 | "vmxvpfe_flavor_name": "ns.c20r16d25.v5" |
| 773 | }, |
| 774 | "type": "VF", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 775 | "modelCustomizationName": "2017-488_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 776 | "vfModules": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 777 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 778 | "uuid": "25284168-24bb-4698-8cb4-3f509146eca5", |
| 779 | "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1", |
| 780 | "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401", |
| 781 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 782 | "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 783 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 784 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 785 | "properties": { |
| 786 | "minCountInstances": 0, |
| 787 | "maxCountInstances": null, |
| 788 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 789 | "vfModuleLabel": "PASQUALE_vRE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 790 | "baseModule": false |
| 791 | }, |
| 792 | "inputs": {}, |
| 793 | "volumeGroupAllowed": true |
| 794 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 795 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 796 | "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db", |
| 797 | "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091", |
| 798 | "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3", |
| 799 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 800 | "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 801 | "version": "5", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 802 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 803 | "properties": { |
| 804 | "minCountInstances": 1, |
| 805 | "maxCountInstances": 1, |
| 806 | "initialCount": 1, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 807 | "vfModuleLabel": "PASQUALE_base_vPE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 808 | "baseModule": true |
| 809 | }, |
| 810 | "inputs": {}, |
| 811 | "volumeGroupAllowed": false |
| 812 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 813 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 814 | "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a", |
| 815 | "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339", |
| 816 | "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557", |
| 817 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 818 | "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 819 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 820 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 821 | "properties": { |
| 822 | "minCountInstances": 0, |
| 823 | "maxCountInstances": null, |
| 824 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 825 | "vfModuleLabel": "PASQUALE_vPFE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 826 | "baseModule": false |
| 827 | }, |
| 828 | "inputs": {}, |
| 829 | "volumeGroupAllowed": true |
| 830 | } |
| 831 | }, |
| 832 | "volumeGroups": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 833 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 834 | "uuid": "25284168-24bb-4698-8cb4-3f509146eca5", |
| 835 | "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1", |
| 836 | "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401", |
| 837 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 838 | "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 839 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 840 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 841 | "properties": { |
| 842 | "minCountInstances": 0, |
| 843 | "maxCountInstances": null, |
| 844 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 845 | "vfModuleLabel": "PASQUALE_vRE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 846 | "baseModule": false |
| 847 | }, |
| 848 | "inputs": {} |
| 849 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 850 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 851 | "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a", |
| 852 | "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339", |
| 853 | "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557", |
| 854 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 855 | "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 856 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 857 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 858 | "properties": { |
| 859 | "minCountInstances": 0, |
| 860 | "maxCountInstances": null, |
| 861 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 862 | "vfModuleLabel": "PASQUALE_vPFE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 863 | "baseModule": false |
| 864 | }, |
| 865 | "inputs": {} |
| 866 | } |
| 867 | }, |
| 868 | "vfcInstanceGroups": {} |
| 869 | } |
| 870 | }, |
| 871 | "networks": { |
| 872 | "ExtVL 0": { |
| 873 | "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986", |
| 874 | "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c", |
| 875 | "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks", |
| 876 | "name": "ExtVL", |
| 877 | "version": "37.0", |
| 878 | "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f", |
| 879 | "inputs": {}, |
| 880 | "commands": {}, |
| 881 | "properties": { |
| 882 | "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}", |
| 883 | "exVL_naming": "{ecomp_generated_naming=true}", |
| 884 | "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}", |
| 885 | "network_homing": "{ecomp_selected_instance_node_target=false}" |
| 886 | }, |
| 887 | "type": "VL", |
| 888 | "modelCustomizationName": "ExtVL 0" |
| 889 | } |
| 890 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 891 | "collectionResources": {}, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 892 | "configurations": {}, |
| 893 | "fabricConfigurations": {}, |
| 894 | "serviceProxies": {}, |
| 895 | "vfModules": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 896 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 897 | "uuid": "25284168-24bb-4698-8cb4-3f509146eca5", |
| 898 | "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1", |
| 899 | "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401", |
| 900 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 901 | "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 902 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 903 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 904 | "properties": { |
| 905 | "minCountInstances": 0, |
| 906 | "maxCountInstances": null, |
| 907 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 908 | "vfModuleLabel": "PASQUALE_vRE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 909 | "baseModule": false |
| 910 | }, |
| 911 | "inputs": {}, |
| 912 | "volumeGroupAllowed": true |
| 913 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 914 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 915 | "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db", |
| 916 | "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091", |
| 917 | "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3", |
| 918 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 919 | "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 920 | "version": "5", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 921 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 922 | "properties": { |
| 923 | "minCountInstances": 1, |
| 924 | "maxCountInstances": 1, |
| 925 | "initialCount": 1, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 926 | "vfModuleLabel": "PASQUALE_base_vPE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 927 | "baseModule": true |
| 928 | }, |
| 929 | "inputs": {}, |
| 930 | "volumeGroupAllowed": false |
| 931 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 932 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 933 | "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a", |
| 934 | "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339", |
| 935 | "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557", |
| 936 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 937 | "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 938 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 939 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 940 | "properties": { |
| 941 | "minCountInstances": 0, |
| 942 | "maxCountInstances": null, |
| 943 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 944 | "vfModuleLabel": "PASQUALE_vPFE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 945 | "baseModule": false |
| 946 | }, |
| 947 | "inputs": {}, |
| 948 | "volumeGroupAllowed": true |
| 949 | } |
| 950 | }, |
| 951 | "volumeGroups": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 952 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 953 | "uuid": "25284168-24bb-4698-8cb4-3f509146eca5", |
| 954 | "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1", |
| 955 | "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401", |
| 956 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 957 | "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 958 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 959 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 960 | "properties": { |
| 961 | "minCountInstances": 0, |
| 962 | "maxCountInstances": null, |
| 963 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 964 | "vfModuleLabel": "PASQUALE_vRE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 965 | "baseModule": false |
| 966 | }, |
| 967 | "inputs": {} |
| 968 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 969 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 970 | "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a", |
| 971 | "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339", |
| 972 | "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557", |
| 973 | "description": null, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 974 | "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 975 | "version": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 976 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 977 | "properties": { |
| 978 | "minCountInstances": 0, |
| 979 | "maxCountInstances": null, |
| 980 | "initialCount": 0, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 981 | "vfModuleLabel": "PASQUALE_vPFE_BV", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 982 | "baseModule": false |
| 983 | }, |
| 984 | "inputs": {} |
| 985 | } |
| 986 | }, |
| 987 | "pnfs": {}, |
| 988 | "vnfGroups": { |
| 989 | "groupingservicefortest..ResourceInstanceGroup..0": { |
| 990 | "type": "VnfGroup", |
| 991 | "invariantUuid": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45", |
| 992 | "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48", |
| 993 | "version": "1", |
| 994 | "name": "groupingservicefortest..ResourceInstanceGroup..0", |
| 995 | "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0", |
| 996 | "properties": { |
| 997 | "contained_resource_type": "VF", |
| 998 | "role": "SERVICE-ACCESS", |
| 999 | "function": "DATA", |
| 1000 | "description": "DDD0", |
| 1001 | "type": "LOAD-GROUP", |
| 1002 | "ecomp_generated_naming": "true" |
| 1003 | }, |
| 1004 | "members": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1005 | "vdorothea_svc_vprs_proxy 0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1006 | "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c", |
| 1007 | "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1008 | "description": "A Proxy for Service vDOROTHEA_Svc_vPRS", |
| 1009 | "name": "vDOROTHEA_Svc_vPRS Service Proxy", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1010 | "version": "1.0", |
| 1011 | "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9", |
| 1012 | "inputs": {}, |
| 1013 | "commands": {}, |
| 1014 | "properties": {}, |
| 1015 | "type": "Service Proxy", |
| 1016 | "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274", |
| 1017 | "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1018 | "sourceModelName": "vDOROTHEA_Svc_vPRS" |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1019 | } |
| 1020 | } |
| 1021 | }, |
| 1022 | "groupingservicefortest..ResourceInstanceGroup..1": { |
| 1023 | "type": "VnfGroup", |
| 1024 | "invariantUuid": "a704112d-dbc6-4e56-8d4e-aec57e95ef9a", |
| 1025 | "uuid": "c2b300e6-45de-4e5e-abda-3032bee2de56", |
| 1026 | "version": "1", |
| 1027 | "name": "groupingservicefortest..ResourceInstanceGroup..1", |
| 1028 | "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..1", |
| 1029 | "properties": { |
| 1030 | "contained_resource_type": "VF", |
| 1031 | "role": "SERVICE-ACCESS", |
| 1032 | "function": "SIGNALING", |
| 1033 | "description": "DDD1", |
| 1034 | "type": "LOAD-GROUP", |
| 1035 | "ecomp_generated_naming": "true" |
| 1036 | }, |
| 1037 | "members": { |
| 1038 | "tsbc0001vm001_svc_proxy 0": { |
| 1039 | "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c", |
| 1040 | "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc", |
| 1041 | "description": "A Proxy for Service tsbc0001vm001_Svc", |
| 1042 | "name": "tsbc0001vm001_Svc Service Proxy", |
| 1043 | "version": "1.0", |
| 1044 | "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead", |
| 1045 | "inputs": {}, |
| 1046 | "commands": {}, |
| 1047 | "properties": {}, |
| 1048 | "type": "Service Proxy", |
| 1049 | "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309", |
| 1050 | "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047", |
| 1051 | "sourceModelName": "tsbc0001vm001_Svc" |
| 1052 | } |
| 1053 | } |
| 1054 | } |
| 1055 | } |
| 1056 | }, |
| 1057 | "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6": { |
| 1058 | "service": { |
| 1059 | "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6", |
| 1060 | "invariantUuid": "5b9c0f33-eec1-484a-bf77-736a6644d7a8", |
| 1061 | "name": "Using VID for VoIP Network Instantiations Shani", |
| 1062 | "version": "1.0", |
| 1063 | "toscaModelURL": null, |
| 1064 | "category": "VoIP Call Control", |
| 1065 | "serviceType": "", |
| 1066 | "serviceRole": "", |
| 1067 | "description": "Using VID for VoIP Network Instantiations Shani", |
| 1068 | "serviceEcompNaming": "true", |
| 1069 | "instantiationType": "ClientConfig", |
| 1070 | "inputs": {}, |
| 1071 | "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"} |
| 1072 | }, |
| 1073 | "vnfs": {}, |
| 1074 | "networks": { |
| 1075 | "AIC30_CONTRAIL_BASIC 0": { |
| 1076 | "uuid": "ac815c68-35b7-4ea4-9d04-92d2f844b27c", |
| 1077 | "invariantUuid": "de01afb5-532b-451d-aac4-ff9ff0644060", |
| 1078 | "description": "Basic contrail 3.0.x L3 network for AIC 3.x sites. ", |
| 1079 | "name": "AIC30_CONTRAIL_BASIC", |
| 1080 | "version": "3.0", |
| 1081 | "customizationUuid": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf", |
| 1082 | "inputs": {}, |
| 1083 | "commands": {}, |
| 1084 | "properties": { |
| 1085 | "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}", |
| 1086 | "exVL_naming": "{ecomp_generated_naming=true}", |
| 1087 | "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}", |
| 1088 | "network_scope": "Service", |
| 1089 | "network_type": "AIC30_CONTRAIL_BASIC", |
| 1090 | "network_technology": "Contrail", |
| 1091 | "network_homing": "{ecomp_selected_instance_node_target=false}" |
| 1092 | }, |
| 1093 | "type": "VL", |
| 1094 | "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0" |
| 1095 | } |
| 1096 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1097 | "collectionResources": {}, |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1098 | "configurations": {}, |
| 1099 | "fabricConfigurations": {}, |
| 1100 | "serviceProxies": {}, |
| 1101 | "vfModules": {}, |
| 1102 | "volumeGroups": {}, |
| 1103 | "pnfs": {}, |
| 1104 | "vnfGroups": {} |
| 1105 | } |
| 1106 | }, |
| 1107 | "serviceInstance": { |
| 1108 | "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": { |
| 1109 | "vnfs": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1110 | "2017-488_PASQUALE-vPE 0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1111 | "action": "None", |
| 1112 | "inMaint": false, |
| 1113 | "rollbackOnFailure": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1114 | "originalName": "2017-488_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1115 | "isMissingData": false, |
| 1116 | "trackById": "stigekyxrqi", |
| 1117 | "vfModules": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1118 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": { |
| 1119 | "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1120 | "isMissingData": false, |
| 1121 | "sdncPreReload": null, |
| 1122 | "modelInfo": { |
| 1123 | "modelType": "VFmodule", |
| 1124 | "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091", |
| 1125 | "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1126 | "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1127 | "modelVersion": "5", |
| 1128 | "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1129 | "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0" |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1130 | }, |
| 1131 | "instanceParams": [{}], |
| 1132 | "trackById": "3oj23o7nupo" |
| 1133 | } |
| 1134 | } |
| 1135 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1136 | "vnfStoreKey": "2017-488_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1137 | "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09", |
| 1138 | "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1139 | "lcpCloudRegionId": "AAIAIC25", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1140 | "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1141 | "lineOfBusiness": "ONAP", |
| 1142 | "platformName": "xxx1", |
| 1143 | "modelInfo": { |
| 1144 | "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8", |
| 1145 | "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1146 | "modelName": "2017-488_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1147 | "modelVersion": "5.0", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1148 | "modelCustomizationName": "2017-488_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1149 | "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45", |
| 1150 | "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09" |
| 1151 | }, |
| 1152 | "legacyRegion": "11111111", |
| 1153 | "instanceParams": [{}] |
| 1154 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1155 | "2017-388_PASQUALE-vPE 0": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1156 | "action": "Create", |
| 1157 | "inMaint": false, |
| 1158 | "rollbackOnFailure": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1159 | "originalName": "2017-388_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1160 | "isMissingData": false, |
| 1161 | "trackById": "nib719t5vca", |
| 1162 | "vfModules": {}, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1163 | "vnfStoreKey": "2017-388_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1164 | "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1165 | "lcpCloudRegionId": "AAIAIC25", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1166 | "legacyRegion": "11111", |
| 1167 | "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1168 | "platformName": "platform", |
| 1169 | "lineOfBusiness": "zzz1", |
| 1170 | "instanceParams": [{}], |
| 1171 | "modelInfo": { |
| 1172 | "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8", |
| 1173 | "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1174 | "modelName": "2017-388_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1175 | "modelVersion": "4.0", |
| 1176 | "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1177 | "modelCustomizationName": "2017-388_PASQUALE-vPE 0", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1178 | "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168" |
| 1179 | }, |
| 1180 | "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168" |
| 1181 | }, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1182 | "2017-388_PASQUALE-vPE 1": { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1183 | "action": "None", |
| 1184 | "inMaint": false, |
| 1185 | "rollbackOnFailure": "true", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1186 | "originalName": "2017-388_PASQUALE-vPE 1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1187 | "isMissingData": false, |
| 1188 | "trackById": "cv7l1ak8vpe", |
| 1189 | "vfModules": {}, |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1190 | "vnfStoreKey": "2017-388_PASQUALE-vPE 1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1191 | "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1192 | "lcpCloudRegionId": "AAIAIC25", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1193 | "legacyRegion": "123", |
| 1194 | "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1195 | "platformName": "platform", |
| 1196 | "lineOfBusiness": "ONAP", |
| 1197 | "instanceParams": [{}], |
| 1198 | "modelInfo": { |
| 1199 | "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d", |
| 1200 | "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1201 | "modelName": "2017-388_PASQUALE-vPE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1202 | "modelVersion": "1.0", |
| 1203 | "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1204 | "modelCustomizationName": "2017-388_PASQUALE-vPE 1", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1205 | "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413" |
| 1206 | }, |
| 1207 | "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413" |
| 1208 | } |
| 1209 | }, |
| 1210 | "instanceParams": [{}], |
| 1211 | "validationCounter": 0, |
| 1212 | "existingNames": {"yoav": ""}, |
| 1213 | "existingVNFCounterMap": { |
| 1214 | "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1, |
| 1215 | "afacccf6-397d-45d6-b5ae-94c39734b168": 1, |
| 1216 | "0903e1c0-8e03-4936-b5c2-260653b96413": 1 |
| 1217 | }, |
| 1218 | "existingVnfGroupCounterMap": { |
| 1219 | "daeb6568-cef8-417f-9075-ed259ce59f48": 0, |
| 1220 | "c2b300e6-45de-4e5e-abda-3032bee2de56": -1 |
| 1221 | }, |
| 1222 | "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1}, |
| 1223 | "networks": { |
| 1224 | "ExtVL 0": { |
| 1225 | "inMaint": false, |
| 1226 | "rollbackOnFailure": "true", |
| 1227 | "originalName": "ExtVL 0", |
| 1228 | "isMissingData": false, |
| 1229 | "trackById": "s6okajvv2n8", |
| 1230 | "networkStoreKey": "ExtVL 0", |
| 1231 | "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1232 | "lcpCloudRegionId": "AAIAIC25", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1233 | "legacyRegion": "12355555", |
| 1234 | "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1235 | "platformName": "platform", |
| 1236 | "lineOfBusiness": null, |
| 1237 | "instanceParams": [{}], |
| 1238 | "modelInfo": { |
| 1239 | "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c", |
| 1240 | "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986", |
| 1241 | "modelName": "ExtVL", |
| 1242 | "modelVersion": "37.0", |
| 1243 | "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f", |
| 1244 | "modelCustomizationName": "ExtVL 0", |
| 1245 | "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986" |
| 1246 | }, |
| 1247 | "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986" |
| 1248 | } |
| 1249 | }, |
| 1250 | "vnfGroups": { |
| 1251 | "groupingservicefortest..ResourceInstanceGroup..0": { |
| 1252 | "inMaint": false, |
| 1253 | "rollbackOnFailure": "true", |
| 1254 | "originalName": "groupingservicefortest..ResourceInstanceGroup..0", |
| 1255 | "isMissingData": false, |
| 1256 | "trackById": "se0obn93qq", |
| 1257 | "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0", |
| 1258 | "instanceName": "groupingservicefortestResourceInstanceGroup0", |
| 1259 | "instanceParams": [{}], |
| 1260 | "modelInfo": { |
| 1261 | "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45", |
| 1262 | "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48", |
| 1263 | "modelName": "groupingservicefortest..ResourceInstanceGroup..0", |
| 1264 | "modelVersion": "1", |
| 1265 | "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0", |
| 1266 | "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48" |
| 1267 | }, |
| 1268 | "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48" |
| 1269 | } |
| 1270 | }, |
| 1271 | "instanceName": "yoav", |
| 1272 | "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89", |
| 1273 | "subscriptionServiceType": "TYLER SILVIA", |
| 1274 | "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", |
| 1275 | "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1276 | "lcpCloudRegionId": "AAIAIC25", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1277 | "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1278 | "aicZoneId": "ATL53", |
| 1279 | "pause": null, |
| 1280 | "projectName": "WATKINS", |
| 1281 | "rollbackOnFailure": "true", |
| 1282 | "bulkSize": 1, |
| 1283 | "aicZoneName": "AAIATLTE-ATL53", |
| 1284 | "owningEntityName": "WayneHolland", |
| 1285 | "testApi": "VNF_API", |
| 1286 | "isEcompGeneratedNaming": false, |
| 1287 | "tenantName": "USP-SIP-IC-24335-T-01", |
| 1288 | "modelInfo": { |
| 1289 | "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632", |
| 1290 | "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd", |
| 1291 | "modelName": "action-data", |
| 1292 | "modelVersion": "1.0", |
| 1293 | "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd" |
| 1294 | }, |
| 1295 | "isALaCarte": false, |
| 1296 | "name": "action-data", |
| 1297 | "version": "1.0", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1298 | "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1299 | "category": "Network L1-3", |
| 1300 | "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd", |
| 1301 | "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632", |
| 1302 | "serviceType": "pnf", |
| 1303 | "serviceRole": "Testing", |
| 1304 | "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}, |
| 1305 | "isMultiStepDesign": true |
| 1306 | } |
| 1307 | }, |
| 1308 | "lcpRegionsAndTenants": { |
| 1309 | "lcpRegionList": [{ |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1310 | "id": "AAIAIC25", |
| 1311 | "name": "AAIAIC25 (AIC)", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1312 | "isPermitted": true, |
| 1313 | "cloudOwner": "irma-aic" |
| 1314 | }, {"id": "hvf6", "name": "hvf6 (AIC)", "isPermitted": true, "cloudOwner": "irma-aic"}], |
| 1315 | "lcpRegionsTenantsMap": { |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1316 | "AAIAIC25": [{ |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1317 | "id": "092eb9e8e4b7412e8787dd091bc58e86", |
| 1318 | "name": "USP-SIP-IC-24335-T-01", |
| 1319 | "isPermitted": true, |
| 1320 | "cloudOwner": "irma-aic" |
| 1321 | }], |
| 1322 | "hvf6": [{ |
| 1323 | "id": "bae71557c5bb4d5aac6743a4e5f1d054", |
| 1324 | "name": "AIN Web Tool-15-D-testalexandria", |
| 1325 | "isPermitted": true, |
| 1326 | "cloudOwner": "irma-aic" |
| 1327 | }, { |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 1328 | "id": "d0a3e3f2964542259d155a81c41aadc3", |
| 1329 | "name": "test-hvf6-09", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1330 | "isPermitted": true, |
| 1331 | "cloudOwner": "irma-aic" |
| 1332 | }, { |
| 1333 | "id": "fa45ca53c80b492fa8be5477cd84fc2b", |
| 1334 | "name": "ro-T112", |
| 1335 | "isPermitted": true, |
| 1336 | "cloudOwner": "irma-aic" |
| 1337 | }, { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1338 | "id": "cbb99fe4ada84631b7baf046b6fd2044", |
| 1339 | "name": "DN5242-Nov16-T3", |
| 1340 | "isPermitted": true, |
| 1341 | "cloudOwner": "irma-aic" |
| 1342 | }] |
| 1343 | } |
| 1344 | }, |
| 1345 | "subscribers": [{ |
| 1346 | "id": "ERICA5779-Subscriber-2", |
| 1347 | "name": "ERICA5779-Subscriber-2", |
| 1348 | "isPermitted": false |
| 1349 | }, { |
| 1350 | "id": "ERICA5779-Subscriber-3", |
| 1351 | "name": "ERICA5779-Subscriber-3", |
| 1352 | "isPermitted": false |
| 1353 | }, { |
| 1354 | "id": "ERICA5779-Subscriber-4", |
| 1355 | "name": "ERICA5779-Subscriber-5", |
| 1356 | "isPermitted": false |
| 1357 | }, { |
| 1358 | "id": "ERICA5779-TestSub-PWT-101", |
| 1359 | "name": "ERICA5779-TestSub-PWT-101", |
| 1360 | "isPermitted": false |
| 1361 | }, { |
| 1362 | "id": "ERICA5779-TestSub-PWT-102", |
| 1363 | "name": "ERICA5779-TestSub-PWT-102", |
| 1364 | "isPermitted": false |
| 1365 | }, { |
| 1366 | "id": "ERICA5779-TestSub-PWT-103", |
| 1367 | "name": "ERICA5779-TestSub-PWT-103", |
| 1368 | "isPermitted": false |
| 1369 | }, { |
| 1370 | "id": "31739f3e-526b-11e6-beb8-9e71128cae77", |
| 1371 | "name": "CRAIG/ROBERTS", |
| 1372 | "isPermitted": false |
| 1373 | }, {"id": "DHV1707-TestSubscriber-2", "name": "DALE BRIDGES", "isPermitted": false}, { |
| 1374 | "id": "jimmy-example", |
| 1375 | "name": "JimmyExampleCust-20161102", |
| 1376 | "isPermitted": false |
| 1377 | }, {"id": "jimmy-example2", "name": "JimmyExampleCust-20161103", "isPermitted": false}, { |
| 1378 | "id": "CAR_2020_ER", |
| 1379 | "name": "CAR_2020_ER", |
| 1380 | "isPermitted": true |
| 1381 | }, { |
| 1382 | "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", |
| 1383 | "name": "Emanuel", |
| 1384 | "isPermitted": false |
| 1385 | }, { |
| 1386 | "id": "21014aa2-526b-11e6-beb8-9e71128cae77", |
| 1387 | "name": "JULIO ERICKSON", |
| 1388 | "isPermitted": false |
| 1389 | }, { |
| 1390 | "id": "DHV1707-TestSubscriber-1", |
| 1391 | "name": "LLOYD BRIDGES", |
| 1392 | "isPermitted": false |
| 1393 | }, {"id": "e433710f-9217-458d-a79d-1c7aff376d89", "name": "SILVIA ROBBINS", "isPermitted": true}], |
| 1394 | "productFamilies": null, |
| 1395 | "serviceTypes": { |
| 1396 | "e433710f-9217-458d-a79d-1c7aff376d89": [{ |
| 1397 | "id": "17", |
| 1398 | "name": "JOHANNA_SANTOS", |
| 1399 | "isPermitted": false |
| 1400 | }, {"id": "16", "name": "LINDSEY", "isPermitted": false}, { |
| 1401 | "id": "2", |
| 1402 | "name": "Emanuel", |
| 1403 | "isPermitted": false |
| 1404 | }, {"id": "5", "name": "Kennedy", "isPermitted": false}, { |
| 1405 | "id": "14", |
| 1406 | "name": "SSD", |
| 1407 | "isPermitted": false |
| 1408 | }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, { |
| 1409 | "id": "12", |
| 1410 | "name": "VPMS", |
| 1411 | "isPermitted": false |
| 1412 | }, {"id": "3", "name": "vJamie", "isPermitted": false}, { |
| 1413 | "id": "0", |
| 1414 | "name": "vRichardson", |
| 1415 | "isPermitted": false |
| 1416 | }, {"id": "18", "name": "vCarroll", "isPermitted": false}, { |
| 1417 | "id": "9", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1418 | "name": "vFLORENCE", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1419 | "isPermitted": false |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1420 | }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1421 | "id": "10", |
| 1422 | "name": "vMNS", |
| 1423 | "isPermitted": false |
| 1424 | }, {"id": "15", "name": "vMOG", "isPermitted": false}, { |
| 1425 | "id": "8", |
| 1426 | "name": "vOTA", |
| 1427 | "isPermitted": false |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1428 | }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, { |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1429 | "id": "6", |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1430 | "name": "vPorfirio", |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1431 | "isPermitted": false |
| 1432 | }, {"id": "7", "name": "vVM", "isPermitted": false}, {"id": "4", "name": "vVoiceMail", "isPermitted": false}] |
| 1433 | }, |
Einat Vinouze | e1f7974 | 2019-08-27 16:01:01 +0300 | [diff] [blame] | 1434 | "aicZones": [ |
| 1435 | { |
| 1436 | "id": "NFT1", |
| 1437 | "name": "NFTJSSSS-NFT1" |
| 1438 | }, |
| 1439 | { |
| 1440 | "id": "JAG1", |
| 1441 | "name": "YUDFJULP-JAG1" |
| 1442 | }, |
| 1443 | { |
| 1444 | "id": "YYY1", |
| 1445 | "name": "UUUAIAAI-YYY1" |
| 1446 | }, |
| 1447 | { |
| 1448 | "id": "AVT1", |
| 1449 | "name": "AVTRFLHD-AVT1" |
| 1450 | }, |
| 1451 | { |
| 1452 | "id": "ATL34", |
| 1453 | "name": "ATLSANAI-ATL34" |
| 1454 | } |
| 1455 | ], |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1456 | "categoryParameters": { |
| 1457 | "owningEntityList": [{ |
| 1458 | "id": "aaa1", |
| 1459 | "name": "aaa1" |
| 1460 | }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, { |
| 1461 | "id": "Melissa", |
| 1462 | "name": "Melissa" |
| 1463 | }], |
| 1464 | "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}], |
| 1465 | "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}], |
| 1466 | "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}] |
| 1467 | }, |
| 1468 | "type": "UPDATE_LCP_REGIONS_AND_TENANTS" |
| 1469 | } |
| 1470 | } |
| 1471 | } |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 1472 | |
| 1473 | function getNetworkModel(){ |
| 1474 | return { |
| 1475 | "customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f", |
| 1476 | "name":"ExtVL", |
| 1477 | "version":"37.0", |
| 1478 | "description":"ECOMP generic virtual link (network) base type for all other service-level and global networks", |
| 1479 | "uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986", |
| 1480 | "invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c", |
| 1481 | "max":1, |
| 1482 | "min":0, |
| 1483 | "isEcompGeneratedNaming":false, |
| 1484 | "type":"VL", |
| 1485 | "modelCustomizationName":"ExtVL 0", |
| 1486 | "roles":["network role 1"," network role 2"], |
| 1487 | "properties":{ |
| 1488 | "network_role":"network role 1, network role 2", |
| 1489 | "network_assignments": |
| 1490 | "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}", |
| 1491 | "exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}", |
| 1492 | "network_homing":"{ecomp_selected_instance_node_target=false}" |
| 1493 | } |
| 1494 | }; |
| 1495 | |
| 1496 | } |
| 1497 | |
| 1498 | function getNetworkInstance() { |
| 1499 | return { |
| 1500 | "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f", |
| 1501 | "modelId": "ddc3f20c-08b5-40fd-af72-c6d14636b986", |
| 1502 | "modelUniqueId": "94fdd893-4a36-4d70-b16a-ec29c54c184f", |
| 1503 | "missingData": true, |
| 1504 | "id": "NETWORK4_INSTANCE_ID", |
| 1505 | "action": "None", |
| 1506 | "orchStatus": "Created", |
| 1507 | "provStatus": "preprov", |
| 1508 | "inMaint": false, |
| 1509 | "instanceId": "NETWORK4_INSTANCE_ID", |
| 1510 | "instanceType": "CONTRAIL30_HIMELGUARD", |
| 1511 | "instanceName": "NETWORK4_INSTANCE_NAME", |
| 1512 | "name": "NETWORK4_INSTANCE_NAME", |
| 1513 | "modelName": "ExtVL 0", |
| 1514 | "type": "VL", |
| 1515 | "isEcompGeneratedNaming": false, |
| 1516 | "networkStoreKey": "NETWORK4_INSTANCE_ID", |
| 1517 | "typeName": "N", |
| 1518 | "menuActions": {"edit": {}, "showAuditInfo": {}, "duplicate": {}, "remove": {}, "delete": {}, "undoDelete": {}}, |
| 1519 | "isFailed": false, |
| 1520 | "statusMessage": "", |
| 1521 | "statusProperties": [{"key": "Prov Status:", "value": "preprov", "testId": "provStatus"}, { |
| 1522 | "key": "Orch Status:", |
| 1523 | "value": "Created", |
| 1524 | "testId": "orchStatus" |
| 1525 | }], |
| 1526 | "trackById": "1wvr73xl999", |
| 1527 | "parentType": "", |
| 1528 | "componentInfoType": "Network", |
| 1529 | "errors": {} |
| 1530 | }; |
| 1531 | } |