bfg-common 1.5.384 → 1.5.385

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.
Files changed (31) hide show
  1. package/assets/localization/local_be.json +12 -1
  2. package/assets/localization/local_en.json +12 -1
  3. package/assets/localization/local_hy.json +12 -1
  4. package/assets/localization/local_kk.json +12 -1
  5. package/assets/localization/local_ru.json +12 -1
  6. package/assets/localization/local_zh.json +12 -1
  7. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  8. package/components/common/browse/lib/models/interfaces.ts +5 -5
  9. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  10. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  11. package/components/common/diagramMain/lib/models/types.ts +21 -21
  12. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  13. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  14. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  15. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  16. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  17. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  18. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  19. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  20. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  21. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  22. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  23. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  24. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  25. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  26. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  27. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  28. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  29. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  30. package/components/common/diagramMain/port/Ports.vue +47 -47
  31. package/package.json +1 -1
@@ -2643,7 +2643,18 @@
2643
2643
  "updateSomeSettingsSaveOverride": "Абнавіце некаторыя налады, каб захаваць перазапіс.",
2644
2644
  "selectVm": "Абярыце віртуальную машыну",
2645
2645
  "editVmOverrideFor": "Рэдагаваць перапісанне ВМ для",
2646
- "deleteVmOverride": "Выдаліць перапісанне ВМ"
2646
+ "deleteVmOverride": "Выдаліць перапісанне ВМ",
2647
+ "restartCondition": "Умова перазапуску",
2648
+ "vmDependencyRestartCondition": "Умова перазапуску залежнай ВМ",
2649
+ "pdlProtection": "Абарона PDL",
2650
+ "permanentDeviceLossPdlProtectionSettings": "Налады абароны ад пастаяннай страты прылады (PDL)",
2651
+ "apdProtection": "Абарона APD",
2652
+ "vmMonitoringSensitivity": "Адчувальнасць маніторынгу ВМ",
2653
+ "failureInterval": "Інтэрвал збою",
2654
+ "minimumUptime": "Мінімальны час працы",
2655
+ "maxResetsPerVm": "Макс. перазапускаў на ВМ",
2656
+ "maxResetTimeWindow": "Макс. інтэрвал часу перазапуску",
2657
+ "noWindow": "Няма інтэрвалу"
2647
2658
  },
2648
2659
  "datastoreWizard": {
2649
2660
  "accessMode": "Рэжым доступу",
@@ -2647,7 +2647,18 @@
2647
2647
  "updateSomeSettingsSaveOverride": "Update some settings to save the override.",
2648
2648
  "selectVm": "Select a virtual machine",
2649
2649
  "editVmOverrideFor": "Edit VM Override for",
2650
- "deleteVmOverride": "Delete VM Override"
2650
+ "deleteVmOverride": "Delete VM Override",
2651
+ "restartCondition": "Restart Condition",
2652
+ "vmDependencyRestartCondition": "VM dependency restart condition",
2653
+ "pdlProtection": "PDL Protection",
2654
+ "permanentDeviceLossPdlProtectionSettings": "Permanent Device Loss (PDL) Protection Settings",
2655
+ "apdProtection": "APD Protection",
2656
+ "vmMonitoringSensitivity": "VM Monitoring Sensitivity",
2657
+ "failureInterval": "Failure Interval",
2658
+ "minimumUptime": "Minimum uptime",
2659
+ "maxResetsPerVm": "Max. resets per VM",
2660
+ "maxResetTimeWindow": "Max. reset time window",
2661
+ "noWindow": "No window"
2651
2662
  },
2652
2663
  "datastoreWizard": {
2653
2664
  "accessMode": "Access Mode",
@@ -2647,7 +2647,18 @@
2647
2647
  "updateSomeSettingsSaveOverride": "Թարմացրեք որոշ պարամետրեր՝ պահպանելու վերագրումը։",
2648
2648
  "selectVm": "Ընտրեք վիրտուալ մեքենա",
2649
2649
  "editVmOverrideFor": "Խմբագրել ՎՄ վերագրման կարգավորումը համար",
2650
- "deleteVmOverride": "Ջնջել ՎՄ վերագրման կարգավորումը"
2650
+ "deleteVmOverride": "Ջնջել ՎՄ վերագրման կարգավորումը",
2651
+ "restartCondition": "Վերագործարկման պայման",
2652
+ "vmDependencyRestartCondition": "Կախված ՎՄ վերագործարկման պայման",
2653
+ "pdlProtection": "PDL պաշտպանություն",
2654
+ "permanentDeviceLossPdlProtectionSettings": "Մշտական սարքի կորստի (PDL) պաշտպանության կարգավորումներ",
2655
+ "apdProtection": "APD պաշտպանություն",
2656
+ "vmMonitoringSensitivity": "ՎՄ մոնիթորինգի զգայունություն",
2657
+ "failureInterval": "Անսարքության միջակայք",
2658
+ "minimumUptime": "Ամենափոքր աշխատաժամանակ",
2659
+ "maxResetsPerVm": "Մաքս. վերագործարկումներ մեկ ՎՄ-ի համար",
2660
+ "maxResetTimeWindow": "Մաքս. վերագործարկման ժամանակի պատուհան",
2661
+ "noWindow": "Ոչ մի պատուհան"
2651
2662
  },
2652
2663
  "datastoreWizard": {
2653
2664
  "accessMode": "Մուտքի ռեժիմ",
@@ -2646,7 +2646,18 @@
2646
2646
  "updateSomeSettingsSaveOverride": "Қайта анықтауды сақтау үшін кейбір баптауларды жаңартыңыз.",
2647
2647
  "selectVm": "Виртуалды машинаны таңдаңыз",
2648
2648
  "editVmOverrideFor": "ВМ қайта жазу параметрін өңдеу үшін",
2649
- "deleteVmOverride": "ВМ қайта жазу параметрін жою"
2649
+ "deleteVmOverride": "ВМ қайта жазу параметрін жою",
2650
+ "restartCondition": "Қайта қосу шарты",
2651
+ "vmDependencyRestartCondition": "Тәуелді ВМ қайта қосу шарты",
2652
+ "pdlProtection": "PDL қорғауы",
2653
+ "permanentDeviceLossPdlProtectionSettings": "Құрылғының тұрақты жоғалуынан (PDL) қорғау параметрлері",
2654
+ "apdProtection": "APD қорғауы",
2655
+ "vmMonitoringSensitivity": "ВМ мониторингінің сезімталдығы",
2656
+ "failureInterval": "Ақау аралығы",
2657
+ "minimumUptime": "Ең аз жұмыс уақыты",
2658
+ "maxResetsPerVm": "Әр ВМ-ға макс. қайта қосулар саны",
2659
+ "maxResetTimeWindow": "Макс. қайта іске қосу уақыт интервалы",
2660
+ "noWindow": "Терезе жоқ"
2650
2661
  },
2651
2662
  "datastoreWizard": {
2652
2663
  "accessMode": "Қол жеткізу режимі",
@@ -2646,7 +2646,18 @@
2646
2646
  "updateSomeSettingsSaveOverride": "Обновите некоторые настройки, чтобы сохранить переопределение.",
2647
2647
  "selectVm": "Выберите виртуальную машину",
2648
2648
  "editVmOverrideFor": "Изменить переопределение ВМ для",
2649
- "deleteVmOverride": "Удалить переопределение ВМ"
2649
+ "deleteVmOverride": "Удалить переопределение ВМ",
2650
+ "restartCondition": "Условие перезапуска",
2651
+ "vmDependencyRestartCondition": "Условие перезапуска зависимой ВМ",
2652
+ "pdlProtection": "Защита PDL",
2653
+ "permanentDeviceLossPdlProtectionSettings": "Параметры защиты от постоянной потери устройства (PDL)",
2654
+ "apdProtection": "Защита APD",
2655
+ "vmMonitoringSensitivity": "Чувствительность мониторинга ВМ",
2656
+ "failureInterval": "Интервал сбоя",
2657
+ "minimumUptime": "Минимальное время работы",
2658
+ "maxResetsPerVm": "Макс. перезагрузок на одну ВМ",
2659
+ "maxResetTimeWindow": "Макс. временное окно перезагрузок",
2660
+ "noWindow": "Нет окна"
2650
2661
  },
2651
2662
  "datastoreWizard": {
2652
2663
  "accessMode": "Режим доступа",
@@ -2644,7 +2644,18 @@
2644
2644
  "updateSomeSettingsSaveOverride": "更新一些设置以保存覆盖。",
2645
2645
  "selectVm": "选择虚拟机",
2646
2646
  "editVmOverrideFor": "编辑虚拟机覆盖设置用于",
2647
- "deleteVmOverride": "删除虚拟机覆盖设置"
2647
+ "deleteVmOverride": "删除虚拟机覆盖设置",
2648
+ "restartCondition": "重启条件",
2649
+ "vmDependencyRestartCondition": "虚拟机依赖重启条件",
2650
+ "pdlProtection": "PDL 保护",
2651
+ "permanentDeviceLossPdlProtectionSettings": "永久设备丢失 (PDL) 保护设置",
2652
+ "apdProtection": "APD 保护",
2653
+ "vmMonitoringSensitivity": "虚拟机监控灵敏度",
2654
+ "failureInterval": "故障间隔",
2655
+ "minimumUptime": "最小运行时间",
2656
+ "maxResetsPerVm": "每个虚拟机的最大重置次数",
2657
+ "maxResetTimeWindow": "最大重置时间窗口",
2658
+ "noWindow": "无窗口"
2648
2659
  },
2649
2660
  "datastoreWizard": {
2650
2661
  "accessMode": "访问方式",
@@ -1 +1 @@
1
- export type UI_T_BlocksWidth = [number, number, number]
1
+ export type UI_T_BlocksWidth = [number, number, number]
@@ -1,5 +1,5 @@
1
- export interface UI_I_FileInfo {
2
- type: string
3
- title: string
4
- value: string | number
5
- }
1
+ export interface UI_I_FileInfo {
2
+ type: string
3
+ title: string
4
+ value: string | number
5
+ }
@@ -1,61 +1,61 @@
1
- <template>
2
- <g data-title="adapter-items-group">
3
- <template v-if="props.adaptersWithPositions.toggle">
4
- <template
5
- v-for="(adapter, key) in props.adaptersWithPositions.adapters"
6
- :key="adapter.id"
7
- >
8
- <common-diagram-main-adapter-item
9
- :adapter="adapter"
10
- :selected-port="props.selectedPort"
11
- :selected-adapter="props.selectedAdapter"
12
- :networks-count="props.networksCount"
13
- :is-dark-mode="props.isDarkMode"
14
- :networks-with-positions="props.networksWithPositions"
15
- @select-adapter="onSelectAdapter"
16
- @show-modal="onShowModal"
17
- />
18
- </template>
19
- </template>
20
- </g>
21
- </template>
22
-
23
- <script setup lang="ts">
24
- import {
25
- UI_I_AdaptersWithPositions,
26
- UI_I_ModalsInitialData,
27
- UI_I_SelectedAdapter,
28
- UI_I_SelectedPort,
29
- UI_I_NetworksWithPositions,
30
- } from '~/components/common/diagramMain/lib/models/interfaces'
31
-
32
- const props = defineProps<{
33
- adaptersWithPositions: UI_I_AdaptersWithPositions
34
- networksWithPositions: UI_I_NetworksWithPositions[]
35
- selectedPort: UI_I_SelectedPort
36
- selectedAdapter: UI_I_SelectedAdapter
37
- networksCount: number
38
- isDarkMode: boolean
39
- }>()
40
-
41
- const emits = defineEmits<{
42
- (event: 'select-adapter', adapterId: string): void
43
- (
44
- event: 'show-modal',
45
- value: string,
46
- properties?: UI_I_ModalsInitialData
47
- ): void
48
- }>()
49
-
50
- const onSelectAdapter = (adapterId: string): void => {
51
- emits('select-adapter', adapterId)
52
- }
53
- const onShowModal = (
54
- value: string,
55
- properties?: UI_I_ModalsInitialData
56
- ): void => {
57
- emits('show-modal', value, properties)
58
- }
59
- </script>
60
-
61
- <style scoped lang="scss"></style>
1
+ <template>
2
+ <g data-title="adapter-items-group">
3
+ <template v-if="props.adaptersWithPositions.toggle">
4
+ <template
5
+ v-for="(adapter, key) in props.adaptersWithPositions.adapters"
6
+ :key="adapter.id"
7
+ >
8
+ <common-diagram-main-adapter-item
9
+ :adapter="adapter"
10
+ :selected-port="props.selectedPort"
11
+ :selected-adapter="props.selectedAdapter"
12
+ :networks-count="props.networksCount"
13
+ :is-dark-mode="props.isDarkMode"
14
+ :networks-with-positions="props.networksWithPositions"
15
+ @select-adapter="onSelectAdapter"
16
+ @show-modal="onShowModal"
17
+ />
18
+ </template>
19
+ </template>
20
+ </g>
21
+ </template>
22
+
23
+ <script setup lang="ts">
24
+ import {
25
+ UI_I_AdaptersWithPositions,
26
+ UI_I_ModalsInitialData,
27
+ UI_I_SelectedAdapter,
28
+ UI_I_SelectedPort,
29
+ UI_I_NetworksWithPositions,
30
+ } from '~/components/common/diagramMain/lib/models/interfaces'
31
+
32
+ const props = defineProps<{
33
+ adaptersWithPositions: UI_I_AdaptersWithPositions
34
+ networksWithPositions: UI_I_NetworksWithPositions[]
35
+ selectedPort: UI_I_SelectedPort
36
+ selectedAdapter: UI_I_SelectedAdapter
37
+ networksCount: number
38
+ isDarkMode: boolean
39
+ }>()
40
+
41
+ const emits = defineEmits<{
42
+ (event: 'select-adapter', adapterId: string): void
43
+ (
44
+ event: 'show-modal',
45
+ value: string,
46
+ properties?: UI_I_ModalsInitialData
47
+ ): void
48
+ }>()
49
+
50
+ const onSelectAdapter = (adapterId: string): void => {
51
+ emits('select-adapter', adapterId)
52
+ }
53
+ const onShowModal = (
54
+ value: string,
55
+ properties?: UI_I_ModalsInitialData
56
+ ): void => {
57
+ emits('show-modal', value, properties)
58
+ }
59
+ </script>
60
+
61
+ <style scoped lang="scss"></style>
@@ -1,50 +1,50 @@
1
- import type {
2
- UI_I_AdapterStatus,
3
- UI_I_MainRectHeights,
4
- UI_I_SelectedAdapter,
5
- UI_I_SelectedPort,
6
- UI_I_SwitchLine,
7
- UI_I_NetworkPositionsConst,
8
- } from '~/components/common/diagramMain/lib/models/interfaces'
9
-
10
- export const managePhysicalAdapterStatusInitial: UI_I_AdapterStatus = {
11
- active: [],
12
- standby: [],
13
- unused: [],
14
- }
15
-
16
- export const mainRectHeightsInitial: UI_I_MainRectHeights = {
17
- networksHeight: 0,
18
- adaptersHeight: 0,
19
- }
20
-
21
- export const switchLineInitial: UI_I_SwitchLine = {
22
- y1: 0,
23
- y2: 0,
24
- ay: 0,
25
- }
26
-
27
- export const selectedPortInitial: UI_I_SelectedPort = {
28
- networkId: '-1',
29
- portId: '-1',
30
- activeAdapters: [],
31
- }
32
-
33
- export const selectedAdapterInitial: UI_I_SelectedAdapter = {
34
- adapterId: '-1',
35
- connectedPorts: [],
36
- }
37
-
38
- export const selectedSwitchLineYInitial: UI_I_SwitchLine = {
39
- y1: 0,
40
- y2: 0,
41
- }
42
-
43
- export const NETWORK_POSITIONS: UI_I_NetworkPositionsConst = {
44
- EMPTY_PORTS_PADDING_BOTTOM: 7.5,
45
- FROM_VLAN_ID_TO_GROUP_NAME: 22,
46
- VMS_AND_PORTS_HEIGHT: 22,
47
- V_CENTER_HEIGHT: 32,
48
- BETWEEN_VMS_AND_PORTS: 7.5,
49
- BETWEEN_V_CENTERS: 12.5,
50
- } as const
1
+ import type {
2
+ UI_I_AdapterStatus,
3
+ UI_I_MainRectHeights,
4
+ UI_I_SelectedAdapter,
5
+ UI_I_SelectedPort,
6
+ UI_I_SwitchLine,
7
+ UI_I_NetworkPositionsConst,
8
+ } from '~/components/common/diagramMain/lib/models/interfaces'
9
+
10
+ export const managePhysicalAdapterStatusInitial: UI_I_AdapterStatus = {
11
+ active: [],
12
+ standby: [],
13
+ unused: [],
14
+ }
15
+
16
+ export const mainRectHeightsInitial: UI_I_MainRectHeights = {
17
+ networksHeight: 0,
18
+ adaptersHeight: 0,
19
+ }
20
+
21
+ export const switchLineInitial: UI_I_SwitchLine = {
22
+ y1: 0,
23
+ y2: 0,
24
+ ay: 0,
25
+ }
26
+
27
+ export const selectedPortInitial: UI_I_SelectedPort = {
28
+ networkId: '-1',
29
+ portId: '-1',
30
+ activeAdapters: [],
31
+ }
32
+
33
+ export const selectedAdapterInitial: UI_I_SelectedAdapter = {
34
+ adapterId: '-1',
35
+ connectedPorts: [],
36
+ }
37
+
38
+ export const selectedSwitchLineYInitial: UI_I_SwitchLine = {
39
+ y1: 0,
40
+ y2: 0,
41
+ }
42
+
43
+ export const NETWORK_POSITIONS: UI_I_NetworkPositionsConst = {
44
+ EMPTY_PORTS_PADDING_BOTTOM: 7.5,
45
+ FROM_VLAN_ID_TO_GROUP_NAME: 22,
46
+ VMS_AND_PORTS_HEIGHT: 22,
47
+ V_CENTER_HEIGHT: 32,
48
+ BETWEEN_VMS_AND_PORTS: 7.5,
49
+ BETWEEN_V_CENTERS: 12.5,
50
+ } as const
@@ -1,21 +1,21 @@
1
- import type {
2
- UI_I_Adapter,
3
- UI_I_AdapterWithError,
4
- } from '~/components/common/diagramMain/lib/models/interfaces'
5
-
6
- export type UI_T_AdapterStatusNames = 'active' | 'standby' | 'unused'
7
- export type UI_T_PropertiesFieldName = 'vlanId' | 'networkLabel'
8
- export type UI_T_TrafficShapingFieldName = 'average' | 'peak' | 'burstSize'
9
- export type UI_T_PortPropertiesFieldName = 'mtu'
10
-
11
- export type UI_T_LoadBalancingMode =
12
- | 'inherit'
13
- | 'active-backup'
14
- | 'balance-slb'
15
- | 'balance-tcp'
16
- export type UI_T_IYN = 'inherit' | 'yes' | 'no'
17
- export type UI_T_Carier = 'inherit' | 'carier' | 'beakon'
18
-
19
- export type UI_T_Adapters = (UI_I_Adapter | UI_I_AdapterWithError) & {
20
- adapterPosition: number
21
- }
1
+ import type {
2
+ UI_I_Adapter,
3
+ UI_I_AdapterWithError,
4
+ } from '~/components/common/diagramMain/lib/models/interfaces'
5
+
6
+ export type UI_T_AdapterStatusNames = 'active' | 'standby' | 'unused'
7
+ export type UI_T_PropertiesFieldName = 'vlanId' | 'networkLabel'
8
+ export type UI_T_TrafficShapingFieldName = 'average' | 'peak' | 'burstSize'
9
+ export type UI_T_PortPropertiesFieldName = 'mtu'
10
+
11
+ export type UI_T_LoadBalancingMode =
12
+ | 'inherit'
13
+ | 'active-backup'
14
+ | 'balance-slb'
15
+ | 'balance-tcp'
16
+ export type UI_T_IYN = 'inherit' | 'yes' | 'no'
17
+ export type UI_T_Carier = 'inherit' | 'carier' | 'beakon'
18
+
19
+ export type UI_T_Adapters = (UI_I_Adapter | UI_I_AdapterWithError) & {
20
+ adapterPosition: number
21
+ }