Commit Graph

22 Commits

Author SHA1 Message Date
Jingwei.Zhang
36f49a3a51 feat: support server group quota check when create instance
1. Support server group quota info when create instance
2. Disable click next button when the selected server group's remaining quota is insufficient

Change-Id: Iee8127292ad50564eff04e21f11b1c82355d3a7d
2022-07-20 14:51:54 +08:00
Jingwei.Zhang
2151e59acf feat: support instance snapshot create instance
1. Add instance snapshot source when create instance
2. Support quota info && quota check when select instance snapshot
3. Support create instance in instance snapshot list page

Change-Id: I1e2db9370932f03134492cf5b010f32eca551f55
2022-07-19 15:29:48 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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