bfg-common 1.5.146 → 1.5.147

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 (35) hide show
  1. package/assets/localization/local_be.json +2 -1
  2. package/assets/localization/local_en.json +1 -0
  3. package/assets/localization/local_hy.json +2 -1
  4. package/assets/localization/local_kk.json +2 -1
  5. package/assets/localization/local_ru.json +2 -2
  6. package/assets/localization/local_zh.json +2 -1
  7. package/components/common/adapterManager/AdapterManager.vue +1 -0
  8. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  9. package/components/common/browse/lib/models/interfaces.ts +5 -5
  10. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  11. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  12. package/components/common/diagramMain/lib/models/types.ts +21 -21
  13. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  14. package/components/common/diagramMain/modals/Modals.vue +1 -1
  15. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  16. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  17. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  18. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  19. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  20. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  21. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
  22. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  23. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  24. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  25. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  26. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  27. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  28. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  29. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  30. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  31. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  32. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  33. package/components/common/diagramMain/port/Ports.vue +47 -47
  34. package/package.json +1 -1
  35. package/plugins/directives.ts +1 -4
@@ -1121,6 +1121,7 @@
1121
1121
  "physicalCpus": "фізічныя працэсары",
1122
1122
  "physicalLocation": "Фізічнае месцазнаходжанне",
1123
1123
  "physicalNetworkAdapter": "Фізічны сеткавы адаптар",
1124
+ "onPhysicalNetworkAdapter": "фізічным сеткавым адаптары",
1124
1125
  "physicalNetworkAdapterHandlesNetworkTraffic": "Фізічны сеткавы адаптар апрацоўвае сеткавы трафік, які перадаецца іншым вузлах сеткі.",
1125
1126
  "physicalNetworkAdapters": "Фізічныя сеткавыя адаптары",
1126
1127
  "physicalNetworkAdaptersWarning": "Папярэджанне аб фізічных сеткавых адаптарах",
@@ -2878,7 +2879,7 @@
2878
2879
  "fourth": "Па-чацвёртае"
2879
2880
  },
2880
2881
  "license": {
2881
- "limits": "Мяжа",
2882
+ "limits": "Limits",
2882
2883
  "license": "Ліцэнзія",
2883
2884
  "licensedFeatures": "Ліцэнзійныя функцыі",
2884
2885
  "licenseExpiration": "Заканчэнне тэрміну дзеяння ліцэнзіі",
@@ -1120,6 +1120,7 @@
1120
1120
  "physicalCpus": "physical CPUs",
1121
1121
  "physicalLocation": "Physical Location",
1122
1122
  "physicalNetworkAdapter": "Physical Network Adapter",
1123
+ "onPhysicalNetworkAdapter": "physical network adapter",
1123
1124
  "physicalNetworkAdapterHandlesNetworkTraffic": "A physical network adapter handles the network traffic to other hosts on the network.",
1124
1125
  "physicalNetworkAdapters": "Physical network adapters",
1125
1126
  "physicalNetworkAdaptersWarning": "Physical Network Adapters Warning",
@@ -1120,6 +1120,7 @@
1120
1120
  "physicalCpus": "ֆիզիկական պրոցեսորներ",
1121
1121
  "physicalLocation": "Ֆիզիկական գտնվելու վայրը",
1122
1122
  "physicalNetworkAdapter": "Ֆիզիկական ցանցի ադապտեր",
1123
+ "onPhysicalNetworkAdapter": "ֆիզիկական ցանցային ադապտեր",
1123
1124
  "physicalNetworkAdapterHandlesNetworkTraffic": "Ֆիզիկական ցանցային ադապտերը կարգավորում է ցանցի երթևեկությունը, որը փոխանցվում է ցանցի այլ հանգույցներին:",
1124
1125
  "physicalNetworkAdapters": "Ֆիզիկական ցանցային ադապտերներ",
1125
1126
  "physicalNetworkAdaptersWarning": "Զգուշացում ֆիզիկական ցանցային ադապտերների մասին",
@@ -2882,7 +2883,7 @@
2882
2883
  "fourth": "Չորրորդ"
2883
2884
  },
2884
2885
  "license": {
2885
- "limits": "Սահմանները",
2886
+ "limits": "Limits",
2886
2887
  "license": "Լիցենզիա",
2887
2888
  "licensedFeatures": "Լիցենզավորված հատկանիշներ",
2888
2889
  "licenseExpiration": "Լիցենզիայի ժամկետի ավարտը",
@@ -1120,6 +1120,7 @@
1120
1120
  "physicalCpus": "физикалық процессорлар",
1121
1121
  "physicalLocation": "Физикалық орналасу",
1122
1122
  "physicalNetworkAdapter": "Физикалық тор адаптері",
1123
+ "onPhysicalNetworkAdapter": "физикалық желілік адаптер",
1123
1124
  "physicalNetworkAdapterHandlesNetworkTraffic": "Физикалық желілік адаптер желінің басқа түйіндеріне берілетін желілік трафикті басқарады.",
1124
1125
  "physicalNetworkAdapters": "Физикалық желі адаптерлері",
1125
1126
  "physicalNetworkAdaptersWarning": "Физикалық Желілік адаптерлер туралы ескерту",
@@ -2881,7 +2882,7 @@
2881
2882
  "fourth": "Төртінші"
2882
2883
  },
2883
2884
  "license": {
2884
- "limits": "Шектеулер",
2885
+ "limits": "Limits",
2885
2886
  "license": "Лицензия",
2886
2887
  "licensedFeatures": "Лицензияланған мүмкіндіктер",
2887
2888
  "licenseExpiration": "Лицензияның жарамдылық мерзімі",
@@ -1121,6 +1121,7 @@
1121
1121
  "physicalCpus": "физические процессоры",
1122
1122
  "physicalLocation": "Физическое местонахождение",
1123
1123
  "physicalNetworkAdapter": "Физический сетевой адаптер",
1124
+ "onPhysicalNetworkAdapter": "физическом сетевом адаптере",
1124
1125
  "physicalNetworkAdapterHandlesNetworkTraffic": "Физический сетевой адаптер обрабатывает сетевой трафик, передаваемый другим узлам сети.",
1125
1126
  "physicalNetworkAdapters": "Физические сетевые адаптеры",
1126
1127
  "physicalNetworkAdaptersWarning": "Предупреждение о физических сетевых адаптерах",
@@ -1134,7 +1135,6 @@
1134
1135
  "pngJpegFilesSupported": "Поддерживаются файлы .png, .jpeg",
1135
1136
  "pointingDevice": "Указывающее устройство",
1136
1137
  "policies": "Политика",
1137
-
1138
1138
  "policy": "Политика",
1139
1139
  "portGroup": "Группа портов",
1140
1140
  "portGroupHandlesVirtualMachineTraffic": "Группа портов обрабатывает трафик виртуальной машины на стандартном коммутаторе.",
@@ -2883,7 +2883,7 @@
2883
2883
  "fourth": "Четвертый"
2884
2884
  },
2885
2885
  "license": {
2886
- "limits": "Пределы",
2886
+ "limits": "Limits",
2887
2887
  "license": "Лицензия",
2888
2888
  "licensedFeatures": "Лицензионные функции",
2889
2889
  "licenseExpiration": "Срок действия лицензии",
@@ -1119,6 +1119,7 @@
1119
1119
  "physicalCpus": "物理处理器",
1120
1120
  "physicalLocation": "物理位置",
1121
1121
  "physicalNetworkAdapter": "物理网络适配器",
1122
+ "onPhysicalNetworkAdapter": "物理网络适配器",
1122
1123
  "physicalNetworkAdapterHandlesNetworkTraffic": "物理网络适配器处理到网络上其他主机的网络流量。",
1123
1124
  "physicalNetworkAdapters": "物理網絡適配器",
1124
1125
  "physicalNetworkAdaptersWarning": "物理网络适配器警告",
@@ -2879,7 +2880,7 @@
2879
2880
  "fourth": "第四"
2880
2881
  },
2881
2882
  "license": {
2882
- "limits": "限制",
2883
+ "limits": "Limits",
2883
2884
  "license": "執照",
2884
2885
  "licensedFeatures": "許可功能",
2885
2886
  "licenseExpiration": "許可證過期",
@@ -78,6 +78,7 @@
78
78
  <common-diagram-main-modals-view-settings-info
79
79
  modal-name="network-settings-modal"
80
80
  :show="true"
81
+ :view-name="localization.common.onPhysicalNetworkAdapter"
81
82
  :modal-tabs="adapterViewSettingsModalTabs"
82
83
  :view-settings-fields="
83
84
  props.isAddModal
@@ -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
+ }