Commit Graph

124 Commits

Author SHA1 Message Date
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
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
zhangke
83a1b938c1 fix: hide project_id when modifies metadata
1. project_id should not be modified when mirror modifies metadata
2. mirror details page does not need to display the custom attribute project_id

Change-Id: Id629f94429ea1ee6556046f5f3d9e22b3a578b40
2022-03-07 10:36:44 +08: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
Jingwei.Zhang
20cc08159c feat: Update flavor detail page
1. Add numa node info in flavor detail page
2. Add memory page size info in flavor detail page

Change-Id: I6fc4a93c4e78e9a75f32fe1f35e4b73cb504bcca
2021-12-16 10:04:16 +08:00
Jingwei.Zhang
91d9c80d09 feat: Support flavor mem page size prop
1. Add mem page set when create flavor
2. Update i18n
3. Update RightContent component extends

Change-Id: I8c714e97300e70cfe8c761736db7076127ba1e7c
2021-12-15 12:21:24 +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
7af0a9e9c1 fix: Fix link jump
1. Fix fip detail link
2. Fix lb listener detail link
3. Fix network qos policy detail link
4. Fix barematil node detail link

Change-Id: Ib1cbd29182afb8ad15c073e25eecf53c8dd20fb8
2021-11-15 15:12:21 +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
64eccc8001 fix: Fix create flavor
fix change access type then create flavor

Change-Id: I442b95227182253e38168320486c93345f5b0d8c
2021-10-09 14:09:19 +08:00
Jingwei.Zhang
ec49fffbe5 fix: Add ipxe, fake boot interface when create bare metal
Add ipxe, fake boot interface when create bare metal

Change-Id: Ie2b73e9ee5e997709dd57dc1dba19ccae5739133
2021-10-08 12:09:06 +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
zhuyue
3ff55fda22 fix: Fix flavor show for which ram < 1 GB
fix flavor show for which ram < 1GB

Change-Id: I6cbf151e4b17241a71864fb3736e9276113aa895
2021-09-29 09:16:46 +00:00
xusongfu
fc75f6e7a3 fix: Fix the export format of createIronic in images actions
Update export image create ironic module

Change-Id: I8ed8fd494692d63b79f947572ddc4f21f1cda82f
2021-09-28 14:52:25 +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
xusongfu
3069f72333 fix: Hide vCPUs & ram in hypervisor
vCPUs and ram are not used for bare metal scheduling

Change-Id: I7272aad91429828f2fae4d44e3bf9552fe63741c
2021-09-14 10:19:06 +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
zhuyue
f24eda0de3 feat: Add error card for instance with 'fault'
add error card for instance with 'fault' in detail page

Change-Id: I781f9ea4f726c1b175c424d1b3f1cdd40e747eb8
2021-09-07 17:41:51 +08:00
Jingwei.Zhang
f21c5a6daa fix: Update link generate for security group rule
1. Update link generate for security group rule
2. Update export

Change-Id: I12ea81aab8ff697e1b0764ae9592d0de4ee00bc4
2021-09-06 16:24:57 +08:00
Zuul
73300c38d8 Merge "fix: Fix table height with hint" 2021-09-03 02:39:16 +00:00
zhuyue
101025eaac fix: Fix extend volume when instance is locked
fix extend volume when instance is locked

Change-Id: Ib5333ee118cf95d46790ed8548a172845d2b4a23
2021-09-02 09:11:05 +00:00
zhangjingwei
bc9b43e08c fix: Fix table height with hint
Fix table height with hint

Change-Id: I89f9db8d93590922ab02f6ad025c9a253bc56034
2021-09-02 16:42:37 +08:00
xusongfu
d74c640adc fix: Fix models & eslint
1. The response of models has been changed from array to map, we should make it compatible with old data

2. Change level to `off` for import/prefer-default-export to remove annoying unnecessary warnings

Change-Id: I6feac90b3db36b2c0929b27bb82dee8536951bb3
2021-09-02 15:38:23 +08:00
zhangjingwei
824ebdd984 fix: Fix user columns
1. Fix user columns
2. Update isInxxx name to inxxx
3. Fix inDetailPage intro in md

Change-Id: I377215e853de0ddbadd255a9b82459ca4343b037
2021-09-02 10:09:03 +08:00
zhuyue
2b14e14f87 feat: Add tip for vcpus when creating flavor
add tip for vcpus when creating flavor

Change-Id: Ibad74c8a47658ba0e21613dccbbd422b8afff6bb
2021-09-01 16:40:54 +08:00
zhuyue
8009bc8c41 fix: Fix for newtork config show
fix for network config show

Change-Id: I5448aca49a972c651e262130e0033158abe9d6ba
2021-09-01 03:46:22 +00:00
Zuul
94b3d6ed7e Merge "feat: Update import && export" 2021-08-31 14:23:24 +00:00
Jingwei.Zhang
73e352c4d5 feat: Update import && export
1. Update import with @ to relative path
2. Update decorator export

Change-Id: Ib199a7c5eb54e1f30377af0349bca5959a1e54cc
2021-08-31 17:47:01 +08:00
xusongfu
6476cfe31e fix: Fix tip for manage metadata
Change name to `Manage Metadata` to match the tip of manage metadata operation

Change-Id: Ibf457718a7d10fc73a5810b886838761e4448771
2021-08-31 09:34:47 +08:00
xusongfu
3ba3223cf9 fix: Fix download file name
Add name in action log to fix empty download file name

Change-Id: I570a2294c57323de9ee8ad345e5ae3ad76592746
2021-08-30 17:04:04 +08:00
zhangjingwei
0f788dc2cb fix: Fix inspect error message
1. Update error message display: auto parse json str
2. Disable inspect when baremetail's driver is ipmi

Change-Id: I81ec6271b2eac779c9308c2e4a169b72b38d76de
2021-08-30 14:48:08 +08:00
zhangjingwei
eff7345154 fix: Check file type when create image
1. Check file type when create image
2. Update image format types

Change-Id: I68f58767e77c5a4749863723d3d92d2f2079d6a1
2021-08-30 12:52:15 +08:00
zhangjingwei
53f398b8c6 fix: Fix create instance error hint
1. Fix create instance error hint
2. Fix create ironic error hint

Change-Id: I42371374d1e7d70d6b6b81fbf451603138ed0b24
2021-08-30 11:52:59 +08:00
zhangjingwei
1b122869f7 fix: Support cancel upload && show progress
1. Support cancel upload file
3. Show upload progress when upload image
4. Fix delete file after select file

Change-Id: I021fee23980e203be68252246d5eb1b5418774fc
2021-08-30 10:34:45 +08:00
zhangjingwei
273378039b fix: Fix delete image error display
1. Fix delete image error display
2. Disable delete protected image

Change-Id: I3a3ad0ba3ac676b40f627df29f6bac1c57234c7d
2021-08-27 17:14:47 +08:00
Zuul
31fdc5c62f Merge "fix: Fix locked value in instance download csv etc." 2021-08-27 09:02:30 +00:00
zhangjingwei
925c0ead0b fix: Fix locked value in instance download csv etc.
1. Fix locked value in instance download csv
2. Hide custom column button in hypervisor page
3. Fix storage backend name

Change-Id: I7ee66e7688be03863706977a80912f12b9386671
2021-08-27 15:52:30 +08:00
xusongfu
3fda776217 fix: Fix batch actions
Add batch actions for ironic

Change-Id: I3ed5cb85ae4f03568b9bdc3f303efa3127bc3dd1
2021-08-27 15:51:27 +08:00
xusongfu
f04aec1749 feat: Action log in instance
Add action log in instance to better monitor

Change-Id: Icdd9ceeb78b5820b32ccce8a1b13e785b5258330
2021-08-27 11:46:38 +08:00
zhangjingwei
558b2d56a3 feature: Update instance batch action error hint
Update instance batch action error hint:
delete, start, stop, soft delete, reboot, soft reboot

Change-Id: I58e3b9ed224370df78fef0b0271d1a0e6c51c7a3
2021-08-26 17:58:36 +08:00
Zuul
fdaf0ac24b Merge "fix: Fix styles in Form & renderBadge & external network" 2021-08-26 09:24:48 +00:00
zhangjingwei
20a309ef83 fix: Fix select table loading in form
Add loading when SelectTable component fetch data

Change-Id: If36411e74304061d305fb61b7954e1e564ce40e1
2021-08-26 14:39:07 +08:00
Jingwei.Zhang
19fab7e17f fix: Fix refresh data in detail page after finishing action
1. Fix edit metadata success hint
2. Fix manage image metadata success hint
3. Fix create/edit project modal top padding
4. Fix edit user modal top padding
5. Fix create user group modal top padding
6. Fix refresh list page in detail after finishing action in detail page
7. Remove useless fetch in base detail page

Change-Id: I80fe346cc0be4bdb8607088578fa2acb446cf084
2021-08-25 09:50:37 +00:00
xusongfu
a66c8316c8 fix: Fix styles in Form & renderBadge & external network
1. Fix the footer of Form component with flex layout to get better showing
2. Add initial value in renderBadeg to hide Badge
3. Use isExternalNetwork function to judge network to prevent unknown bug

Change-Id: Ib2a4e341b8cfe9432c406f5dd33b9bffd2304f33
2021-08-25 16:39:58 +08:00
Jingwei.Zhang
f1c3df26a4 fix: Fix action hint without name
Fix action hint without name

Change-Id: Ie1e88b2749399dbe0291d739e18a25aaaf0faaac
2021-08-25 13:36:01 +08:00
xusongfu
f0b260dd90 fix: Fix the configured memory in detail page
Change the unit of configured memory to GB to match list info

Change-Id: I398610e52c4638be4b01d03fa026107cc39735bf
2021-08-25 12:37:30 +08:00
zhangjingwei
608d9ef5f4 feat: Support network port_security_enabled
1. Update create instance with `port_security_enabled = false` network:
if one of selected networks is disable port security, disable select security group
2. Update create ironic with `port_security_enabled = false` network:
if one of selected networks is disable port security, disable select
security group
3. Update instance manage security group in instance detail page:
disable manage security group for disable security group interface
4. Update create network with port_security_enabled prop:
can change port_security_enabled prop value
5. Update edit network with port_security_enabled prop:
can change port_security_enabled prop value
6. Add port_security_enabled prop in network detail page:
show network port_security_enabled value

Change-Id: I2227a9cb84ed87b5d1eedaea206004498ef0fab9
2021-08-25 11:34:14 +08:00
xusongfu
caf0429302 fix: Fix attach & detach iso volume permission
1. Instance can attach iso volume if status is shutoff and it is not ironic
2. Instance can detach iso volume if status is shutoff

Change-Id: I54a2f6c3e1062231992d5926b34a955141963c89
2021-08-25 10:56:48 +08:00
Jingwei.Zhang
c960f06c1a feat: Support client module
1. Add client module to request openstack api
2. Remove window.request, stores use client to request api
3. Remove window.globals, use globalRootStore to deal with user info

Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
2021-08-24 15:58:45 +08:00
zhuyue
15128f67e3 fix: Fix for 5xx error & errorWithDetail params
1. fix for 5xx error
2. change the order of errorWithDetail params

Change-Id: I7a6807aeb5ca6d6c508d8bdf8dfdbd7e507705d9
2021-08-23 04:34:01 +00:00
wuduochao
f17e0896b2 fix: Fix the return information of quota exceeded is not clear
Fix the return information for quota exceeded to simple style but others with detail style

Change-Id: Ie15de4ea52f98eb3e414d64d3b3abf7be02e9fa8
2021-08-20 15:53:29 +08:00
xusongfu
ad94bb6345 fix: Fix securityGroup Rule creating
1. Change protocol list
2. Add creating button in securityGroup list
3. Add link for remote group id

Change-Id: I76f10ffbd513d4e40f658ec8acb61e3311cfedf1
2021-08-19 17:05:12 +08:00
Jingwei.Zhang
166f8b5ed7 fix: Fix folder name
Fix folder name to avoid docker build failure

Change-Id: I810e948e46698f4acd92b1c3da7e7b200fa8a7dc
2021-06-24 11:49:24 +08:00
Hanxiang Gao
4eb68e7fb2 feat: Add initial code of skyline-console
Add initial code of skyline-console

Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
2021-06-01 23:29:30 +08:00