bfg-common 1.5.289 → 1.5.292

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 (64) hide show
  1. package/assets/localization/local_be.json +1 -0
  2. package/assets/localization/local_en.json +1 -0
  3. package/assets/localization/local_hy.json +1 -0
  4. package/assets/localization/local_kk.json +1 -0
  5. package/assets/localization/local_ru.json +1 -0
  6. package/assets/localization/local_zh.json +1 -0
  7. package/assets/scss/common/theme.scss +6 -0
  8. package/components/common/backup/storage/actions/add/Add.vue +1 -1
  9. package/components/common/backup/storage/actions/add/New.vue +1 -0
  10. package/components/common/backup/storage/actions/add/Old.vue +1 -0
  11. package/components/common/backup/storage/actions/add/lib/config/createDatastore.ts +3 -1
  12. package/components/common/backup/storage/actions/add/steps/typeMode/TypeMode.vue +5 -1
  13. package/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions.ts +7 -1
  14. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  15. package/components/common/browse/lib/models/interfaces.ts +5 -5
  16. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  17. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  18. package/components/common/diagramMain/lib/models/types.ts +21 -21
  19. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  20. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  21. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  22. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  23. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  24. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  25. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  26. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  27. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  28. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  29. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  30. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  31. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  32. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  33. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  34. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  35. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  36. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  37. package/components/common/diagramMain/port/Ports.vue +47 -47
  38. package/components/common/vm/actions/add/New.vue +1 -0
  39. package/components/common/vm/actions/add/Old.vue +7 -4
  40. package/components/common/vm/actions/clone/Clone.vue +817 -817
  41. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +6 -2
  42. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +10 -8
  43. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +23 -2
  44. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +1 -1
  45. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/hotPlug/HotPlugNew.vue +2 -3
  46. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +1 -1
  47. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +1 -1
  48. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +1 -2
  49. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +1 -1
  50. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +23 -2
  51. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +3 -1
  52. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +1 -1
  53. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +1 -1
  54. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +1 -1
  55. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +1 -1
  56. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +1 -1
  57. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +3 -1
  58. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +1 -1
  59. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +2 -2
  60. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +4 -2
  61. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +2 -2
  62. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +2 -2
  63. package/components/common/vm/actions/common/select/options/Options.vue +18 -14
  64. package/package.json +2 -2
@@ -527,6 +527,7 @@
527
527
  "enterStandbyModeDesc": "Вы ўпэўнены, што хочаце перавесці гэты хост у рэжым чакання?",
528
528
  "failedLastAttempt": "Няўдалая апошняя спроба",
529
529
  "vMPoweredOffOrMigrated": "Віртуальныя машыны павінны быць выключаныя або перанесены",
530
+ "detected": "Выяўлена",
530
531
  "notDetected": "Не выяўлена",
531
532
  "vMOrVMs": "ВМ(ы)",
532
533
  "noFailedLastAttemptDetected": "Не выяўлена няўдалая апошняя спроба.",
@@ -526,6 +526,7 @@
526
526
  "enterStandbyModeDesc": "Are you sure you want to put this host into standby mode?",
527
527
  "failedLastAttempt": "Failed Last Attempt",
528
528
  "vMPoweredOffOrMigrated": "Virtual Machines Must Be Powered Off or Migrated",
529
+ "detected": "Detected",
529
530
  "notDetected": "Not Detected",
530
531
  "vMOrVMs": "VM(s)",
531
532
  "noFailedLastAttemptDetected": "No failed last attempt detected.",
@@ -526,6 +526,7 @@
526
526
  "enterStandbyModeDesc": "Վստա՞հ եք, որ ցանկանում եք տեղափոխել այս հոսթը սպասման ռեժիմ։",
527
527
  "failedLastAttempt": "Վերջին փորձը ձախողվեց",
528
528
  "vMPoweredOffOrMigrated": "Վիրտուալ մեքենաները պետք է անջատվեն կամ միգրացվեն",
529
+ "detected": "Հայտնաբերված է",
529
530
  "notDetected": "Չի հայտնաբերվել",
530
531
  "vMOrVMs": "ՎՄ(ներ)",
531
532
  "noFailedLastAttemptDetected": "Վերջին փորձը ձախողված չէ։",
@@ -526,6 +526,7 @@
526
526
  "enterStandbyModeDesc": "Сіз осы хостты күту режиміне ауыстырғыңыз келетініне сенімдісіз бе?",
527
527
  "failedLastAttempt": "Соңғы әрекет сәтсіз аяқталды",
528
528
  "vMPoweredOffOrMigrated": "Виртуалды машиналар өшірілуі немесе көшірілуі тиіс",
529
+ "detected": "Анықталды",
529
530
  "notDetected": "Анықталған жоқ",
530
531
  "vMOrVMs": "ВМ-дер",
531
532
  "noFailedLastAttemptDetected": "Соңғы әрекет сәтсіз анықталған жоқ.",
@@ -526,6 +526,7 @@
526
526
  "enterStandbyModeDesc": "Вы уверены, что хотите перевести этот хост в режим ожидания?",
527
527
  "failedLastAttempt": "Последняя попытка завершилась неудачей",
528
528
  "vMPoweredOffOrMigrated": "Виртуальные машины должны быть выключены или перемещены",
529
+ "detected": "Обнаружено",
529
530
  "notDetected": "Не обнаружено",
530
531
  "vMOrVMs": "ВМ",
531
532
  "noFailedLastAttemptDetected": "Не обнаружена неудачная последняя попытка.",
@@ -526,6 +526,7 @@
526
526
  "enterStandbyModeDesc": "您确定要将此主机置于待机模式吗?",
527
527
  "failedLastAttempt": "上次尝试失败",
528
528
  "vMPoweredOffOrMigrated": "必须关闭或迁移虚拟机",
529
+ "detected": "已检测到",
529
530
  "notDetected": "未检测到",
530
531
  "vMOrVMs": "虚拟机(们)",
531
532
  "noFailedLastAttemptDetected": "未检测到失败的最后一次尝试。",
@@ -193,6 +193,9 @@
193
193
  --add-hosts-ready-complete-description: #4d5d69;
194
194
  --add-hosts-ready-complete-host-item-color: #4d5d69;
195
195
 
196
+ // Enter Maintenance Mode
197
+ --enter-maintenance-mode-modal-desc: #4d5d69;
198
+
196
199
  // Enter Standby Mode
197
200
  --enter-standby-mode-modal-desc: #4d5d69;
198
201
  --enter-standby-mode-modal-vm-block-key: #4d5d69;
@@ -392,6 +395,9 @@
392
395
  --add-hosts-ready-complete-description: #e9eaec;
393
396
  --add-hosts-ready-complete-host-item-color: #e9eaec;
394
397
 
398
+ // Enter Maintenance Mode
399
+ --enter-maintenance-mode-modal-desc: #e9eaec;
400
+
395
401
  // Enter Standby Mode
396
402
  --enter-standby-mode-modal-desc: #e9eaec;
397
403
  --enter-standby-mode-modal-vm-block-key: #e9eaec;
@@ -90,7 +90,7 @@ const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
90
90
  const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
91
91
 
92
92
  const form = ref<UI_I_CreateDatastoreForm>(
93
- useDeepCopy(datastoreDefaultFormFunc())
93
+ useDeepCopy(datastoreDefaultFormFunc(props.project))
94
94
  )
95
95
 
96
96
  const validationFunc = async (
@@ -37,6 +37,7 @@
37
37
  <common-backup-storage-actions-add-steps-type-mode
38
38
  v-if="selectedStep.id === dynamicSteps.type"
39
39
  v-model="formModelLocal.type_code"
40
+ :project="props.project"
40
41
  />
41
42
  </template>
42
43
  </ui-wizard-block>
@@ -16,6 +16,7 @@
16
16
  <common-backup-storage-actions-add-steps-type-mode
17
17
  v-if="selectedStep.id === dynamicSteps.type"
18
18
  v-model="formModelLocal.type_code"
19
+ :project="props.project"
19
20
  />
20
21
 
21
22
  <common-backup-storage-actions-add-steps-name
@@ -1,11 +1,13 @@
1
+ import type {UI_T_Project} from "~/lib/models/types";
1
2
  import type { UI_I_CreateDatastoreForm } from '~/components/common/backup/storage/actions/add/lib/models/interfaces'
2
3
 
3
4
  export const datastoreDefaultFormFunc = (
5
+ project: UI_T_Project
4
6
  ): UI_I_CreateDatastoreForm => {
5
7
  return {
6
8
  name: 'BackupStorage',
7
9
  version: 4.1,
8
- type_code: 1,
10
+ type_code: project === 'procurator' ? 2 : 1,
9
11
  readonly: false,
10
12
  server: '',
11
13
  folder: '',
@@ -14,10 +14,14 @@
14
14
 
15
15
  <script lang="ts" setup>
16
16
  import type { UI_I_Localization } from '~/lib/models/interfaces'
17
+ import type {UI_T_Project} from "~/lib/models/types";
17
18
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
18
19
  import { datastoreTypesFunc } from '~/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions'
19
20
 
20
21
  const formDatastoreTypeMode = defineModel<number>({ required: true })
22
+ const props = defineProps<{
23
+ project: UI_T_Project
24
+ }>()
21
25
 
22
26
  const localization = computed<UI_I_Localization>(() => useLocal())
23
27
  const { $store }: any = useNuxtApp()
@@ -25,7 +29,7 @@ const { $store }: any = useNuxtApp()
25
29
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
26
30
 
27
31
  const datastoreTypeOptions = ref<UI_I_RadioOption[]>(
28
- datastoreTypesFunc(localization.value)
32
+ datastoreTypesFunc(localization.value, props.project)
29
33
  )
30
34
  </script>
31
35
 
@@ -1,10 +1,12 @@
1
1
  import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type {UI_T_Project} from "~/lib/models/types";
2
3
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
3
4
 
4
5
  export const datastoreTypesFunc = (
5
6
  localization: UI_I_Localization,
7
+ project: UI_T_Project
6
8
  ): UI_I_RadioOption[] => {
7
- return [
9
+ const types = [
8
10
  {
9
11
  label: localization.common.localStorage,
10
12
  value: 1,
@@ -42,4 +44,8 @@ export const datastoreTypesFunc = (
42
44
  testId: 'datastore-type-shared-storm',
43
45
  },
44
46
  ]
47
+
48
+ if(project === 'procurator') types.shift()
49
+
50
+ return types
45
51
  }
@@ -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
+ }