Commit Graph

73 Commits

Author SHA1 Message Date
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
a8ff91c219 fix: fix bootable volume action notice
1. Fix bootable volume action name
2. Remove useless code for online resize instance action

Change-Id: Ibd5e2dc958c0bdbc0b5d53a3e628f334cb93a530
2022-07-07 12:34:32 +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
Jingwei.Zhang
494409a93b fix: fix imageRef for boot-from-volume instance
According to the api documentation, when the instance of bfv is created, imageRef does not need to be set, and it can be easily determined whether the instance is bfv based on this.

Change-Id: Ibacd417dd07a6cf8ee7d4d6dbd6b03cd5d0a5f99
2022-07-06 11:36:11 +08:00
Zuul
9e2919d667 Merge "fix: remove resize online action" 2022-07-05 13:09:51 +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
Jingwei.Zhang
cf5a24645c feat: support quota info && check when resize instance
1. Support cores/ram quota info when resize instance
2. Disable select flavor which vcpus or ram is bigger then left quota
3. Update FlavorSelectTable to support disable select
4. Update resize action check: only check status, not status and vm_state
5. Update current flavor display: show vcpus && ram info

Change-Id: Ie96ca42de999eba80772314b967aaa0e8b1215ff
2022-07-05 16:15:45 +08:00
Jingwei.Zhang
b6d2eb512f feat: support cpu && mem quota info when create instance
1. Support cpu && mem quota info when create instance
2. Disable click next button when cpu && mem left quota is insufficient
3. Update StepForm to support disable click next/submit button

Change-Id: Iae26d397debe67c44d8f80b6c5d85611a1cf67d5
2022-07-04 14:49:27 +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
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
8c979780a0 feat: Add error message when create instance quota exceeded
Show error message when create instance with quota exceeded:
1. change the instance number
2. change the volume type
3. change the volume size
the above situations may trigger a prompt

Update error message style in the footer

Change-Id: I038bb1919d05d78fc8a78b3ab1a6e72cf327f2ce
2022-06-08 17:20:27 +08:00
Jingwei.Zhang
c88cc53580 feat: Add volume quota when create instance
1. Add volume quota when create instance
2. Quota info support line/ring/table display
3. Remove agent add router e2e check, because sometimes the interface removes the router from one agent successfully, but in fact the route is still in the agent

Change-Id: I161fec1bcd7b8704666c66e3a11168d806c57744
2022-06-08 17:20:27 +08:00
Zuul
633fcdec63 Merge "feat: Support domain actions" 2022-06-07 03:18:33 +00: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
39259b4fbd [Animbus]fix: Fix danger button style in batch actions
1. Fix danger button style in table batch actions
2. Update reboot vm button to danger
3. Update resize vm button to danger

Change-Id: Ibabc1259e4914042214842acecde4c16f7e6d19e
2022-06-06 10:33:07 +08:00
Zuul
6b34ad1b05 Merge "refactor: Refactor danger from buttonType to isDanger" 2022-06-02 10:27:36 +00: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
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
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
e9cd1482c2 fix: fix image required when create ironic
1. Set image is required when create ironic
2. Add image info in confirm step when create ironic

Change-Id: I57de4e5317aab2ee96e012327bb9a5a79f5e7656
2022-05-26 16:02:56 +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
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
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
81c037de41 feat: Add tags to nova service and so on
1.Lists tags, creates, replaces tags for a server
2.Fix input autocomplete in Chrome browser
3.Fix some e2e test bugs

Change-Id: I6236da8670d36c88978317d34a50cde3974b83d9
2022-03-26 20:11:15 +08:00
Zuul
c8eb7086ad Merge "refactor: Update style" 2022-03-26 09:36:40 +00:00
xusongfu
7ac40b2650 fix: Support no-cinder
1. Update base client to support service disable
2. Remove volume in create instance if no-cinder
3. Remove cinder services in overview page if no-cinder
4. Remove some storage services if no-cinder
5. Remove volume in monitor centers if no-cinder

Change-Id: Ib6f8f3ed86098b4097b0428b48f0b136bf5ee349
Closes-Bug: #1939984
2022-03-25 12:57:28 +08:00
zhangke
05b28c9344 fix: the host name should show service.host instead of hypervisor_hostname, pages involved are as follows:
Management Platform: Virtual Machine Manager, Virtual Machine Manager Details, Migration, Live Migration

Change-Id: Icb8b9ed8bb61fb6c715193f1c48bd1c2da45316f
2022-03-16 02:30:31 +00:00
Jingwei.Zhang
ce0042945f refactor: Update style
1. Support style check: stylelint
2. Add stylelint check in lint-staged husky
2. Update styles

Change-Id: Id793b0936e4c3ea27ddef0df794d5b711880599f
2022-03-02 11:04:01 +08:00
xusongfu
438772f6f3 fix: Fix the search filters
1. Add search filters of baremetal node list
2. Use public function getOptions to format some select options

Change-Id: I2952878ab21656364031db0216a32879ce87862c
2022-02-21 16:00:47 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
Jingwei.Zhang
7419565aa2 refact: Refactoring generation of the link of network and security group when creating instance
Use route name in menu to generate network && security group link

Change-Id: I84c9470a06a5bc41eba19c91c40d40d8cab7f26a
2022-01-10 15:34:30 +08:00
Jingwei.Zhang
c96180b723 feat: Support the use of ports when creating an instance
1. Add port select in network step when creating an instance
2. Show port in confirm step when creating an instance

Change-Id: I4adb832d194433f2b201c02c067e72251c6e61e6
2022-01-06 17:27:27 +08:00
xusongfu
bf22ea704e fix: Fix the validate message for some fields with empty value
Change the validate messge for the form item whitch type is select or select-table

Change-Id: I839575099d2385469f4269d1dee4c8c11cc1e9b7
2021-12-20 11:23:37 +08:00
xusongfu
5c3c89c78a fix: Show VGPU info if architecture is heterogeneous_computing
Use placement service to get VGPU infomation

Change-Id: Ib6d8b77f562369f69e9a6aa937abde5ef7099cce
2021-11-25 15:26:57 +08:00
Jingwei.Zhang
ba13abec54 fix: Add volume quota check when create instance
Add volume quota check when create instance

Change-Id: I02eeb7b1adb9edffe8506abf9c293606e0bbb573
2021-11-23 14:58:35 +08:00
Jingwei.Zhang
6d2ea1bf34 refactor: Refactor path jump
Refactor path jump by routeName which is defined in menu as key

Change-Id: I82cda19a2b92b29498238b85c75181848e51e072
2021-11-11 09:59:51 +08:00
xusongfu
a612794349 fix: Fix the convert shell code to base64 errors
Control input must be ASCII code to match StringIO function in cloud-init

Change-Id: I9dd468847043ed1c3e936c6a9605c10367cff21a
2021-11-04 16:58:18 +08:00
zhuyue
74ee3ec2aa fix: Fix for status check of migrate & live migrate
fix for status check of migrate & live migrate

Change-Id: Id28a1659f8004b657fad863413f83c3baea36c1e
2021-09-30 17:30:18 +08:00
zhuyue
4acc62915a feat: add confirm & revert resize action
add confirm & revert resize action

Change-Id: I2f6efddfe5cd8902a9a38d4af26ef762fea77b4d
2021-09-30 16:47:10 +08:00
xusongfu
d3fb5a334b fix: Fix the permission of createIronic
Fix the permission of createIronic from license to endpoint

Change-Id: I8409d2f0fa602fadd22c5e0cab533089c07e7131
2021-09-28 10:56:59 +08:00
Jingwei.Zhang
6118976855 feat: Refactor rebuild instance
Refactor rebuild instance

Change-Id: Idd8367d66a2c6363a3f24870f2e0eb2730375d06
2021-09-18 09:42:22 +08:00
Jingwei.Zhang
62234626f5 fix: Fix delete shelved instance
Fix delete shelved instance

Change-Id: I696be27bcb25b765c1f57ca10be51404cddc1722
2021-09-17 15:46:00 +08:00
Jingwei.Zhang
b59b9304d7 fix: Remove useless actions
Remove useless actions: attach/detach iso volume

Change-Id: Ie8cb684649261cf04c6df7ce72d37c0d1304cf58
2021-09-17 09:18:44 +08:00
Jingwei.Zhang
9c678927d5 fix: Refactor create instance
1. Refactor create instance base step codes
2. Fix fetch all data with sort params

Change-Id: I835c2c29c96dc6fada1c6982539a448363ac684e
2021-09-17 09:17:55 +08:00
Jingwei.Zhang
6f5816efe9 fix: Update instance check for attach/detach volume
Update instance check for attach/detach volume

Change-Id: Ie6396b2b9c42d424d0396f9c840fb6182ebd45e5
2021-09-16 11:18:05 +08:00
Jingwei.Zhang
318f7b195d fix: Remove useless component && update path && update image
1. Remove useless component: NotFound, EmptyTable
2. Update asset path according to alias in webpack
3. Update page path according to alias in webpack
4. Remove useless image
5. Update image name

Change-Id: I0c8fc48733d0a0f9df80e8cc37db63fdebaa166b
2021-09-15 11:56:56 +08:00
zhangjingwei
61f21da7e6 feat: Update datas to data
1. Update datas to data
2. Update metadatas to metadata
3. Update data intro && codes in docs

Change-Id: I2041b69c6d9a9e9ec61c3861ad8860af5ac5cc0b
2021-09-13 14:34:25 +08:00
Jingwei.Zhang
30210e33c6 fix: Fix redirect to pre page after login
1. Fix redirect to pre page after login when visit page first
2. Fix gotoLogin in client request
3. Refactor functions in create instance
4. Refactor functions in instance detail
5. Update module export

Change-Id: If7b166afc70e807c753ebf5901434166d4a7b602
2021-09-10 15:55:19 +08:00
Jingwei.Zhang
d9b940f5ae fix: Update instance delete
1. Update instance delete in order to be compatible with the recycling instance interval
2. Add getSubmitData for form to better change the submit data
3. Update create instance/iroinc to use getSubmitData
4. Update module export

Change-Id: I102cb7f097556586673fb0f40c8c71dd5e028516
2021-09-10 11:01:37 +08:00
Jingwei.Zhang
299efc2ee1 fix: Update Table component && update stack codes
1. Update Table component
2. Remove useless action: extend root volume
3. Update export of stack codes
4. Remove useless func of stack codes

Change-Id: I47b9aaa92d0cc8fa6cf8d00ebc185e6b15bd2568
2021-09-09 11:01:53 +08:00