Commit Graph

191 Commits

Author SHA1 Message Date
zhangjingwei
7b7f594daf feat: udpate manage security group
When managing security groups on vm, it is prohibited to select port_security_enabled ports.

Change-Id: Ib64ddce2f5f4a34f245d552073ab63429665cefd
2024-04-18 14:23:45 +08:00
zhangjingwei
9962be6795 feat: update code format
update code format by yarn run lint

Change-Id: Ic413e3f4dc181549d5a751933a22f590bd38d2ad
2024-04-03 16:05:02 +08:00
Zuul
e65405bd8a Merge "feat: Adding log feature to Nova instance detail page." 2024-03-26 11:39:07 +00:00
resitdemir
c5fa4cb717 feat: Adding log feature to Nova instance detail page.
Log tab has been added to the Nova instance detail interface.

Change-Id: I42005ff85d5c329aaf4a18a9d6181e901d091217
2024-03-26 07:14:01 +00:00
zhangjingwei
80e1d1275d feat: support non-root users to log in
Support vm password login for non-root users when creating vm/ironic

Change-Id: Iaf692e333686d2563013c0ea41777da8c772ce35
2024-03-25 15:49:12 +08:00
zhangjingwei
e1a9d17f4c fix: fix subnet cidr tip
1. fix subent cidr tip when select network
2. update subnet selector style

Change-Id: I28e00000353e4929c13c74264582dc14d6e726ed
2024-03-19 12:35:49 +08:00
zhangjingwei
9b2425e781 feat: add tip for rebuild instance
Add snapshot tip of the root disk when rebuilding instance

Change-Id: I551d774f12cc4d8646d91a6cfad72bf835cf5315
2024-03-08 12:33:13 +08:00
zhangjingwei
48444e9ee7 feat: update i18n
1. fix tr language file in the gulp task
2. update i18n file for each languages
3. fix some i18n

Change-Id: I31f6324d79bb57c0721d6d771a199daa26856811
2024-03-06 18:07:43 +08:00
zhangjingwei
ade5757898 fix: fix set security group when create instance
Hide security group selector when select any network or port which the port_security_enabled is false

Change-Id: Iece38c32c681fd07e69d42f3f3f9901fee2bdf8f
2024-03-04 14:44:10 +08:00
zhangjingwei
b8793a195d feat: open new window for creating network/subnet
Open a new window for createing network/subnet when in the ironic creation page.

Change-Id: I92a9101e63114dddee0810089a2596c124282102
2024-02-02 10:28:21 +08:00
zhangjingwei
5fcc3b053e feat: support refresh button for SelectTable component
1. Support refresh button to refresh data for the SelectTable component.
2. When creating an instance/ironic/container, you can click to create a network/security group, then create a new resource in a new window, refresh the data in the previous window and select the newly created resource.

Closes-Bug: 2042928
Change-Id: I66bdbf848d375e45f0ab8941b0989165ad86a137
2024-01-31 14:21:55 +08:00
zhangjingwei
5a31563316 fix: fix force shutdown form item in the resize instance form
Fix the force shutdown form item validator in the resize instance form, the force shutdown check form item must be checked

Change-Id: If4823c3082680038b74c18d132b00de9ba246e43
2023-11-28 09:19:08 +08:00
zhangjingwei
e6cd3d83eb fix: fix i18n for deleteVolumeInstance formItem label
Fix the label of the deleteVolumeInstance formItem

Change-Id: I2078ac1b18914cf39e1254c65788cdd53bac0410
2023-11-23 14:06:16 +08:00
Elly Murillo
639bcedd7d feat: Allow deletion of Volume on Instance Delete setting
This feature allows the user to check whether the selected Volume should be deleted along with the instance
when the user selected the Bootable Volume Start Source via Instance creation module.

Change-Id: Ib7e7da84de8e884e2cec65fa9747f04551e2de96
2023-11-22 12:13:58 +08:00
xusongfu
ccf2942c78 fix: Fix GPU type
GPU type was lost for visual GPU

Change-Id: Ibcf62cefb554172841ffee1fffad49cb2ba40dab
2023-11-16 15:23:32 +08:00
zhangjingwei
2af37719c1 fix: fix system disk size check
Add system disk size check when create instance.

Closes-Bug: #2038269
Change-Id: Ib0b1d36fbaee52d3054da826f56e6b5f85a28457
2023-10-31 17:08:22 +08:00
Zuul
8be87ab24e Merge "feat: Add Keypair column list to instances." 2023-10-16 09:46:52 +00:00
resitdemir
b06fc9a3cc feat: Add Keypair column list to instances.
Change-Id: I2ba707e78dfb1dbac6706186bce312b9e8873868
2023-10-16 06:14:07 +00:00
Jingwei.Zhang
d56f8ea6ce refactor: update columns function for image
update getColumns function for image, then other class can better update the columns by inheritance class

Change-Id: I8c5387b4e03edfb5f94764a7bb7c60759962871e
2023-10-12 11:31:34 +08:00
Jingwei.Zhang
dcd8ab479a feat: add container format column for image
1. add container format column for image list page
2. fix request body for create docker image
3. update container format value display

Change-Id: I40ad82385d2f014b1066428e4b30ddd99435d01c
2023-10-11 14:50:53 +08:00
resitdemir
a8e7670082 Feat: Docker images to glance
Change-Id: I8b061e1744c044f24e2704b7a241fc9ef1744c77
2023-10-10 08:48:14 +00:00
Jingwei.Zhang
6a186ee521 feat: support create non-bfv instance
support create non-bfv instance

Closes-Bug: #2003057
Change-Id: If494648f4d42c6da54661400283968c7220bf2a4
2023-10-07 11:00:43 +08:00
xusongfu
ec21bd17ab fix: show project id and filter data by it
Show project id and filter data by it when create nework,subnet,fip,qos in management platform

Closes-Bug: #2037275
Change-Id: I4e12b423be7662ba83f8efbf55e1b6aa0e31105d
2023-09-26 17:59:58 +08:00
Jingwei.Zhang
61e07535a5 feat: add detail info to action in detail tab
1. add instance detail info to the attach volume action in the instance detail page
2. add instance detail info to the manage security group action and detach action in the instance detail page
3. add port detail info to the manage security group action and detach action in the port detail page

Change-Id: Ie63f8d330ad5442fdb5c6263e83e974e53fb1a3e
2023-09-12 11:16:20 +08:00
Jingwei.Zhang
3f23280df5 fix: update delete tip for instance soft delete
update delete tip for soft delete instance

Change-Id: Id7492e49668fcd4c6408363ad636e45ba8a67ae8
2023-08-17 17:33:53 +08:00
Jingwei.Zhang
06e581191b refactor: refactor create ironic
refact create ironic code

Change-Id: I9aa223951e610e9a63e5fdc680381aea88d08ff0
2023-08-07 20:27:28 +08:00
Jingwei.Zhang
29c4030d0c refactor: refactor create instance
refact create instance code

Change-Id: Ib8ca4af068bd7377c82bee9d0b01df9f1c0ace42
2023-08-07 15:26:35 +08:00
Jingwei.Zhang
ec59419f4f feat: update color variables
Use color variables to set color in less and jsx, this makes it easy to change the theme for all pages.

Change-Id: I9b82c4624826854d40d11da4e6ce4a9137b86085
2023-05-25 16:44:59 +08:00
Jingwei.Zhang
3c5aeaa945 feat: set default os_type
Set the image's os_type=windows when the image's os_distro=windows

Change-Id: I78caf5d172ee51b6f4f6194901f3de4d759c960e
2023-05-09 10:41:56 +08:00
Jingwei.Zhang
56230e524e feat: optimize the clicking event in the select-table
Optimize the clicking event in the select-table component, when click the row of the table in the component, the row will be selected, but when click the button in the row, the selection does not change.

Change-Id: I88f3a842bcf3a91d1cd8a0f20e847f1e5e57ed7d
2023-04-19 14:45:08 +08:00
xusongfu
0a192be466 feature: Support attach network and detach network for zun container
1. Add attach network action for zun container

2. Add detach network action for zun container

Change-Id: I0cfe22e22b1f6ba3ce525a24ca1f95e5fcb098ec
2023-02-28 15:16:34 +08:00
xusongfu
7a4d17ee19 feature: Support quota in magnum service
1.Show quota info when create cluster
2.Support quota setting of magnum cluster when manage project quota

Change-Id: I90d1bc3c2bcb2aa95d728c245dd1b742d3fe6ae1
2022-12-06 16:07:48 +08:00
xusongfu
ac1edd6e97 Fix keypair in magnum
1.The form items value will be resetted, when create a new keypair
2.Same issue when create instance

Closes-Bug: #1998077
Change-Id: Ie0021cbddc4c8730d604e4892a8cfa878a5bcb95
2022-11-28 09:12:59 +00:00
xusongfu
f7ae6ff9d7 fix: Fix quick creating keypair in creating instance
Use public code for quick creating keypair when create cloud instance.

Change-Id: Ib0af8339fa8436ebeee958fd3f653ce0caa88a9d
2022-11-23 05:33:28 +00:00
Jingwei.Zhang
c1eb34a589 fix: add confirm resize/migrate button in the administrator
Add confirm resize/migrate button in the instance list in the administrator

Closes-Bug: #1960388
Change-Id: I46b6e7f4dd5ecfeffe2845d5fb74a63092d875e7
2022-11-21 16:51:48 +08:00
zhangke
3b1ddc54a0 fix: Calculate quota based on the data disk of the selected instance snapshot
When the Start source is the instance snapshot, the quota
should be calculated according to the data disk of the selected
instance snapshot and the newly added data disk

Closes-Bug: #1992739
Change-Id: I035b1edb5e0441e63d7919ea5933731bd687c1d2
2022-10-19 17:05:05 +08:00
zhangke
33f90ae331 fix: No data disk is displayed on the ConfirmStep
1. get instance snapshot data disks when rendering data disk
2. support contentStyle property for Descriptions component
3. add contentStyle for the data disk item to present multiple data disk values

Closes-Bug: #1992739
Change-Id: I62d92620574a5ee4ffff8f8d20958ad42cc4221a
2022-10-19 16:41:25 +08:00
zhangke
fdd6dbb5e3 fix: Not show the data disk when creating vm by Instance snapshot
Not show the data disk when creating vm by Instance snapshot with system disk and data disk
1. fetch instanceSnapshotDataVolumes data when change instance snapshot
2. add Required Data Disk form item of BaseStep when create instance by snapshot
3. show instance snapshot data disk's info if instance snapshot has system disk and data disk
4. hide render default system disk when selecting Bootable Volume of Start Source's option

Closes-Bug: #1992739
Change-Id: I3a1daa8845cc9f73b8ea8d0216d49ad858b7168b
2022-10-19 16:40:05 +08:00
zhangjingwei
73e6153e24 fix: update the project name display in the rebuild instance action
Show the project name of the images in the rebuild instance action, when the current user has admin role

Change-Id: I1073c398941e43311ab6a6a03e7f36458d8ba70c
2022-10-18 14:35:33 +08:00
Jingwei.Zhang
115015821f feat: update name column in the keypair list page
1. Update nameRender to support without id
2. Update name column in the keypair list page: only show the name with link to the detail page
3. Fix the id value in the keypair detail page

Change-Id: I8c983875425b1c9b31f8b3ea8eb80667b5cfabf6
2022-10-11 14:54:06 +08:00
Jingwei.Zhang
d158a05bfb feat: display the id/name column in the table in a unified style
1. update the port id/name column in the MemberAllocator component which is used in create load balancer action
2. update the database backup id/name column in the database backup list page
3. update the configuration id/name column in the database configuration list page
4. update the id/name columns in the vpn endpoint/ike policy/ipsec policy/gateway list page
5. update the volume id/name column in the volumeSelectTable component which is used in instance attach volumes action
6. update the port id/name column in the network step in create instance action

Change-Id: Idc3bc161a56b06cb83f9e4c9543edaf0762a4669
2022-10-11 11:46:09 +08:00
zhangke
574580a7fa fix: modify padding of security groups on instance detail english page
modify padding of security groups on instance detail english page

Change-Id: Id597c693127d5578b0671ab0173bf55c31d25e91
2022-10-09 11:58:11 +08:00
Zuul
965844d557 Merge "feat: support flavor to add cpu/memory search filters" 2022-10-08 12:03:28 +00:00
zhangke
2f286ce361 fix: add Specify Physical Node label of manually specify when create instance
When creating an instance, switch to manually specify the physical node. The physical node label is missing in compute page.

Change-Id: Ia1c709dc06b8c767c1004a794b22541535f2a2e5
2022-10-08 15:56:36 +08:00
zhangjingwei
5fc0635853 feat: support flavor to add cpu/memory search filters
1. Support cpu/memory fuzzy search in the flavor list page
2. Support flavor cpu/memory fuzzy search in the FlavorSelectTable component, which is used in:
(1) create instance page
(2) create ironic page
(3) instance resize form
(4) create database instance page
(5) create cluster template page
(6) edit cluster template page

Change-Id: Iba1303a7641621a50b92e21e9173ba65fd7ac669
2022-10-08 09:31:40 +08:00
Zuul
c160574dce Merge "fix: add vm state check for modify instance tags" 2022-09-29 11:19:50 +00:00
Zuul
22df7b15e6 Merge "Fix the name of Bare Metal Nodes" 2022-09-29 10:30:09 +00:00
Jingwei.Zhang
79d41791bd fix: add vm state check for modify instance tags
Modify instance tags is allowed when the vm_state value is one of active, paused, suspended, stopped

Closes-Bug: #1991202
Change-Id: I1275053dd0aa57d777ba23046861d4c1b551ee03
2022-09-29 15:51:29 +08:00
xusongfu
069d45af87 Fix the name of Bare Metal Nodes
When create or edit, fill in name of node, then clear it, creating and editing nodes throws an error

Closes-Bug: #1991208
Change-Id: Ia2ad3fb1f9f4a5fa38e59df68386caf5c0c74d3d
2022-09-29 15:22:44 +08:00
zhangke
cdd6863732 fix: security groups style is error on instance detail english page
security groups style is error on instance detail english page

Closes-Bug: #1991194
Change-Id: If979c900c0b8495c18751c47be025036f2f33180
2022-09-29 14:06:11 +08:00