blob: f84fcff0f6408515922e7ad703c3fa3a89b2a3b3 [file] [log] [blame]
kumaran.m3b4814a2020-05-01 19:48:54 +05301<!--
2Copyright 2020 TATA ELXSI
3
4Licensed under the Apache License, Version 2.0 (the 'License');
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15
16Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
17-->
18<div class="btn-group list action" role="group">
Barath Kumar Rf2ae5462021-03-01 12:52:33 +053019 <button routerLink="/instances/operational-view/{{instanceID}}" type="button" class="btn btn-primary" placement="top" container="body" [disabled]="isShowOperationalDashboard" ngbTooltip="{{'PAGE.OPERATIONALDASHBOARD.TITLE' | translate}}">
20 <i class="fas fa-tachometer-alt"></i>
21 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053022 <button type="button" class="btn btn-primary" (click)="metrics()" placement="top" container="body" [disabled]="operationalStatus == 'failed' || configStatus == 'failed'" ngbTooltip="{{'METRICS' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053023 <i class="fas fa-chart-bar icons"></i>
24 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053025 <button type="button" class="btn btn-primary" [disabled]="operationalStatus != 'running'" (click)="nsTopology()" placement="top" container="body" ngbTooltip="{{'TOPOLOGY' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053026 <i class="fa fa-sitemap fa-fw icons"></i>
27 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053028 <button type="button" class="btn btn-primary" (click)="deleteNSInstance(false)" placement="top" container="body" ngbTooltip="{{'DELETE' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053029 <i class="far fa-trash-alt icons"></i>
30 </button>
SANDHYA.JS3d81a282022-05-02 08:25:39 +053031 <div class="btn-group" placement="bottom-right" ngbDropdown display="dynamic" container="body">
32 <button type="button" class="btn btn-primary" ngbDropdownToggle placement="top" container="body" [disabled]="operationalStatus === 'failed' || configStatus === 'failed'" ngbTooltip="{{'VIMACTION' | translate}}">
33 <i class="fas fa-desktop"></i>
34 </button>
35 <div class="dropdown-menu list-action-dropdown" ngbDropdownMenu>
36 <button type="button" class="btn btn-primary dropdown-item" (click)="openStart('start')" placement="left"
37 data-container="body" ngbTooltip="{{'START' | translate}}">
38 <i class="fas fa-toggle-on"></i> {{'START' | translate}}
39 </button>
40 <button type="button" class="btn btn-primary dropdown-item" (click)="openStart('stop')" placement="left"
41 data-container="body" ngbTooltip="{{'STOP' | translate}}">
42 <i class="fas fa-toggle-off"></i> {{'STOP' | translate}}
43 </button>
44 <button type="button" class="btn btn-primary dropdown-item" (click)="openStart('rebuild')" placement="left"
45 data-container="body" ngbTooltip="{{'REBUILD' | translate}}">
46 <i class="fas fa-arrows-alt"></i> {{'REBUILD' | translate}}
47 </button>
SANDHYA.JS017df362022-05-02 06:57:11 +053048 <button type="button" class="btn btn-primary dropdown-item" (click)="openVerticalScaling()" placement="left"
49 data-container="body" ngbTooltip="{{'VERTICALSCALING' | translate}}">
50 <i class="fas fa-grip-vertical"></i> {{'VERTICALSCALING' | translate}}
51 </button>
SANDHYA.JS3d81a282022-05-02 08:25:39 +053052 </div>
53 </div>
54 <div class="btn-group" placement="bottom-right" ngbDropdown display="dynamic" container="body">
kumaran.m3b4814a2020-05-01 19:48:54 +053055 <button type="button" class="btn btn-primary dropdown-toggle action-button" ngbDropdownToggle>
56 {{'ACTION' | translate}}
57 </button>
Barath Kumar R208bef22020-07-07 12:28:04 +053058 <div class="dropdown-menu list-action-dropdown" ngbDropdownMenu>
Barath Kumar R5d75d512020-09-02 17:00:07 +053059 <button type="button" class="btn btn-primary dropdown-item" (click)="infoNs()" placement="left" container="body" ngbTooltip="{{'INFO' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053060 <i class="fas fa-info icons list" title="info"></i> {{'INFO' | translate}}
61 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053062 <button type="button" class="btn btn-primary dropdown-item" (click)="execNSPrimitiveModal()" placement="left" container="body" ngbTooltip="{{'EXECPRIMITIVE' | translate}}" [disabled]="operationalStatus == 'failed' || configStatus == 'failed'">
63 <i class="fas fa-magic"></i> {{'EXECPRIMITIVE' | translate}}
kumaran.m3b4814a2020-05-01 19:48:54 +053064 </button>
Barath Kumar R07698ab2021-03-30 11:50:42 +053065 <button type="button" class="btn btn-primary dropdown-item" [disabled]="operationalStatus === 'scaling'" (click)="manualScaling()"
66 placement="left" data-container="body" ngbTooltip="{{'SCALING' | translate}}">
67 <i class="fas fa-cubes"></i> {{'SCALING' | translate}}
68 </button>
SANDHYA.JSfced3d42022-04-28 20:28:17 +053069 <button type="button" class="btn btn-primary dropdown-item" (click)="openVmMigration()" placement="left" data-container="body"
70 [disabled]="operationalStatus === 'failed' || configStatus === 'failed'" ngbTooltip="{{'VMMIGRATION' | translate}}">
71 <i class="fas fa-angle-double-left"></i> {{'VMMIGRATION' | translate}}
72 </button>
SANDHYA.JS99144582022-04-27 17:22:35 +053073 <button type="button" class="btn btn-primary dropdown-item" (click)="openNsUpdate()" placement="left" data-container="body"
74 [disabled]="operationalStatus === 'failed' || configStatus === 'failed'" ngbTooltip="{{'NSUPDATE' | translate}}">
75 <i class="fas fa-arrow-alt-circle-up"></i> {{'NSUPDATE' | translate}}
76 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053077 <button type="button" class="btn btn-primary dropdown-item" (click)="historyOfOperations()" placement="left" container="body" ngbTooltip="{{'HISTORYOFOPERATIONS' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053078 <i class="fas fa-history"></i> {{'HISTORYOFOPERATIONS' | translate}}
79 </button>
Barath Kumar R5d75d512020-09-02 17:00:07 +053080 <button type="button" class="btn btn-primary dropdown-item text-danger" (click)="deleteNSInstance(true)" placement="left" container="body" ngbTooltip="{{'FORCEDELETE' | translate}}">
kumaran.m3b4814a2020-05-01 19:48:54 +053081 <i class="fas fa-trash-alt icons text-danger"></i> {{'FORCEDELETE' | translate}}
82 </button>
83 </div>
84 </div>
85</div>
Barath Kumar R07698ab2021-03-30 11:50:42 +053086<app-loader [waitingMessage]="message" *ngIf="isLoadingNSInstanceAction"></app-loader>