Commit Graph

1293 Commits

Author SHA1 Message Date
xusongfu
c5953f174a fix keypair showing in magnum service
If the keypair was deleted, show xxx (the resource has been deleted)

Closes-Bug: #2004545
Change-Id: Ibe812917fbdd158a167c18abd2ac5713f743f9c4
2023-02-03 01:53:46 +00:00
zhangke
021bde48ef fix: fix the error of compute service state
Fix the error of compute service state on Platform Overview page

Closes-Bug: #2004462
Change-Id: I6ae88611f4431da4e63ed1c65c37b5fd04568373
2023-02-01 16:32:36 +08:00
Zuul
fbc8fde808 Merge "feat: add attributes to the ModalAction" 2023-01-29 11:58:15 +00:00
Jingwei.Zhang
2ebb26942a feat: add attributes to the ModalAction
Add the onFinishAction and onCancelAction which are from the ListPage component to the ModalAction, add the modalProps to the ModalAction, these attritubes will make custom operations in the ModalAction to easily control the ListPage

Change-Id: Ibd81bc6331fa09a3c70fcfc6f1f72ccc3e6f9c37
2023-01-29 16:46:15 +08:00
Jingwei.Zhang
417e729e0d feat: support textarea in the KeyValueInput component
Provide textrea in the KeyValueInput component, to input more content, and provide the textareaRows property to set the default rows of the textarea to display.

Change-Id: I6849fab3933cef82e1293f7bbe0f3006e19b6b38
2023-01-28 16:05:52 +08:00
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
a347c373a4 feature: support ip address, ports and networks in list and detail
1. show ip address, ports and networks in zun containers list
2. show ip address and subnets into zun containers detail

Change-Id: Ic53c2eb28ad392736d0f78b23eafd13e4c5d88dd
2023-01-11 16:31:40 +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
Zuul
e678f9c92b Merge "fix: fix the getValue of yaml" 2023-01-06 12:54:00 +00:00
xusongfu
a11a0258c4 fix: fix the download data.
fix the download data by filter params if use backend request

Closes-Bug: #2001607
Change-Id: Ibb0f49eaa8c8721e54f67ae48e0d7c6ea8ccd260
2023-01-05 03:48:30 +00: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
Boxiang Zhu
efc5fd88ee fix: eliminate whitespace in passenv values
eliminate whitespace in passenv values

Change-Id: Ib0af083155a85d079aad254ca2acdc6434675673
2023-01-03 17:01:04 +08:00
xusongfu
583386d2ce fix: seprate clusters and templates by different project
1.use detail api to fetch list in console but no detail in administrator
2.fix the used quota with clusters detail api

Change-Id: I104495a2b7c9937a9e6e922c4fac00d3f4178235
2022-12-21 13:55:17 +08:00
xusongfu
331c2ddd3b fix: fix the project column
add project column to cluster template but not simple flavor column

Change-Id: Ib5de517a3c894168c9680a1b37237437a497906f
2022-12-21 09:24:42 +08:00
xusongfu
e03182b072 fix: fix the magnum quotai and other infos
1. support volume quota when create cluster instance
2. fix subnet reseting when fixed network changed
3. show project id of cluster template if switch to administrator platform

Closes-Bug: #2000141
Change-Id: I6cb59e9f74c76cb3d0901e89c9bf01d48a85d747
2022-12-20 16:25:07 +08:00
xusongfu
d48aca89a4 fix: reset the subnet list when create cluster instance
the subnet list was not changed when the fixed network changed, fix the update context to solve this problem

Change-Id: I2882a63e58c5b2843b9c8e6070b6708d16c40b94
2022-12-19 19:10:45 +08:00
xusongfu
7b6e8253a6 fix: fix the delete operation of cluster instance
Disable the delete operation if the stack is not ready or the status is `DELETE_IN_PROGRESS`

Change-Id: I18457d3593761e36a7173488b646ebdedf656ec2
2022-12-19 16:07:26 +08:00
Jingwei.Zhang
f4a24d04ad fix: fix the getValue of yaml
1. Fix the yaml value dump in the utils
2. Update the unit test

Change-Id: I3c2120593ff533d38fdc7cb026d0d2d3bf1e7132
2022-12-19 11:46:02 +08:00
Jingwei.Zhang
2d437e5b4e feat: support custom render in the TabDetail component
support custom render in the TabDetail, not only the class or string

Change-Id: I152e611d1478e149baf9104143ca18171e799730
2022-12-19 11:35:18 +08: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
f384bd4b73 feature: Add listener input event for instance-volume component
1.If the min attribute is set, the onchange event will not be triggered when the value is lower than min size

2.This is not conducive to our validation of input values, which leads to some unknown bugs

Change-Id: Id1ad89fce61681a6e4e96b02ff1a3c804a60ab35
2022-12-14 10:09:59 +08:00
zhangke
124fdc3c2a fix: add disabledRemoveFunc prop in AddSelect component
Add disabledRemoveFunc prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: I10dc6ebc3d55305ac4829677c0edd20a549a8662
2022-12-13 18:43:55 +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
zhangke
594db17643 fix: add disableEditKeys prop in AddSelect component
1. add disableEditKeys prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: Icedad9b2e4ff29f38f00235a88b1dbe8e44df888
2022-12-12 15:08:06 +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
228ccff07b fix: Improve quota in magnum service
1.Show quota info by template when create cluster if did not select flavor or master flavor

2.Remove link of keypair if the keypair is not belong to the current user

Change-Id: Ic6faebfa21b92479b982770a00046a54882f21d8
2022-12-07 15:57:15 +08:00
Zuul
a2d170e285 Merge "feat: support component in the table header" 2022-12-07 03:21:45 +00:00
Jingwei.Zhang
ef353362fb feat: support component in the table header
Support custom component in the table header of the list page, the custom component is placed in front of the magicSearch component

Change-Id: I980552818bcb6375d3b412b63732c02597ff2a94
2022-12-06 17:37:57 +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
zhangke
719e26ebaa fix: add middleComponent prop in KeyValueInput component
1. add middleComponent prop in KeyValueInput component to support show default equal sign or others

Change-Id: I29bdfb3df6c859b2522b2a10a21173defce7765e
2022-12-05 16:48:49 +08:00
xusongfu
b4f23fd78c fix: fix health_status in magnum cluster
It should not use valueMap for health_status

Change-Id: Ib1418d2f4ba79ff7fb619365b8f71734d112e69d
2022-11-29 15:44:00 +08:00
xusongfu
0c3a946d21 fix: Move the keypair to node spec when create cluster instance
In order to be consistent with the cluster template creating, move the keypair to node spec step when create cluster instance

Change-Id: Id9b70108f4ac2dac289bb50fa83eeab18f08199e
2022-11-29 03:33:58 +00: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
8401c5b546 fix: fix the instance-volume in form items
fix the delete checkbox to get better extensions

Change-Id: Iab9a7c5c2e609d8794369ea52c7c07e0b0d941e8
2022-11-25 15:36:27 +08:00
xusongfu
72b81c645e Fix: fix the image store in magnum node spec
fix the image store to get better extensions

Change-Id: Ia0256668b0dbcd4dad31048b36929a99205707ed
2022-11-24 17:12:45 +08:00
xusongfu
463ced2667 fix: Fix the store path in magnum and required name in zun container
1. Change the store path from 'src/stores' to 'stores' to avoid some strange bugs

2. Make the container name be required

Change-Id: If299e6791ce5c30be936fbd5fbc2b5427a59ff39
2022-11-23 18:20:46 +08:00
Zuul
d6b68d3f12 Merge "fix: Fix quick creating keypair in creating instance" 2022-11-23 08:40:46 +00:00
Zuul
b41b121a33 Merge "fix: fix the router path and logs in zun container" 2022-11-23 07:57:12 +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
Zuul
a0ec4f5f7c Merge "feat: add success and error status in Status component" 2022-11-23 05:15:27 +00:00
Zuul
744463b861 Merge "fix: add confirm resize/migrate button in the administrator" 2022-11-23 04:07:25 +00:00
xusongfu
801bf664c2 fix: fix the router path and logs in zun container
1. fix the router path from 'container' to 'container-service' to get the same format as magnum

2. Follow the api doc to hide the log tab in the container detail if the status is not acceptable

Closes-Bug: #1997326
Change-Id: I3c1e4299ec2e10bfcd02bcf6cd07f0ed42b3b783
2022-11-22 16:23:34 +08:00
xusongfu
c49872654b feature: Support quick creating keypair in Magnum service
1. Support quick creating keypair when create cluster template

2. Support quick creating keypair when create cluster instance

Change-Id: If019d411b47752f738c0d43097fc00a3bf36892b
2022-11-22 07:51:45 +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
bd30f8c308 feat: add success and error status in Status component
1. add 'pass' key in successKeys
2. add 'refuse' key in errorKeys

Change-Id: I4e340785ef37c06b45342ac38ccdce560414623a
2022-11-18 17:50:49 +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
Jingwei.Zhang
9df7b6ca0f fix: fix the i18n of the status of vpn ipsec connection
Fix the status i18n in the vpn ipsec connection detail page

Closes-Bug: #1996700
Change-Id: I50215ece5cb28721ce9c9e8b6998636a8f6799ba
2022-11-16 16:02:58 +08:00