bfg-common 1.0.16 → 1.0.18
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/components/common/adapterManager/AdapterManager.vue +9 -9
- package/components/common/adapterManager/ui/table/Table.vue +2 -2
- package/components/common/addNetworking/AddNetworking.vue +2 -2
- package/components/common/addNetworking/config/sendData.ts +1 -1
- package/components/common/addNetworking/mappers/mappers.ts +1 -1
- package/components/common/diagramMain/DiagramMain.vue +2 -2
- package/components/common/diagramMain/config/initial.ts +1 -1
- package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +236 -236
- package/components/common/diagramMain/modals/config/initial.ts +31 -45
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +6 -5
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +183 -178
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +2 -1
- package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +393 -392
- package/components/common/diagramMain/models/interfaces.ts +53 -74
- package/components/common/diagramMain/models/types.ts +1 -1
- package/components/common/monitor/models/interfaces.ts +1 -0
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Cpu.vue +371 -371
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/MaxCpu.vue +105 -105
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Sa.vue +102 -102
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/shares/Shares.vue +155 -155
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/Limit.vue +214 -214
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/Memory.vue +282 -282
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +451 -451
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +151 -151
- package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +230 -230
- package/components/common/vm/actions/add/select/compatibility/Compatibility.vue +151 -151
- package/package.json +1 -1
- package/public/spice-console/network/spicechannel.js +1 -1
|
@@ -56,7 +56,7 @@ export interface UI_I_SelectedAdapter {
|
|
|
56
56
|
connectedPorts: UI_I_ConnectedPort[]
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export interface
|
|
59
|
+
export interface UI_I_Sysx {
|
|
60
60
|
mtu: number
|
|
61
61
|
name: string
|
|
62
62
|
services: {
|
|
@@ -81,29 +81,45 @@ export interface API_UI_I_Sysx {
|
|
|
81
81
|
tcp_stack: string
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export interface
|
|
84
|
+
export interface UI_I_OverrideValue {
|
|
85
|
+
override: boolean
|
|
86
|
+
value: string | boolean
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface UI_I_NetworkSummaryPortletListItem {
|
|
90
|
+
label: string
|
|
91
|
+
value: string
|
|
85
92
|
id: string
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
initialValue: UI_I_OverrideValue
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface UI_I_Network {
|
|
89
97
|
activeAdapters: string[]
|
|
90
|
-
|
|
91
|
-
standbyAdapters?: string[]
|
|
98
|
+
id: string
|
|
92
99
|
networkType: UI_E_NetworkType
|
|
93
100
|
ports: UI_I_Port[]
|
|
94
|
-
|
|
101
|
+
standbyAdapters?: string[]
|
|
95
102
|
switchName?: string
|
|
103
|
+
sysx?: UI_I_Sysx
|
|
104
|
+
title: string
|
|
105
|
+
toggle: boolean
|
|
106
|
+
unusedAdapters?: string[]
|
|
107
|
+
vlanId?: number | string
|
|
96
108
|
}
|
|
109
|
+
|
|
97
110
|
export interface UI_I_NetworkInfo {
|
|
98
|
-
securityPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
99
|
-
nicTeamingPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
100
|
-
shapingPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
101
111
|
average_bw: number
|
|
102
|
-
peak_bw: number
|
|
103
112
|
burst_size: number
|
|
113
|
+
nicTeamingPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
104
114
|
nics_override: boolean
|
|
115
|
+
peak_bw: number
|
|
116
|
+
securityPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
117
|
+
shapingPolicy: UI_I_NetworkSummaryPortletListItem[]
|
|
105
118
|
}
|
|
106
119
|
|
|
120
|
+
|
|
121
|
+
export interface UI_I_NetworkFull extends UI_I_Network, UI_I_NetworkInfo {}
|
|
122
|
+
|
|
107
123
|
export interface UI_I_SwitchInfo extends UI_I_NetworkInfo {
|
|
108
124
|
mtu: number
|
|
109
125
|
num_ports: string
|
|
@@ -120,19 +136,6 @@ export interface UI_I_DiagramData {
|
|
|
120
136
|
physicalAdapters: UI_I_PhysicalAdapters | null
|
|
121
137
|
}
|
|
122
138
|
|
|
123
|
-
export interface UI_I_OverrideValue {
|
|
124
|
-
override: boolean
|
|
125
|
-
value: string | number | boolean
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface UI_I_NetworkSummaryPortletListItem {
|
|
129
|
-
label: string
|
|
130
|
-
value: string | number | boolean
|
|
131
|
-
id: string
|
|
132
|
-
initialValue: string | number | boolean | UI_I_OverrideValue
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export interface UI_I_NetworkFull extends UI_I_Network, UI_I_NetworkInfo {}
|
|
136
139
|
export interface UI_I_NetworkFullWithPositions extends UI_I_NetworkFull {
|
|
137
140
|
portsCount: number
|
|
138
141
|
portsHeight: number
|
|
@@ -161,7 +164,7 @@ export interface UI_I_AdaptersWithPositions {
|
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
export interface UI_I_NetworksWithPositions
|
|
164
|
-
|
|
167
|
+
extends Omit<UI_I_Network, 'ports'> {
|
|
165
168
|
ports: (UI_I_Port & { portPosition: number })[]
|
|
166
169
|
portsCount: number
|
|
167
170
|
portsHeight: number
|
|
@@ -248,7 +251,7 @@ export interface UI_I_TeamingFailoverFields {
|
|
|
248
251
|
}
|
|
249
252
|
}
|
|
250
253
|
export interface UI_I_TeamingFailoverWithAdaptersFields
|
|
251
|
-
|
|
254
|
+
extends UI_I_TeamingFailoverFields {
|
|
252
255
|
adapters: UI_I_AdapterStatus
|
|
253
256
|
}
|
|
254
257
|
|
|
@@ -296,7 +299,7 @@ export interface UI_I_PortPropertiesFields {
|
|
|
296
299
|
|
|
297
300
|
export interface UI_I_AdapterStatus {
|
|
298
301
|
active: string[]
|
|
299
|
-
|
|
302
|
+
standby: string[]
|
|
300
303
|
unused: string[]
|
|
301
304
|
}
|
|
302
305
|
|
|
@@ -453,9 +456,9 @@ export interface UI_I_PropertiesFields {
|
|
|
453
456
|
|
|
454
457
|
export interface UI_I_EditFieldsData {
|
|
455
458
|
properties?:
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
+
| UI_I_PropertiesFields
|
|
460
|
+
| UI_I_SwitchPropertiesFields
|
|
461
|
+
| UI_I_PortPropertiesFields
|
|
459
462
|
security?: UI_I_SecurityFields
|
|
460
463
|
trafficShaping?: UI_I_TrafficShapingFields
|
|
461
464
|
teamingFailover?: UI_I_TeamingFailoverWithAdaptersFields
|
|
@@ -484,54 +487,49 @@ export interface UI_I_ModalTabs {
|
|
|
484
487
|
value: number
|
|
485
488
|
}
|
|
486
489
|
|
|
487
|
-
export interface
|
|
488
|
-
active: string[]
|
|
489
|
-
standby: string[]
|
|
490
|
-
unused: string[]
|
|
491
|
-
}
|
|
492
|
-
export interface API_UI_I_D_Security {
|
|
490
|
+
export interface API_UI_I_Security {
|
|
493
491
|
forged_transmits: string
|
|
494
492
|
mac_change: string
|
|
495
493
|
promiscuous_mode: string
|
|
496
494
|
}
|
|
497
|
-
export interface
|
|
495
|
+
export interface API_UI_I_Shaping {
|
|
498
496
|
enabled: boolean
|
|
499
497
|
inherit: boolean
|
|
500
498
|
average_bw: number
|
|
501
499
|
burst_size: number
|
|
502
500
|
peak_bw: number
|
|
503
501
|
}
|
|
504
|
-
export interface
|
|
502
|
+
export interface API_UI_I_State {
|
|
505
503
|
code: number
|
|
506
504
|
icon: string
|
|
507
505
|
text: string
|
|
508
506
|
}
|
|
509
|
-
export interface
|
|
507
|
+
export interface API_UI_I_Status {
|
|
510
508
|
code: number
|
|
511
509
|
text: string
|
|
512
510
|
}
|
|
513
|
-
export interface
|
|
511
|
+
export interface API_UI_I_Teaming {
|
|
514
512
|
failback: string
|
|
515
513
|
link_detect: string
|
|
516
514
|
mode: string
|
|
517
515
|
notify_switches: string
|
|
518
516
|
}
|
|
519
|
-
export interface
|
|
517
|
+
export interface API_UI_I_SwitchItem {
|
|
520
518
|
mtu: number
|
|
521
519
|
name: string
|
|
522
520
|
networks: string[] | null
|
|
523
|
-
nics:
|
|
521
|
+
nics: UI_I_AdapterStatus
|
|
524
522
|
num_ports: string
|
|
525
|
-
security:
|
|
526
|
-
shaping:
|
|
527
|
-
state:
|
|
528
|
-
status:
|
|
529
|
-
teaming:
|
|
523
|
+
security: API_UI_I_Security
|
|
524
|
+
shaping: API_UI_I_Shaping
|
|
525
|
+
state: API_UI_I_State
|
|
526
|
+
status: API_UI_I_Status
|
|
527
|
+
teaming: API_UI_I_Teaming
|
|
530
528
|
}
|
|
531
|
-
export interface
|
|
532
|
-
items:
|
|
529
|
+
export interface API_UI_I_SwitchItems {
|
|
530
|
+
items: API_UI_I_SwitchItem[]
|
|
533
531
|
}
|
|
534
|
-
|
|
532
|
+
// API_UI_I_D_VSwitchItem
|
|
535
533
|
export interface UI_I_SelectedSwitchPositions {
|
|
536
534
|
selectedSwitchLineY: UI_I_SwitchLine
|
|
537
535
|
selectedPort: UI_I_SelectedPort
|
|
@@ -559,28 +557,9 @@ export interface UI_I_TrafficShapingSpeeds {
|
|
|
559
557
|
export interface UI_I_NetworkEditSendData {
|
|
560
558
|
name: string
|
|
561
559
|
vlan: number
|
|
562
|
-
security:
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
shaping: {
|
|
568
|
-
inherit: boolean
|
|
569
|
-
enabled: boolean
|
|
570
|
-
average_bw: number
|
|
571
|
-
peak_bw: number
|
|
572
|
-
burst_size: number
|
|
573
|
-
}
|
|
574
|
-
teaming: {
|
|
575
|
-
mode: string
|
|
576
|
-
link_detect: string
|
|
577
|
-
notify_switches: string
|
|
578
|
-
failback: string
|
|
579
|
-
}
|
|
560
|
+
security: API_UI_I_Security
|
|
561
|
+
shaping: API_UI_I_Shaping
|
|
562
|
+
teaming: API_UI_I_Teaming
|
|
563
|
+
nics: UI_I_AdapterStatus
|
|
580
564
|
override_nics: string | number | boolean
|
|
581
|
-
nics: {
|
|
582
|
-
active: string[]
|
|
583
|
-
standby: string[]
|
|
584
|
-
unused: string[]
|
|
585
|
-
}
|
|
586
565
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UI_I_Adapter } from '~/components/common/diagramMain/models/interfaces'
|
|
2
2
|
|
|
3
|
-
export type UI_T_AdapterStatusNames = 'active' | '
|
|
3
|
+
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'
|