Commit Graph

245 Commits

Author SHA1 Message Date
xusongfu
d80c23b202 fix: fix the title of zun container
1. fix the title of auto remove to enable auto remove, same to auto heal and interactive
2. fix filter name from status to container status

Change-Id: I890d27546e7425c053134751c0af24baf185839e
2023-01-16 13:57:25 +08:00
xusongfu
6c34ed67f0 fix: fix the magnum template detail info
1. If the template's flavor, network and other attributes are deleted, set it to null
2. Fix default network if network are delete when create cluster

Change-Id: I2de6f5eab11077e249d96bd5a6cbb88dae6e6101
2023-01-14 00:22:07 +08:00
xusongfu
317a81acc4 feature: support search filters and fix image in zun ui
1. support search filters to capsules
2. support search filters to containers
3. support search filters to hosts
4. support search filters to services
5. because the glance image's name can be repeated, change params from name to id if use glance image

Change-Id: If3ceed8d0027f230afd72784c48161048fe61faf
2023-01-10 19:10:26 +08:00
xusongfu
5f5b8c3cd5 feature: support some new params and fix some issues of zun ui
1. add health check
2. add exposed ports
3. add auto remove
4. add entrypoint
5. add validator to some key-inputs
6. fix the image resource by glance or docker
7. fix step name from miscellaneous to others

Change-Id: I40180a44657ace3419c009f73ab527c99fb483d3
2023-01-10 09:50:16 +08:00
xusongfu
0568a3ea7c fix deleting and detail info showing of cluster
1. fix the delete condition of cluster instance
2. use card to show the health status reason
3. allowed jump to stack detail from cluster detail page
4. simplify the template card in cluster detail page

Change-Id: Ic932f3c9d0bd0d96af2ba01c1f3dfc3bf7b2fb52
2023-01-03 12:45:10 +00:00
xusongfu
a307f457e4 fix: fix the magnum service
1. check cluster quota immediately when create page mounted
2. fix template coverage to instance information
3. fix detail fetch to show image name,flavor name...

Closes-Bug: #1999756
Change-Id: I586689d508cb838562ba4a0bef574a4e696e57c0
2022-12-15 18:59:28 +08:00
xusongfu
3ada93aae8 fix the validator of cluster name and labels
1. fix the validator of cluster name
2. replace the labels in cluster which from cluster template

Closes-Bug: #1999398
Change-Id: I244282686cab18ec69930b8221701a9363f70b74
2022-12-12 22:16:01 +08:00
xusongfu
c7e19491fe fix: support name validator and fix placeholder of magnum service
1. support validator of cluster name

2. fix placeholder of cluster and template

Change-Id: I5901ab64a9f45df8f0ca91ba883e2b225ddda000
2022-12-09 14:53:31 +08:00
xusongfu
77df05477e fix: Support search filter for cluster and template.
Support search filter for cluster instance and cluster template

Closes-Bug: #1999128
Change-Id: Ic1ec950f483f6eca845aa13ba3ae533b29d844e0
2022-12-08 09:17:11 +00: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
47b3cead09 feature: Support magnum in administrator platform
1. Show list and detail of cluster instance
2. Show list and detail of cluster template
3. Hide the keypair if in administrator platform

Change-Id: I61532a12312383cdedf2fdfca10633b16064f77b
2022-11-18 14:24:13 +08:00
xusongfu
638ac6f2eb feature: Add translation for monitor center
Added Chinese translation for monitor center

Change-Id: I47cfc090099f3d5413012f5abee0558f78b5d94e
2022-11-11 18:15:16 +08:00
xusongfu
f89ffe6149 Fix the state and default value when create cluster instance
The clusterTemplate of state was not updated when clusterTemplate changed

Closes-Bug: #1996143
Change-Id: I4f781454b918662a8e46f4d4af06454df5993936
2022-11-10 16:27:10 +08:00
Zuul
60bf011927 Merge "Fix the cluster and template of magnum" 2022-11-09 11:57:05 +00:00
xusongfu
5eab747fb3 Fix the cluster and template of magnum
1. When creating a cluster instance, the parameters are the same as the template, change them to optional
2. Fix some tips of form item to get a better understanding
3. Change the filter for image list by zed spec of openstack magnum user guide document

Closes-Bug: #1996046
Change-Id: I5a698ccde7454f8d34e6d0d3ed726582708855b0
2022-11-09 17:56:59 +08:00
Jingwei.Zhang
6ed2fb1a2d feat: support search in the global navigation
Support search menu in the global navagition

Change-Id: I4c12e5d57650f6ef2641ed8680e98d6919432124
2022-11-09 15:11:24 +08:00
Jingwei.Zhang
985c03af95 feat: add global navigation
1. Add global navigation at the left top position of the whole page
2. Update the right menu layout to adjust the global navigation
3. The global navigation show the extended menu in the console/user center/administrator

Change-Id: Iee64af2821bd034e3818166308512d946e44cbe7
2022-11-09 09:57:38 +08:00
xusongfu
5ba32d6dde feature: Optimization of Magnum
1. Update some form item labels for better semantics
2. Make the template name be required when create the template
3. Support create cluster instance from template list

Change-Id: I588af877fe776dbf7d44b11ad350566bf231121f
2022-11-07 17:43:50 +08:00
Zuul
2127390852 Merge "feat: Support download file progress and abort download" 2022-10-19 15:29:42 +00: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
xusongfu
b7a8b6f335 feat: Support download file progress and abort download
1.Support showing download progress when download file
2.Support abort download file

Closes-Bug: #1990355
Change-Id: I7d29ddfee7ddb79c8b2ddd4359846adee23d0b76
2022-10-19 14:38:22 +08:00
zhangjingwei
47c34e1100 fix: update the qos policy column in the floating ip list page
1. Update the qos policy name in the floating ip list page, if the user has the admin role, the user can fetch all the qos polices
2. Update the qos policy column title, and support qos policy id and name in the download data

Change-Id: I96a18f24ef2f2e6c09d56eb5ae980202c31b98dd
2022-10-18 17:24:37 +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
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
Zuul
f6caeb6184 Merge "fix: Fix the unit when upload file" 2022-09-19 10:55:54 +00:00
xusongfu
c7556cfda7 fix: Fix the unit when upload file
Fix the unit to `GiB` when upload file in storage container

Closes-Bug: #1990125
Change-Id: I0f1bf1ec5979c1481033af3e72efcf586a5105dc
2022-09-19 16:55:32 +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
zhangjingwei
6f11bb4d11 fix: fix the error messages for required fields in forms
1. Fix the error messages for the required fields in forms
2. Update i18n

Closes-Bug: #1989553
Change-Id: Iad8f61ec00cd4511f44de8acfcd230342e4560c1
2022-09-14 16:42:53 +08:00
Jingwei.Zhang
62fcb1d585 fix: remove page size change in the port forwarding popover
1. Remove the page size change in the port forwarding popover when the port forwarding is more then 50.
2. Update the port forwarding popover title to the plural form

Change-Id: I3ca04d2d48d27db5d9329fdc601a5a991335810e
2022-08-29 10:20:06 +08:00
Zuul
569aaa2b05 Merge "fix: support capacity expansion of volume when instance is locked" 2022-08-26 11:07:23 +00:00
Zuul
70ada3b460 Merge "feat: show volume list in volume snapshot detail" 2022-08-26 09:44:42 +00: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
xusongfu
35c2a2a2fb feat: show volume list in volume snapshot detail
Show the volumes which are created by the snapshot

Change-Id: I4d6fd2ba6b0e56bc22a55971ee482ca4f372ef11
2022-08-26 15:20:42 +08:00
Jingwei.Zhang
d4d6b60db2 fix: optimize the display of subnet information
1. Add subnet id in the subnet list page and subnet download data
2. Add tip of the used ip in the subnet list page in console

Change-Id: Ib38b94f71e02c9ed890e4e3d79773f1982a27c0f
2022-08-26 11:20:57 +08:00
xusongfu
45178c2e1f fix: fix the delete permission of volume snapshot
No delete operation in detail page if the snapshot has created some volumes

Change-Id: Iabe91d109c134b256360b377328f2055733ad987
2022-08-24 12:17:03 +08:00
Jingwei.Zhang
dfde82e667 feat: support subnet detail page
1. Support subnet detail page: base info tab && ports tab
2. Refactor subnet codes: adjust a more reasonable directory structure
3. Update port related code to support ports list in the subnet detail page
4. Update port detail back to the list page: entering from the instance/network/subnet detail page will return to the instance/network/subnet detail page
5. In the instance detail interface tab, remove the device owner filter

Change-Id: I02edd0cb54a76f6b590411be5f93b57bb89c6cd6
2022-08-23 10:50:03 +08:00
xusongfu
159aa00875 fix: fix the abort of upload
1. Fix the `canToken` to `cancelToken`
2. Show abort button if it's not modal form

Change-Id: I24f5b1632e68baaa04d9f0ed7e11ebc74f48e1bb
2022-08-22 15:17:01 +08:00
Jingwei.Zhang
c6f4c9117e feat: support edit port forwarding with port range
1. Refactor edit port forwarding
2. Support edit port forwarding with port range
3. Update the instance name of the port forwarding
4. Update the display of the port forwarding porotols
5. Fix the display of the port forwarding popup in the fip list page

Change-Id: Iab97a60275f94d79cfb95db42154351665d0025e
2022-08-19 14:46:15 +08:00
Jingwei.Zhang
84f06c8288 feat: support web SSO login
After the Web SSO login is successfully configured on the back-end, you can select a login mode on the login page based on the configuration. The default login mode is Keystone authentication. If you select the Web SSO login mode, click OK to switch to the Web SSO configuration page.

Implements: blueprint skyline-sso-oid
Change-Id: I438adb31c758287525ba896b4d2b21d00842c3e7
2022-08-18 17:36:03 +08:00
Jingwei.Zhang
832cce176c refactor: remove the basic role display from the overview page
1. remove the basic role display from the overview page: because the api removed the base role information[1]
2. fix the title i18n

[1] I461ae3f8979377ae22ec851bf3315e509b22cfbd

Change-Id: Ib0e1ed51010c68dac64159a6154e65399f46a14d
2022-08-18 09:50:15 +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
Jingwei.Zhang
ddde1b9e8e feat: Support create port forwarding with internal/external port range
1. Update create port forwarding: support internal/external port range,
provides error hints for more explicit port usage
2. Update the port forwarding display in the floating ip list page: add pages to show large amounts of data
3. Update the port forwarding display in the port forwarding tab in the floating ip detail page: add id/description, support external port range filter,
support sort by api
4. Change `DNAT`, 'port forwarding rule' to 'port forwarding'

Change-Id: I40f6ccfb56949430b7c5f0256cc952d7ea5305aa
2022-08-15 16:27:29 +08:00
xusongfu
cf9349537b feat: support zun services
Enables administrative users to view details for all Zun services.

Change-Id: I9bcd7178b80882588bc1d777b68e82b81bd02062
2022-08-12 13:42:44 +08:00
Jingwei.Zhang
c29864fb46 feat: support cascade delete volume
When deleting a volume, you can choose whether to delete the associated snapshots of the cloud disk in cascade. If you select cascade deletion, when the cloud disk has snapshots, the associated snapshots will be automatically deleted first, and then the cloud disk will be deleted.

Change-Id: Ib5e38a299921ea121fc6d41dbc48c220c51d4968
2022-08-11 17:35:51 +08:00
xusongfu
3b3629d527 feat: support trove resize volume
1. support trove resize volume
2. show quota when resize volume

Change-Id: Ia2b21d390047a8754a01ccfc5b44a071060cdf46
2022-08-10 17:58:21 +08:00
xusongfu
e16951bde0 feat: support trove quota
1. support trove quota in manage project quota
2. support trove quota in overview page

Change-Id: Iac2ea282744239fc043df2bdc456b7daba05de9b
2022-08-08 17:57:26 +08:00
Jingwei.Zhang
612152cdbb fix: update 'gigabytes' to 'capacity' in the titile
1. Update 'gigabytes' to 'capacity' in the title
2. Add the blank before '(GiB)' and '(MiB)'
3. Update related i18n

Change-Id: I46de9793f9fb32a8f33915775bdfd5d486a84253
2022-08-08 10:55:23 +08:00
Zuul
67a8db0e95 Merge "feat: show logs of a zun container" 2022-08-05 07:16:34 +00:00
xusongfu
6ecd7ce300 feat: show logs of a zun container
Show logs of a zun container

Change-Id: I6ab28850e3f802a76372e5cee62e6306029c29e2
2022-08-05 09:30:15 +08:00
Jingwei.Zhang
dda85bbf26 feat: update volume action menu
1. Update the volume action menu: classified as 'data protection', 'instance related', 'capacity & type'
2. Update the volume action menu in the volume tab in the  instance detail page
3. Update the volume/snapshot e2e cases according the new action menu

Change-Id: Ib479efcdcd0f72789b1278716c7b9f06f9d87d3b
2022-08-05 08:40:43 +08:00
Jingwei.Zhang
a6820a4ca8 fix: fix the server group member label in quota
1. Fix the server group member label in the quota overview
2. Fix the server group member label in the quota manange form
3. Update the label style in the quota manage form to better display the
resource label
4. Fix the 'of' word in some titles

Change-Id: I000c783f05ddadf5a6649d56c19263ee4af81e82
2022-08-05 08:40:19 +08:00
xusongfu
f801b77f83 fix: fix the action collection of zun container
1. Put the status operations in one collection
2. Add danger style to force delete

Change-Id: Ic0d18fe0e5b2148b78e1c7d24e1948160d1c43c5
2022-08-04 15:19:26 +08:00
Zuul
5ff60bbec5 Merge "feat: show stats of a zun container" 2022-08-02 11:32:19 +00:00
Jingwei.Zhang
1ded7c2312 feat: update administrator overview page
Update title in the platform info card and resources use card

Change-Id: I703874c120189432dd3bb395923e346193cb298d
2022-08-02 15:44:01 +08:00
xusongfu
251a353e98 feat: show stats of a zun container
Show stats of a zun container

Change-Id: I508a97d1a86217a590ccb624a0009cc44daef95f
2022-08-02 14:34:10 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
Zuul
6d35162f37 Merge "feat: support reboot action in trove instance" 2022-07-29 09:20:26 +00:00
xusongfu
b40571de7d feat: support reboot action in trove instance
Support reboot database service in trove instance

Change-Id: I6a831256fc1f7e20bf7cf237915f0f0534386aac
2022-07-29 11:10:09 +08:00
xusongfu
dc71a4a56a fix: update some database names
1. Update 'backup' to 'database backup'
2. Update 'instance name' to 'database instance name'
3. Update 'flavor' to 'database flavor'

Change-Id: I0f9b672fdf403c09827d70d9dfd4670436eb5a66
2022-07-28 21:32:58 +08:00
Jingwei.Zhang
fb83a57550 fix: update volume snaphost/backup display
1. Update 'snaphost' to 'volume snaphost', 'backup' to 'volume backup'
2. Update e2e case

Change-Id: I74dee2e2da7cbaac4ba7607c83848b28cfb81cde
2022-07-28 15:48:16 +08:00
xusongfu
4d27908ce5 feat: support stop action in trove instance
Support stop database service in trove instance

Change-Id: I3dfa3e8242f45c689ffba171d7ecff629e2c1573
2022-07-22 17:38:22 +08:00
xusongfu
bcda6b2cd9 feat: support restart for trove instance
support restart for trove instance

Change-Id: I016b87cdb31cf6c45a1befd0d4191b24fb9344de
2022-07-20 22:00:38 +08:00
xusongfu
b3d0c9b1e6 feat: support edit for trove instance
1. Support edit for trove instance
2. Fix the menu items name of trove instance
3. Fix the title of create trove instance

Change-Id: If9448e8e20f547079e0ab6071d3828cf549e2173
2022-07-20 11:11:35 +08:00
Jingwei.Zhang
46a7742aa2 feat: support quota info when instance create snapshot
1. Support quota info when bfv instance create snapshot
2. Disable click submit button when snapshot quota or each type quota is insufficient

Change-Id: I8647aa9e9e8a7669eda6549ef9ab4dcdba2e3dec
2022-07-18 11:04:23 +08:00
Zuul
f48ac9480a Merge "feat: support zun quota in manage project quota and overview" 2022-07-14 05:21:37 +00:00
Zuul
1e0e60ea32 Merge "fix: fix associate fip with port forwarding" 2022-07-14 02:11:01 +00:00
Jingwei.Zhang
8ba4b104e8 fix: fix associate fip with port forwarding
1. Disable select fip which has port forwarding when instance/virtual adapter/lb instance associate fip
2. Refactor instance/virtual adapter/lb instance assoicate fip

Change-Id: I2dfe14087466d71a0c0ee724e99817594ce92dd0
2022-07-13 17:50:52 +08:00
xusongfu
3666358c95 feat: support zun quota in manage project quota and overview
1. Support manage zun quota
2. Show zun quota in overview

Change-Id: I18fa243ca4133be1a4592189ef287db44f4cc66d
2022-07-13 16:54:46 +08:00
Jingwei.Zhang
09fb7742a1 fix: add ip tip for NFS/CIFS share create access rule
1. Add ip tip for NFS/CIFS share create access rule
2. Fix default value when create access rule

Change-Id: I4728aa414d19cf0afdae1fa6e887b876beb76255
2022-07-13 14:58:42 +08:00
Zuul
e564616aa9 Merge "fix: fix create zun container" 2022-07-08 08:14:07 +00:00
xusongfu
df67bd758f fix: fix create zun container
1. Optimization parameters
2. Use select-table for image
3. Fix ZunVolume component

Change-Id: Ic8ce3fb91fd70848766003fe24d782b3347e055b
2022-07-07 22:45:43 +08:00
Jingwei.Zhang
5eaa2d8ff4 feat: detach instance snapshot list page
1. Update instance create image params: add image_type && instance_id
2. Support instance snapshot list page
3. Support instance snapshot detail page
4. Support instance snapshot tab in instance detail page
5. Support edit instance snapshot
6. Support delete instance snapshot
7. Support instance snapshot create volume
8. Update image list page: remove snapshot from origin data
9. Update BaseDetail commponent support path
10. Update TabDetail component support path

Change-Id: I577c046e8d80ebf26be04db881aa0f6f3d9bc01e
2022-07-07 17:15:05 +08:00
Jingwei.Zhang
28cded2a29 feat: support create key pair when create instance
1. Support create key pair in the third step of instance creating
2. Auto select the new key pair after creating

Change-Id: Ib9f0745a7b04b764e1ab7582716d1c82a5bcc1f9
2022-07-06 15:40:51 +08:00
Zuul
9e2919d667 Merge "fix: remove resize online action" 2022-07-05 13:09:51 +00:00
Zuul
09714ca08d Merge "fix: fix some parmas when create magnum template" 2022-07-05 11:23:55 +00:00
Jingwei.Zhang
ce0c9760e6 fix: remove resize online action
1. Remove resize online action: api not support
2. Remove intance check for flavor which can be resized online
3. Update flavor create: remove hw:live_resize spec which is used for online resize flavor

Change-Id: Ie12dd38bbc60b38f96f33d081dd7518fa5e33fec
2022-07-05 17:23:29 +08:00
xusongfu
5b47b2ca47 fix: fix some parmas when create magnum template
Fix some parmas when create magnum template

Change-Id: Id6bb34d5ee89fd1652fcce464d8b349a6ab1ed68
2022-07-05 15:27:45 +08:00
Jingwei.Zhang
56e3224e01 feat: update instance lock icon && info
1. Update lock svg: add red color to make it more conspicuous
2. Add tip for lock icon
3. Update share group title

Change-Id: I5024dbb47929fa9aa59c483fc13e1f8ad883baaf
2022-07-05 11:35:52 +08:00
xusongfu
24dbf8e0f9 fix: fix ip showing and users database access
1. Fix the ip showing in databse instance
2. Support grant database access in databse users

Change-Id: I96f2c9685f9a2c9890005779ff0e8585ad4dfbfb
2022-06-30 18:48:30 +08:00
xusongfu
7d890f64a6 fix: fix cluster
1. Fix the params when create cluster
2. Fix kepair and template to select-table
3. Add status i18n
4. Ignore some params when edit cluster template

Change-Id: I32cd968336c4e6119d08f32429cc15738431f170
2022-06-25 07:40:19 +08:00
Jingwei.Zhang
b22a959e49 feat: support quota info when create key pair
1. Support quota info when create key pair
2. Disable click submit button when user's key pairs exceed project key pair quota
3. Update Ring component to add tooltip when quota is unlimit, better impression quantity information
4. Update Ring component to support left quota < 0 situation
5. Add quota tip in create key pair form for better understander the
quota of key pair

Change-Id: I31282db5a9a3c35c4e3f904df96689b52149b2ec
2022-06-24 17:25:56 +08:00
Jingwei.Zhang
55e0abab85 fix: fix key pair used count in console overview page
1. Fix key pair used count in console overview page: use the key pair count of current user
2. Add tip to key pair quota title
3. Optimize tooltip when hover progress bar instead of title

Change-Id: I66aed4a6a10685be41fb3d7ef282ca02b4b2f831
2022-06-24 15:37:53 +08:00
Jingwei.Zhang
81f77b555d feat: support quota info when create virtual adapter
1. Add virtual adapter tip in create form
2. Support port quota info in create form
3. Disable click submit button when port left quota is zero
4. Remove useless projects fetch

Change-Id: I6e135930ac2fd1429621dcc3528cea172da2b828
2022-06-24 11:20:27 +08:00
Jingwei.Zhang
31876de016 feat: support quota info when create subnet
1. Support subnet quota info when create subnet
2. Disable create subnet when left quota is zero
3. Optimize the action disabled check by hasAdminRole in rootStore, not policy
4. Support fetch project subnet quota when project change
5. Optimize project select tip
6. Optimize the project id of current network

Change-Id: Ic7b7b528dcc2e2e3ec23cd8be039a10afa3f197a
2022-06-24 11:02:23 +08:00
Zuul
0ce38d730a Merge "fix: fix cluster template" 2022-06-24 02:50:12 +00:00
xusongfu
ec4bcb3c93 fix: fix cluster template
1. Fix the params when create or update cluster template
2. Show search for all select items
3. Fix the route path for update cluster template

Change-Id: Ic3435abb340f6e129815fde368b5b12bcabcdcb5
2022-06-23 18:27:54 +08:00
Jingwei.Zhang
919840a1e0 feat: support quota info when create security group
1. Add security group quota and security group rule quota when create security group
2. Check security group left quota and security group rule left quota to determine if a security group can be created: one security need 2 new rules
3. Add rule tip
4. Update form tip position

Change-Id: I8d7565763c8c325cf89630039e479ed00a70e7c3
2022-06-23 15:29:50 +08:00
Jingwei.Zhang
e86bff5f0f feat: update role detail page
1. Update TabDetail to support fetch api when router change
2. Update role detail page: show implied roles in detail page

Change-Id: I99cf7510c30d3924a7f7281f3d5fb3f6db67bd4d
2022-06-22 16:56:52 +08:00
xusongfu
2e0d504594 fix: Fix the root disk in flavor
Allow set root disk size in flavor creating when no-cinder

Change-Id: Ia68f1c804c2aa359893ffba8344fa5990d368210
2022-06-20 17:34:56 +08:00
xusongfu
3be608547c feat: Support compute hosts for zun
Support compute hosts for zun

Change-Id: Ie6b3964b46382d167482f01c491de923a85843f7
2022-06-16 16:09:11 +08:00
xusongfu
3c24d74ba2 feat: Support more functions for zun containers
1. Add some operations of zun containers
2. Support zun containers in administrator paltform

Change-Id: Ia8a7a483e72176d595f6e527979485bf322ed279
2022-06-15 11:15:24 +08:00
Jingwei.Zhang
5c3ea06aba fix: Update user create form style
1. Update style in user create form
2. Refactor pathname check in list page
3. Fix project role when remove project in user create form && project manage user form
4. Add loading style to Transfer component

Change-Id: I6eddf27a096aa35236430595d8329782ae5b6ed1
2022-06-10 15:11:46 +08:00
Jingwei.Zhang
f942c48352 feat: Add quota info when create volume
1. Add quota info display when create volume
2. Add volume type quota check when create volume
3. Update quota ring/line chart to support infinity value

Change-Id: I0f300beb16bcf50008126afab9dac529c1749d09
2022-06-09 17:12:37 +08:00
Zuul
d133705f6f Merge "refactor: Refactor user" 2022-06-09 04:00:57 +00:00
Zuul
902491651e Merge "fix: i18n and validator for zun" 2022-06-09 03:42:02 +00:00
Jingwei.Zhang
992233ab7d feat: Support auto close/expend quota info when create instance
1. Update InfoButton component to support auto close/expend
2. Support auto close/expend quota info when count/size value change in the create instance form

Change-Id: Ida13abe3463af7dc949c51ade267c64029770c93
2022-06-08 17:20:28 +08:00
Jingwei.Zhang
e47fa9e742 refactor: Refactor user
1. Refactor user store
2. Refactor user list
3. Refactor edit user system role
4. Update system-admin role check in rootStore
5. Refactor user detail page
6. Update forbidden user action to danger style
7. Refactor create user: add domain select && support multi role select for projects
8. Update project manager user e2e
9. Update create user e2e
10. Update user edit system role e2e
11. Remove create user in domain detail page

Closes-Bug: #1942285
Change-Id: Ieba70b002420e20ad7c3f04f5e4f6fb4b6fb1e76
2022-06-08 15:30:21 +08:00
xusongfu
dde1218242 fix: i18n and validator for zun
1. Add Chinese translation in zun
2. Add validator for template file in zun capsule

Change-Id: Icb4bb98978e1a74a22f347e7f6b471ed0266fec8
2022-06-08 15:20:23 +08:00
Jingwei.Zhang
b6999ea0a1 refactor: Refactor user group
1. Refactor group store
2. Refactor create group: add domain prop when create
3. Refactor edit group
4. Refactor user group manage user
5. Refactor group detail
6. Suppport actions in role detail
7. Refactor group list: add project/role column && domain dolumn; remove
user number column

Change-Id: If8f250da3ac27e5050c9fd4d31ad9954177ed0fe
2022-06-07 13:14:50 +08:00
Jingwei.Zhang
5a8ec658d5 feat: Support domain actions
1. Support create/edit/delete/enable/disable domain actions
2. Set enableColumn to deal with enable column for domain/user/project
3. Update domain detail e2e
4. Update domain store for better fetch user/project data

Change-Id: I37bf708bca9c819f0d5a63d59dafef1959ec8503
2022-06-06 17:47:47 +08:00