1 <nz-modal [nzVisible]="showDetail" nzWidth="85%" [nzTitle]="moduleTitle" [nzFooter]="modalFooter"
2 (nzOnCancel)="handleCancel()">
3 <nz-spin [nzSpinning]="isSpinning">
4 <app-basic-info [checkDetail]="checkDetail" [businessRequirement]="businessRequirement" [NSTinfo]="NSTinfo">
7 <nz-list class="taskmodel_list" nzBordered [nzHeader]="nssiInfoTile" [nzFooter]="null" *ngIf="slicingInstances">
8 <ng-template #nssiInfoTile>
9 <p class="list_title">Matching Shared NSI: </p>
11 <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8">
12 <div nz-col nzSpan="12">
14 <nz-select nzShowSearch [(ngModel)]="selectedServiceId" (nzOpenChange)="openSlicingInstance($event)"
15 (nzScrollToBottom)="getNextPageData()" (ngModelChange)="slicingInstanceChange()">
16 <nz-option nzCustomContent *ngFor="let item of slicingInstances.list" [nzValue]="item.service_instance_id"
17 [nzLabel]="item.service_instance_id">
18 <span>{{item.service_instance_name + ' : '}}</span> {{item.service_instance_id}}
20 <nz-option *ngIf="slicingInstances.isLoading" nzDisabled nzCustomContent>
21 <i class="anticon anticon-loading anticon-spin loading-icon"></i>
26 <div nz-col nzSpan="8">
27 NSI Name:{{ selectedServiceName }}
29 <div nz-col nzSpan="4">
30 <button nz-button nzType="primary" (click)="resetSlicingInstance()">
31 <i nz-icon class="anticon anticon-delete"></i>
35 <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8">
36 <p class="listitem_subtitle" nz-col nzSpan="24">Matching Shared NSSI:</p>
37 <nz-card *ngFor="let item of slicingSubnet" nzType="inner" nz-col nzSpan="24" [nzTitle]="item.title">
38 <div nz-row [nzGutter]="8">
39 <div nz-col nzSpan="12">
41 <nz-select nzShowSearch [nzDisabled]="isDisabled" [(ngModel)]="item.slicingId"
42 (ngModelChange)="slicingSubnetChange(item)" (nzOpenChange)="openSubnetInstances($event, item)"
43 (nzScrollToBottom)="getNextPageSubnet(item)">
44 <nz-option nzCustomContent *ngFor="let item of item.instances" [nzValue]="item.service_instance_id"
45 [nzLabel]="item.service_instance_id">
46 <span>{{item.service_instance_name + ' : '}}</span> {{item.service_instance_id}}
48 <nz-option *ngIf="item.isLoading" nzDisabled nzCustomContent>
49 <i class="anticon anticon-loading anticon-spin loading-icon"></i>
54 <div nz-col nzSpan="8">
55 NSSI Name:{{item.slicingName}}
57 <div nz-col nzSpan="4">
58 <button nz-button nzType="primary" (click)="restSubnetInstance(item)" [disabled]='isDisabled'
59 [attr.disabled]='isDisabled?true:undefined'>
60 <i nz-icon class="anticon anticon-delete"></i>
62 <button nz-button nzType="primary" (click)="showParamsModel(item)">
63 <i nz-icon class="anticon anticon-setting" nzTheme="outline"></i>
73 <ng-template #modalFooter>
74 <button nz-button (click)="handleCancel()">Cancel</button>
75 <button nz-button nzType="primary" [nzLoading]='loading' (click)="handleOk()">OK</button>
77 <app-subnet-params-model [showModel]="isShowParams" *ngIf="isShowParams" [detailData]="params" [title]="paramsTitle"
78 (cancel)="isShowParams=$event" (paramsDataChange)="changeParams($event)">
79 </app-subnet-params-model>
80 <app-notification #notification [isServicesList]="false" [parentComponent]="'slicing'"></app-notification>