Commit Graph

117 Commits

Author SHA1 Message Date
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
Jingwei.Zhang
083e44a401 feat: Support role actions
Support create/edit/delete role

Change-Id: Ib8c71b2bb193b061ad6db397727fef0129f3bc44
2022-06-06 16:47:44 +08:00
Jingwei.Zhang
3c54d8afab feat: Add quota info in create instance page
1. Add quota info in create instance page
2. Fix volume quota check when create instance

Change-Id: I01fd430996c49083ffb2168e5672d6c080931e6c
2022-06-02 12:53:44 +08:00
yangao
e740c89b9c fix: Zun code adjustment
1. code formatting problem
2. delete capsule problem
3. create container problem

Change-Id: If458dd8c3b0114573512984792f51b6b883a3c8a
2022-06-01 15:40:27 +00:00
Jingwei.Zhang
eec23aebf0 fix: Add unit to memory quota
1. Add GiB unit to memory quota
2. Fix database && container volume size unit to GiB

Change-Id: I553a20e9fa620f2cda3509b52d801894d230040c
2022-05-27 16:18:58 +08:00
Jingwei.Zhang
993f18dcfb fix: fix GB unit in database
Fix GB to GiB for volume in database

Change-Id: Id34b49b55e221453f5ca1b594821b97ecd6ee381
2022-05-27 11:32:20 +08:00
Jingwei.Zhang
eae1e27256 fix: Fix GB/MB unit to GiB/MiB
1. Fix size unit to GiB/MiB for
volume/snapshot/backup/image/flavor/monitor
2. Update i18n for Zun

Change-Id: I97bc881b438c9922a2123c36b7e8ea40e5307fd2
2022-05-25 14:48:02 +08:00
xusongfu
be1283358b feat: Update trove database
1. Add validator for database and user
2. Add user create in trove instance user list
3. Add database create in trove instance database list
4. Fix database column in trove instance user list

Change-Id: Ifa6143e15049b5a7fd09aa385064e757d834fadc
2022-05-25 00:01:49 +08:00
Eunyoung Kim
409b0223c0 fix: Fix Typo - Append closing parenthesis
Fix append closing parenthesis in Memory usage Num Card
in the overview page in the administrator

Change-Id: I524259791064b7dd7c067c1ad7fa4192548440a9
2022-05-23 02:14:43 +00:00
xusongfu
2d130b5e37 feat: Function optimization in certificate
1. Add client_authentication:'MANDATORY' to the params if use CA certificate
2. Add validator for domain name
3. Add pem validator for certificate content and private key

Change-Id: If6197357ee995678e25bb73e44787c016e66e83e
2022-05-20 17:36:47 +08:00
Jingwei.Zhang
92b3ba546c fix: Fix share api && create share network
1. Fix delete share when share has share group
2. Fix subnet select when create share network: only subnets that are already connected to the router can be selected
3. Remove keywords param when fetch share-access-rules/share-groups/share-group-types/share-instances/share-networks/share-servers/cinder-pools

Change-Id: Icd53239d7cadbfe37369a27d4b53d4edfcbd2c12
2022-05-18 11:21:01 +08:00
xusongfu
b8675c197c feat: Support more protocals for loadbalance
1. Support https、udp、http for listener creating in loadbalance
2. Fix protocals for pool creating and editing in loadbalance
3. Fix protocals for helth monitor editing in loadbalance
4. Change the component definition to get better extension functionality
5. Add certificate for https listener in loadbalance

Change-Id: I51c953c647b23d516461eb3a0c401d4216c1676b
2022-05-17 20:55:01 +08:00
Jingwei.Zhang
bc39f976a3 feat: Support force-delete && reset-status share istance
1. Support force delete share instance
2. Support reset share instance status

Change-Id: I4ddc2c8b023c92e02b3f40406c4342cbd7e4f2c5
2022-05-16 10:36:49 +08:00
Jingwei.Zhang
3d8014c2d9 feat: Support manila share server
1. Add share server in administrator
2. Add share server detail in administrator
3. Add share tab in share server detail
4. Add delete && batch delete share server
5. Remove access info from share detail base info tab
6. Add link to network/share/server in share instance page

Change-Id: Ifa1efb75aebb32a2928f7d7db07e228d41d0894b
2022-05-12 14:56:30 +08:00
Jingwei.Zhang
38403a2280 feat: Support update share quota && reset status
1. Support update share quota in project page
2. Support reset share status in administrator
3. Update share network required when choose special share type
4. Update check share group status when choose share group

Change-Id: I15443d418ec5dd841ca33d05dc2540999ecbcf5f
2022-05-10 11:55:44 +08:00
Jingwei.Zhang
8a7959e49c feat: Support extend share
1. Support extend share
2. Add share tab in share group detail page
3. Add share tab in share network detail page
4. Add share tab in share type detail page

Change-Id: I0beecee4b3e145a20da6eaed3db9917ad175367c
2022-05-09 10:25:38 +08:00
Jingwei.Zhang
0c09862b35 feat: Support manila share
1. Add manila share page in console and administrator
2. Add console create share
3. Add console edit share
4. Add delete share in console and administrator
5. Add share quota info in console overview page
6. Add share quota info in administrator project detail page
7. Add share metadata tab in share detail page
8. Add create share metadata in console
9. Add edit share metadata in console
10. Add delete share metadata in console and administrator
11. Add manage share metadata action in console
12. Add access rule tab in share detail page
13. Add crate access rule in console
14. Add delete acees rule in console and administrator
15. Add manage access rule metadata in console
16. Add manage access rule action in console

Change-Id: I8c80c80340e214827bcde0d62dc0521e4b2b1ea9
2022-05-07 16:26:21 +08:00
xusongfu
f48011a983 fix: add i18n and fix datastore of trove
1. The trove creates an instance affinity and anti-affinity label that requires i18n
2. Add i18n for trove instance status
3. The value of the database version of the configuration group is incorrectly set
4. Add allowClear true for select component

Change-Id: Ic6058530b57b1f8f7face48061c5a3b018459a5a
2022-05-06 19:25:09 +08:00
Jingwei.Zhang
3e76cb2ffa feat: Support manila share group
1. Add manila share group page in console and administrator
2. Add console create share group
3. Add console edit share group
4. Add delete share group in console and administrator
5. Add share group detail page in console and administrator

Change-Id: Ia96f38c2155210007faedb99bcf3ff49ae291245
2022-04-28 16:29:04 +08:00
Jingwei.Zhang
d472f41913 feat: Support manila share network
1. Add console share network page
2. Add console create share network
3. Add console edit share network
4. Add console delete share netowrk
5. Add console share network detail page
6. Add administrator share network page
7. Add administrator share network detail page
8. Add administrator delete share network
9. Add popover network component

Change-Id: Iade53429f2e432897cd60d1b7d3b6ee91ebcd95c
2022-04-27 17:04:11 +08:00
yangao
1b4e51c921 fix: Show importing status when creating image using url link
Show importing status when creating image using url link

Change-Id: I863ccaff62c09d09166f08b5181940b9d818b85a
2022-04-24 10:51:13 +08:00
Jingwei.Zhang
4a4ad26a49 fix: Fix create share group type
1. Add share types select when create share group type
2. Add share types column in share group type list page

Change-Id: I729e8120fa2017b277ce6987508c1fc1eca75dc1
2022-04-22 17:57:04 +08:00
Jingwei.Zhang
9b6787121d feat: Support manila instance page
1. Add manila instance list page
2. Add manila instance detail page
3. Refactor request to better config request

Change-Id: I81207ac67d550297057f121842e2f736e450079f
2022-04-22 16:16:59 +08:00
Jingwei.Zhang
8129af966e feat: Support manila share group type page
1. Add share group type page in administrator
2. Add create share group type
3. Add delete share group type
4. Add share group type detail page
5. Add create group spec
6. Add edit group spec
7. Add delete group spec
8. Add manage group type access

Change-Id: I5292d157ae1b06ba3b35b6f6fd2eeb455b7582a7
2022-04-22 09:30:12 +08:00
Jingwei.Zhang
f3c284a835 feat: Support manila share type page
1. Add share type page
2. Add create share type
3. Add update share type
4. Add manage access
5. Add delete share type
6. Add share type detail page
7. Add create extra spec
8. Add update extra spec
9. Add delete extra spec

Change-Id: I2d1497b8716b178693e127ae7350e9946a479817
2022-04-21 15:10:42 +08:00
yangao
a241663bb8 feat: Support for creating image using file link
Support for creating image using file link

Change-Id: I73f697f95c0edc947240c562fc9f3e2f6768387f
2022-04-20 13:26:33 +08:00
xusongfu
f91454fdcb fix: Fix role list and monitor data and others
1. Fix the role list fetch in user manger and system role
2. Fix the state to get the right data of up and down
3. Add rest attribute for better extension functionality in select component
4. Fix create rule error

A recent git update broke our jobs, diskimage-builder was updated to fix

1. This issue but the grenade job doesn't use dib from master (our other
jobs do)
2. This commit ensure that our grenade job pulls dib from the git repo

Change-Id: I2de592a337e769d1604d72b117fd8a44d5777f58
2022-04-15 20:20:02 +08:00
xusongfu
fed23d5613 fix: Fix database and tag
1. Add i18n for database
2. Add i18n for server tag and project tag
3. Add database instance status

Change-Id: If0d3d0782808a06f51c63bf9d817281ae027972b
2022-04-08 09:56:04 +08:00
Jingwei.Zhang
948e246791 feat: remove useless codes of snat
1. Remove useless codes of snat
2. Remove duplicate key "extensions" in neutron client

Change-Id: I1bfa87f3588eac7bc68d2375f8330607b962314c
2022-03-28 16:08:24 +08:00