bfg-common 1.2.186 → 1.2.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/localization/local_be.json +9 -2
- package/assets/localization/local_en.json +9 -2
- package/assets/localization/local_hy.json +9 -2
- package/assets/localization/local_kk.json +9 -2
- package/assets/localization/local_ru.json +9 -2
- package/assets/localization/local_zh.json +9 -2
- package/assets/scss/common/theme.scss +27 -25
- package/components/atoms/table/simpleTable/SimpleTable.vue +5 -2
- package/components/atoms/wizard/Wizard.vue +4 -4
- package/components/atoms/wizard/models/interfaces.ts +4 -3
- package/components/atoms/wizard/utils/utils.ts +106 -27
- package/components/common/diagramMain/DiagramMain.vue +10 -46
- package/components/common/diagramMain/modals/config/index.ts +0 -6
- package/components/common/diagramMain/modals/config/vmKernelAdapter.ts +2 -2
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +1 -1
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +531 -0
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/config/steps.ts +114 -0
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +161 -0
- package/components/common/diagramMain/modals/{steps → migrateVmkernelAdapter/steps}/SelectVmkernelAdapter.vue +24 -86
- package/components/common/diagramMain/modals/{steps → migrateVmkernelAdapter/steps}/VmkernelAdapterReadyComplete.vue +7 -11
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +47 -0
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +146 -0
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +54 -0
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -0
- package/components/common/diagramMain/models/enums.ts +6 -7
- package/components/common/diagramMain/models/interfaces.ts +28 -29
- package/components/common/diagramMain/models/types.ts +0 -1
- package/components/common/monitor/advanced/Advanced.vue +5 -4
- package/components/common/wizards/network/add/Add.vue +874 -0
- package/components/common/{addNetworking → wizards/network/add}/config/index.ts +2 -16
- package/components/common/{addNetworking → wizards/network/add}/config/initialData.ts +4 -19
- package/components/common/{addNetworking → wizards/network/add}/config/portPropertiesStep.ts +1 -1
- package/components/common/{addNetworking → wizards/network/add}/config/selectSwitch.ts +1 -1
- package/components/common/{addNetworking → wizards/network/add}/config/sendData.ts +1 -1
- package/components/common/{addNetworking/config/addNetworkingSteps.ts → wizards/network/add/config/steps.ts} +107 -60
- package/components/common/{addNetworking → wizards/network/add}/modals/SelectNetwork.vue +2 -2
- package/components/common/{addNetworking → wizards/network/add}/modals/SelectStandardSwitch.vue +2 -2
- package/components/common/{addNetworking → wizards/network/add}/modals/SelectSwitch.vue +2 -2
- package/components/common/wizards/network/add/models/enums.ts +17 -0
- package/components/common/{addNetworking → wizards/network/add}/models/interfaces.ts +30 -37
- package/components/common/wizards/network/add/models/types.ts +2 -0
- package/components/common/wizards/network/add/steps/ConnectionSettings.vue +148 -0
- package/components/common/{addNetworking → wizards/network/add}/steps/CreateStandardSwitch.vue +0 -7
- package/components/common/wizards/network/add/steps/IpFourSettings.vue +245 -0
- package/components/common/{addNetworking → wizards/network/add}/steps/PhysicalAdapter.vue +1 -12
- package/components/common/{addNetworking → wizards/network/add}/steps/PortProperties.vue +57 -180
- package/components/common/{addNetworking → wizards/network/add}/steps/ReadyComplete.vue +1 -10
- package/components/common/{addNetworking → wizards/network/add}/steps/SelectConnectionType.vue +3 -15
- package/components/common/{addNetworking → wizards/network/add}/steps/SelectedTargetDevice.vue +103 -209
- package/components/common/wizards/network/add/utils/index.ts +4 -0
- package/components/common/wizards/network/add/validations/common.ts +58 -0
- package/components/common/wizards/network/add/validations/connectionSettings.ts +75 -0
- package/components/common/wizards/network/add/validations/createStandardSwitch.ts +58 -0
- package/components/common/wizards/network/add/validations/ipFourSettings.ts +188 -0
- package/components/common/wizards/network/add/validations/networkValidation.ts +73 -0
- package/components/common/wizards/network/add/validations/portProperties.ts +87 -0
- package/components/common/wizards/network/add/validations/targetDevice.ts +113 -0
- package/components/common/wizards/network/add/validations/validations.ts +43 -0
- package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +2 -0
- package/package.json +1 -1
- package/components/common/addNetworking/AddNetworking.vue +0 -1123
- package/components/common/addNetworking/Wizard.vue +0 -286
- package/components/common/addNetworking/config/temporaryData.ts +0 -8
- package/components/common/addNetworking/config/validation.ts +0 -23
- package/components/common/addNetworking/models/enums.ts +0 -7
- package/components/common/addNetworking/models/types.ts +0 -13
- package/components/common/addNetworking/steps/ConnectionSettings.vue +0 -269
- package/components/common/addNetworking/steps/Header.vue +0 -53
- package/components/common/addNetworking/steps/IpFourSettings.vue +0 -361
- package/components/common/addNetworking/utils/index.ts +0 -212
- package/components/common/diagramMain/modals/MigrateVmkernelAdapter.vue +0 -603
- package/components/common/diagramMain/modals/config/migrateVmkernelAdapterSteps.ts +0 -81
- package/components/common/diagramMain/modals/config/validation.ts +0 -3
- package/components/common/diagramMain/modals/steps/ConnectionSettings.vue +0 -221
- package/components/common/diagramMain/modals/steps/Header.vue +0 -60
- /package/components/common/{addNetworking → wizards/network/add}/mappers/mappers.ts +0 -0
|
@@ -18,10 +18,9 @@ export const enum UI_E_PositionsY {
|
|
|
18
18
|
SPACE_FROM_RECT_BOTTOM = 2.5,
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
21
|
+
export enum UI_E_MigrationValidationFields {
|
|
22
|
+
SELECT_ADAPTER_VM = 'vm',
|
|
23
|
+
|
|
24
|
+
CONNECTION_SETTINGS_NETWORK = 'name',
|
|
25
|
+
CONNECTION_SETTINGS_VLAN = 'vlan',
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UI_E_NetworkType
|
|
1
|
+
import { UI_E_NetworkType } from './enums'
|
|
2
2
|
import { UI_T_Adapters } from '~/components/common/diagramMain/models/types'
|
|
3
3
|
|
|
4
4
|
export interface UI_I_Port {
|
|
@@ -117,7 +117,6 @@ export interface UI_I_NetworkInfo {
|
|
|
117
117
|
shapingPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
|
|
121
120
|
export interface UI_I_NetworkFull extends UI_I_Network, UI_I_NetworkInfo {}
|
|
122
121
|
|
|
123
122
|
export interface UI_I_SwitchInfo extends UI_I_NetworkInfo {
|
|
@@ -164,7 +163,7 @@ export interface UI_I_AdaptersWithPositions {
|
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
export interface UI_I_NetworksWithPositions
|
|
167
|
-
|
|
166
|
+
extends Omit<UI_I_Network, 'ports'> {
|
|
168
167
|
ports: (UI_I_Port & { portPosition: number })[]
|
|
169
168
|
portsCount: number
|
|
170
169
|
portsHeight: number
|
|
@@ -209,11 +208,6 @@ export interface UI_I_ToggleDiagramAdaptersPayload {
|
|
|
209
208
|
paths: string[]
|
|
210
209
|
}
|
|
211
210
|
|
|
212
|
-
export interface UI_I_PropertiesErrorFields {
|
|
213
|
-
networkLabel: string
|
|
214
|
-
vlanId: string
|
|
215
|
-
}
|
|
216
|
-
|
|
217
211
|
export interface UI_I_SecurityFields {
|
|
218
212
|
promiscuousMode: {
|
|
219
213
|
checked: boolean
|
|
@@ -251,7 +245,7 @@ export interface UI_I_TeamingFailoverFields {
|
|
|
251
245
|
}
|
|
252
246
|
}
|
|
253
247
|
export interface UI_I_TeamingFailoverWithAdaptersFields
|
|
254
|
-
|
|
248
|
+
extends UI_I_TeamingFailoverFields {
|
|
255
249
|
adapters: UI_I_AdapterStatus
|
|
256
250
|
}
|
|
257
251
|
|
|
@@ -303,23 +297,6 @@ export interface UI_I_AdapterStatus {
|
|
|
303
297
|
unused: string[]
|
|
304
298
|
}
|
|
305
299
|
|
|
306
|
-
export interface UI_I_Step {
|
|
307
|
-
id: number
|
|
308
|
-
name: string
|
|
309
|
-
status: UI_E_StepStatus
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export interface UI_I_PropertiesFieldsErrorMessages {
|
|
313
|
-
mtu: string
|
|
314
|
-
}
|
|
315
|
-
export interface UI_I_IpFourSettingsFieldsErrorMessages {
|
|
316
|
-
ipFourAddress: string
|
|
317
|
-
subnetMask: string
|
|
318
|
-
defaultGateway: string
|
|
319
|
-
}
|
|
320
|
-
export interface UI_I_SelectVmKernelAdapterFieldsErrorMessages {
|
|
321
|
-
vm: string
|
|
322
|
-
}
|
|
323
300
|
export interface UI_I_SwitchPropertiesFields {
|
|
324
301
|
mtu: number
|
|
325
302
|
num_ports: string
|
|
@@ -456,9 +433,9 @@ export interface UI_I_PropertiesFields {
|
|
|
456
433
|
|
|
457
434
|
export interface UI_I_EditFieldsData {
|
|
458
435
|
properties?:
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
436
|
+
| UI_I_PropertiesFields
|
|
437
|
+
| UI_I_SwitchPropertiesFields
|
|
438
|
+
| UI_I_PortPropertiesFields
|
|
462
439
|
security?: UI_I_SecurityFields
|
|
463
440
|
trafficShaping?: UI_I_TrafficShapingFields
|
|
464
441
|
teamingFailover?: UI_I_TeamingFailoverWithAdaptersFields
|
|
@@ -563,3 +540,25 @@ export interface UI_I_NetworkEditSendData {
|
|
|
563
540
|
nics: UI_I_AdapterStatus
|
|
564
541
|
override_nics: string | number | boolean
|
|
565
542
|
}
|
|
543
|
+
|
|
544
|
+
export interface UI_I_MigrateVmkernelAdapterEmits {
|
|
545
|
+
(
|
|
546
|
+
event: 'check-network-label',
|
|
547
|
+
networkLabel: string,
|
|
548
|
+
cb: (error_message: string) => void
|
|
549
|
+
): void
|
|
550
|
+
(event: 'hide'): void
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export interface UI_I_MigrationVmkernelAdapterReadyComplete {
|
|
554
|
+
vm: string
|
|
555
|
+
currentSettings: {
|
|
556
|
+
switch: string
|
|
557
|
+
network: string
|
|
558
|
+
}
|
|
559
|
+
newSettings: {
|
|
560
|
+
switch: string
|
|
561
|
+
network: string
|
|
562
|
+
}
|
|
563
|
+
vlanId: string
|
|
564
|
+
}
|
|
@@ -4,6 +4,5 @@ export type UI_T_AdapterStatusNames = 'active' | 'standby' | 'unused'
|
|
|
4
4
|
export type UI_T_PropertiesFieldName = 'vlanId' | 'networkLabel'
|
|
5
5
|
export type UI_T_TrafficShapingFieldName = 'average' | 'peak' | 'burstSize'
|
|
6
6
|
export type UI_T_PortPropertiesFieldName = 'mtu'
|
|
7
|
-
export type UI_T_VmKernelAdapterFieldName = 'vm'
|
|
8
7
|
|
|
9
8
|
export type UI_T_Adapters = UI_I_Adapter & { adapterPosition: number }
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
{{ localization.advancedPerformance }}
|
|
7
7
|
</h3>
|
|
8
8
|
</div>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<div class="fill-parent flex-column">
|
|
9
|
+
<div v-if="props.isEmpty" class="empty-data">
|
|
10
|
+
{{ localization.emptyAdvancedGraphText }}
|
|
11
|
+
</div>
|
|
12
|
+
<div v-else class="fill-parent flex-column">
|
|
13
13
|
<div class="vertical-flex-container fill-parent">
|
|
14
14
|
<common-monitor-advanced-tools
|
|
15
15
|
v-model:selected-timespan-type="localSelectedTimespanType"
|
|
@@ -125,6 +125,7 @@ const props = defineProps<{
|
|
|
125
125
|
selectedObjects: string
|
|
126
126
|
disabledPeriod?: boolean
|
|
127
127
|
disabledView?: boolean
|
|
128
|
+
isEmpty?: boolean
|
|
128
129
|
}>()
|
|
129
130
|
|
|
130
131
|
const emits = defineEmits<{
|