Commit Graph

176 Commits

Author SHA1 Message Date
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
Jingwei.Zhang
fcb2856c31 fix: edit image's min disk
Fix the image min disk update when edit the image

Closes-Bug: #1990917
Change-Id: Icc1d8f1c2fd64ed06c3912d5ac733e0208f0ef38
2022-09-27 15:08:00 +08:00
Jingwei.Zhang
1cdecff679 fix: remove tags filter in the instance list page
Remove tags filter in the instance list page, because the api has not
supported it, this affects:
1. the instance list page
2. the instance list tab in the server group detail page
3. the instance list tab in the host detail page
4. the instance list tab in the flavor detail page

Closes-Bug: #1990826
Change-Id: I400d53d0c051ffab12478796ba0cdc165347ddd4
2022-09-27 09:52:39 +08:00
Jingwei.Zhang
fdcf5c14b2 fix: create instance by given image/instance snapshot
1. fix the image value check when create instance by a given image
2. fix the instance snapshot value check when create instance by a given instance snapshot
3. remove the useless instance snapshot request when create instance by a given bootable volume or a given image

Closes-Bug: #1990349
Change-Id: I4cee48bd9bb38ce6db1d59acc362d24d4af49b08
2022-09-21 14:23:26 +08:00
Jingwei.Zhang
849db0f740 fix: set AZ required when create aggregate
1. Set AZ input required when create aggregate with new AZ
2. Set AZ select(which contains a no-select AZ) required when create aggregate without new AZ

Closes-Bug: #1990213
Change-Id: Ie84ef2aac98da92c5707db9e0355e23f3e96f6f9
2022-09-20 15:26:53 +08:00
Jingwei.Zhang
92b91ba067 fix: fix edit image
1. Set the min_disk/min_ram to be required when edit image, and fix the zero
min_ram value in the request body.
2. Set the hw_cpu_policy/hw_cpu_thread_policy to be required when create/edit image, to avoid loss the value.

Closes-Bug: #1990092
Change-Id: I58b42824d041a4b615e6db31ddcef23da8a8494c
2022-09-19 13:53:31 +08:00
xusongfu
321bea9dce fix: Fix attachments in volume list and tag in instance list
1.Hide attachments only in instance detail page
2.Remove tag sort in instance list

Change-Id: I415bdacf54ba266b3e8da261a688160bb1b0784b
2022-09-01 16:41:19 +08:00
Jingwei.Zhang
d3eea42e48 refactor: optimize the rendering of data with unit
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with unit, such as size value

Change-Id: I0e4971eeee1353bce03e6ae1f583c8b6ace87489
2022-08-30 09:29:52 +08:00
zhangke
97e64d3030 fix: support capacity expansion of volume when instance is locked
1. update confirm context when locking instance
2. remove check attached server's locked status when expanding the capacity of volume

Change-Id: I478dfadc131f43bd9d7c0d294ccc96e6f799eca4
2022-08-26 16:07:55 +08:00
Jingwei.Zhang
74f2f03e88 refactor: optimize the rendering of data with map values
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with map values, such as status value, which has a value map to deal with the i18n display

Change-Id: I9696c194e15db14197334f31d09a49de8170fe20
2022-08-25 17:11:39 +08:00
Zuul
b5c8add500 Merge "fix: displayed when no data in the volume size field on the instance detail page" 2022-08-18 11:42:11 +00:00
xusongfu
5495f1f16f fix: fix ephemeral when create flavor
Make ephemeral mandatory when category has ephemeral

Change-Id: Iedb909872d28c97df288c8129d0477a4a972c82b
2022-08-18 14:57:01 +08:00
zhangke
e7383cc2b9 fix: displayed when no data in the volume size field on the instance detail page
1. fix displayed when no data in the volume size field on the instance detail page

Change-Id: Iec5f76c46b0c5891c46a6523ec8dbaeac531d521
2022-08-18 14:44:52 +08:00
Zuul
07d6a51bf2 Merge "fix: fix code editor and edit image" 2022-08-16 10:55:19 +00:00
xusongfu
63eba716b8 fix: fix code editor and edit image
1. Show full error message in code editor
2. Fix params when update image if os_distro is empty

Change-Id: Ifac477ce28758e737291789b85e5e4c481e8729d
2022-08-16 15:46:01 +08:00
Jingwei.Zhang
6354d67d9d feat: use the port list page to instead of the virutal adapter
1. Add port list page, the old virtual adapter list page only show the
compute:nova bouned ports and unbouned ports
2. Update actions's allowed check: detach fip
3. Update port store: from virtualAdatperStore to portStore
4. Adjust file/folder path: from virtualAdapter to port

Change-Id: Iceec96731a9fd17de429b4e6061490a26e562162
2022-08-16 13:48:08 +08:00