Commit Graph

150 Commits

Author SHA1 Message Date
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
e1567f72d4 fix: fix the data showing if not matched
show the origin data if not matched with defined collections

Change-Id: Ibb99080bbf6fa0504dfc386e1ee0be38dbc77bbe
2022-08-11 17:28:01 +08:00
Jingwei.Zhang
57a17b83d2 refactor: Update Label component to support floating ip's icon
1. Update Label component to support floating ip's icon
2. Update the floating ip display in the associate fip form
3. Update the floating ip display in the create port forwarding form
4. Update the floating ip display in the edit port forwarding form

Change-Id: I38ee2354c387d213cdd574f966be96afb8fcd433
2022-08-10 17:44:10 +08:00
Jingwei.Zhang
49bc50dbea fix: remove Chinese in the svgs/comments
1. remove Chinese in the svgs/comments
2. convert Chinese to English for some svgs/comments

Change-Id: I2927a87ef4db060ae385e0d3f1a54d658f1fd200
2022-08-09 15:31:59 +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
Jingwei.Zhang
b2cad765bf fix: fix ports quota check when create virtual adapter
If the remaining quota of a port is zero, you can still successfully call the API to create a subnet and automatically add a port. As a result, the used port is greater than the upper limit of the quota. Fix the quota check method to accommodate this situation

Change-Id: Icf955b3e4ad40d618305b23bffcd397fdbd0b288
2022-07-29 14:25:53 +08:00
Jingwei.Zhang
bb133015a3 feat: add protocal in the port forwarding display in the floating ip list
1. Add protocal when show the port forwarding info in the floating ip list
2. Add protocal to the port forwarding info when download the floating ip list

Change-Id: I7f9cea6cbfc276205c75e2ab8708124c49106ffc
2022-07-25 10:08:54 +08:00
xusongfu
99c44ece47 fix: support the same port if different protocol
support the same port if different protocol when create DNAT

Change-Id: I8ab9c06116aceb18b5780d57c567fc3e595cc3d9
2022-07-21 11:21:47 +08:00
Jingwei.Zhang
2c0eb3858e fix: disable associate action when fip has port forwardings
Disable fip associate action  when the fip has port forwardings

Change-Id: Ie310d2935d23817ad32c6b2088361b9747722936
2022-07-15 17:54:07 +08:00
Zuul
a0d2ed54a7 Merge "fix: show qos_policy name in floating ip list" 2022-07-14 09:58:22 +00:00
xusongfu
ebaa2d9b15 fix: fix the table height in qos policy list
Fix the table height in qos policy list

Change-Id: If0e54aa236c550e02bdde84530b8cd811401f18c
2022-07-14 11:46:28 +08:00
xusongfu
47b40b1737 fix: show qos_policy name in floating ip list
Show qos_policy name in floating ip list

Change-Id: I4e6c574b4f192d47557a1f5b44490ec6110abf09
2022-07-14 11:35:30 +08: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
Jingwei.Zhang
15d5998e11 fix: fix port forwarding display in fip list page
1. Fix resourceName check
2. Update port fowarding render && stringify

Change-Id: If32652b7b13c3591a4824912b5752ccf324d7c7b
2022-07-12 17:17:41 +08:00
Jingwei.Zhang
408b7bf692 refactor: refactor skyline:xxx policies
1. Update skyline:project_admin, skyline:project_member, syline:project_reader, skyline:system_admin, skyline:system_reader to admin, member, reader
2. Update actions/list page used by skyline policy to normal policy

Change-Id: I4d06dbd871d7a1f982d574abbcfee9246fedf870
2022-07-08 10:45:20 +08:00
xusongfu
3ed9d74791 fix: fix policy for all modules
Add prefix to policy

Change-Id: I492f2215af5d02284ce6e24137e190eab5bb355a
2022-06-30 15:20:35 +08:00
Jingwei.Zhang
b693d4360d feat: support quota info when create fip
1. Add fip quota info when create fip
2. Disable click submit button when fip left quota is zero
3. Optimize batch allcate input min and max value
4. Support fetch project fip quota when project change
5. Support update batch count value when project change
6. Update batch count input to input int type, avoid decimal

Change-Id: I6df00fc606472f5cf5b7dbe31181cd864a278ab7
2022-06-24 14:04:26 +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
Jingwei.Zhang
d6b9098645 feat: support show quota info when create network
1. Support show network and subnet quota info when create network
2. Support network left quota and subnet left quota check when create network
3. When change project, fetch project quota and update quota check
4. Update project select disable clear to better quota check

Change-Id: Id5c3919e91b49ecac072bafd1c2ca4c39853c681
2022-06-23 16:35:44 +08:00
Jingwei.Zhang
0a7c3a3f36 feat: support quota info when create security group rule
1. Show quota info when create security group rule
2. Add left quota check when create security group rule

Change-Id: Iab21d57e4e2fd5c3973281256d0aa79d438a2e8c
2022-06-23 15:30:05 +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
bf6c765fb1 feat: support show quota info when create router
1. Support show quota info when create router
2. Disable click submit button when lef quota is zero
3. Update size of large modal with quota info

Change-Id: I8f651d58af0b3d7a5915116ea488bc70a3ed902d
2022-06-23 13:00:44 +08:00
xusongfu
82c138494d fix: Fix certificate and magnum
1. Fix listener value when download
2. Fix type to input-int in magnum
3. Fix route path of create template in magnum
4. Fix network-select-table

Change-Id: Idca75afa46531626b2a0ce1df7af0003e201e89b
2022-06-16 11:32:04 +08:00
Zuul
0896ebc917 Merge "feat: add user group info for domain page" 2022-06-15 07:37:27 +00:00
Jingwei.Zhang
ec2e85a551 feat: add user group info for domain page
1. Add user group column in domain list page
2. Add user group tab in domain detail page
3. Update detail path check in list page
4. Remove domain column for user/group list in domain detail page

Change-Id: Ib81db9cac0d213c47c5f45fb8457728d0b96aa76
2022-06-15 12:06:21 +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
Zuul
e15dc5f0d6 Merge "fix: fix listener info in certificate" 2022-06-10 10:52:25 +00:00
xusongfu
243f459ecd fix: fix listener info in certificate
Support multiple listeners for one certificate

Change-Id: I2f1f476236fe90293f92cf980c7e1f799b271fb1
2022-06-10 15:46:13 +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
xusongfu
efaeac8453 fix: certificate expired change
1. Use metadata to instead of actual expired time
2. Delete disabled if the certificate was used for a listener

Change-Id: I8a16c4c1cc6f104c85835906405aba7ae9a3bf02
2022-06-09 16:18:34 +08:00
Zuul
6b34ad1b05 Merge "refactor: Refactor danger from buttonType to isDanger" 2022-06-02 10:27:36 +00:00
xusongfu
16d14b5cf1 fix: Fix copyable and delete lb
1. Fix copyable in Paragraph
2. Rollback permission of delete loadbalancers

Change-Id: I2621974d64e9c149c7138c0f2d3da301bdf0d73e
2022-06-02 14:58:07 +08:00
Jingwei.Zhang
3fd5c14d5f refactor: Refactor danger from buttonType to isDanger
1. Add isDanger prop to support danger style button, remove danger value from buttonType
2. Update docs according to isDanger
3. Add waiting time when close e2e success notice

Change-Id: I87a72ce05f519ce6717f072dc7397f646dfb4ab1
2022-06-02 14:06:44 +08:00
Jingwei.Zhang
2fd46f588c fix: Fix create/delete certificate && menu
1. Fix delete server/ca certificate
2. Update cert display in detail page
3. Add default type when create cert
4. Display the cert list page based on the barbican endpoint
5. Temporarily remove network topology e2e because of cypress crashes

Change-Id: Ie0f01bd7c818b4c553351cc1cd8549e79a301c29
2022-06-01 17:48:51 +08:00
xusongfu
93043a2218 feat: Update certificate
1. Remove certificate in administrator platform
2. Add prefix barbican to the policy
3. Allowed delete lb if provisioning_status is PENDING_UPDATE
4. Allowed change certificate when edit listener

Change-Id: I9c754b78fbd19645e11659d06ec6b9ee85ec9714
2022-05-31 09:34:31 +08:00
xusongfu
3544b35a5b fix: Fix certificate
1. Fix certificate id in listener
2. Fix TERMINATED_HTTPS change to HTTPS in list and detail info

Change-Id: I9d8c52635061f5529f6c86b3bcb0df68e4e2153b
2022-05-26 12:38:29 +08:00
xusongfu
1d5c1acb1f feat: Update certificate
1. Add certificate id in listener
2. SNI certificate change to multiple select
3. TERMINATED_HTTPS change to HTTPS
4. Change validator of certificate content and keypair
5. Hide domain name if in CA certificate

Change-Id: Id613f5c2c7795a477257ec5f71443378ac686007
2022-05-25 22:21:18 +08: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
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
yangao
3defbe8330 fix: Decorator style for refactored components
Decorator style for refactored components

Change-Id: Ib85517474ace19967b4901e388800c1258f246be
2022-05-17 14:48:38 +08:00
yangao
395084d022 fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: If33e899550823a66b4784dc6fd23f06d9f5cff11
2022-05-13 17:39:01 +08:00
yangao
1da0258d7e fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: I34893e2c622254df8d4b94ef11352ef7e97f9418
2022-05-13 11:54:12 +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
yangao
d69bbacca7 fix: fix download floating IP all data error
fix download floating IP all data error

Closes-Bug: #1957862
Change-Id: I1450e963ac7b7afe9add94d18d914aedb8f715b5
2022-04-28 05:38:29 +00: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
Jingwei.Zhang
feb7bb1af1 fix: Remove batch delete port forwarding
Concurrent deletion will cause an error in neutron updating the routerId
 attribute of the floating IP, so remove batch delete port forwarding
action.

Change-Id: I18687b80f9a7e239a5ae23d84ae2169ad8491cf0
2022-04-08 03:45:54 +00:00
yangao
250c344333 fix: Fix source port/port range
1. When the direction of the security group rule is egress, the following prompt should be the destination port/port range

Issue: 126898
Change-Id: I199fe1d9471c06eac1b00f2f0ec245d9dfb4177c
2022-04-07 14:46:16 +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