Commit Graph

674 Commits

Author SHA1 Message Date
Jingwei.Zhang
cd050a6f0b feat: add the packaged front-end code
Add the packaged front-end code

Change-Id: I633b711c857659e2c9693f7a6d72af1af6b44125
2022-07-20 14:16:07 +08:00
Zuul
6c746303c6 Merge "feat: support instance snapshot create instance" 2022-07-19 15:00:41 +00:00
Zuul
87230c3297 Merge "fix: fix the detail info of zun container" 2022-07-19 15:00:39 +00:00
Zuul
62e12288bc Merge "feat: support quota info when instance snapshot create volume" 2022-07-19 12:08:02 +00:00
xusongfu
a83ee32952 fix: fix the detail info of zun container
1. Fix the status detail with i18n
2. Fix command and labels
3. Simplify the definition of some data

Change-Id: Id5679e159d3038504433b11b577f82f3ddbe9ba0
2022-07-19 15:39:42 +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
Zuul
9129af50f8 Merge "fix: update user's scope system role check" 2022-07-19 07:18:05 +00:00
xusongfu
5cf020aaca fix: fix the policy of image
Use alias policy to distinguish upload_image of glance and cinder

Change-Id: I72cf15c3c4a2d31b50d96a643a9a134f8d2db2ab
2022-07-19 10:07:07 +08:00
Jingwei.Zhang
c6eaddabe6 feat: support quota info when instance snapshot create volume
1. Support quota info when instance snapshot create volume
2. Disable click submit button when the given type's left quota is insufficient

Change-Id: I2665b5285b7e93324fec7b02bbf095cf9fad3b9f
2022-07-18 16:55:25 +08:00
Zuul
d3ffb6264d Merge "feat: support quota info when instance create snapshot" 2022-07-18 08:37:36 +00:00
Zuul
3a8cc3c80c Merge "fix: hide network qos menu when the service is disabled" 2022-07-18 08:19:49 +00:00
Zuul
b12700a63f Merge "fix: disable associate action when fip has port forwardings" 2022-07-18 08:19:47 +00:00
Jingwei.Zhang
f172cb2164 fix: update user's scope system role check
For all user, check system role by keystone system role api, remove the special username admin check

Change-Id: I46b58b1061bd2914933f5eb2950f3e34ee34c437
2022-07-18 14:13:00 +08:00
xusongfu
97048d0a9e feat: support quota in zun container creating
Support quota in zun container creating

Change-Id: Ife903ae866aa2c6305eb62461491bf9551d1ced9
2022-07-18 11:22:53 +08:00
Jingwei.Zhang
46a7742aa2 feat: support quota info when instance create snapshot
1. Support quota info when bfv instance create snapshot
2. Disable click submit button when snapshot quota or each type quota is insufficient

Change-Id: I8647aa9e9e8a7669eda6549ef9ab4dcdba2e3dec
2022-07-18 11:04:23 +08:00
Jingwei.Zhang
f7fd48445f fix: hide network qos menu when the service is disabled
Hide network qos menu when endpoints not include neutron_qos by profile api

Change-Id: I27f03936609f3fd4067fe80b74830fb0315f0e1f
2022-07-18 09:03:11 +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
Zuul
18bc981052 Merge "fix: fix the table height in qos policy list" 2022-07-14 08:13:52 +00:00
Zuul
f48ac9480a Merge "feat: support zun quota in manage project quota and overview" 2022-07-14 05:21:37 +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
Zuul
1e0e60ea32 Merge "fix: fix associate fip with port forwarding" 2022-07-14 02:11:01 +00:00
Zuul
70c3b5afbe Merge "fix: add ip tip for NFS/CIFS share create access rule" 2022-07-13 11:37:07 +00: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
xusongfu
3666358c95 feat: support zun quota in manage project quota and overview
1. Support manage zun quota
2. Show zun quota in overview

Change-Id: I18fa243ca4133be1a4592189ef287db44f4cc66d
2022-07-13 16:54:46 +08:00
Jingwei.Zhang
09fb7742a1 fix: add ip tip for NFS/CIFS share create access rule
1. Add ip tip for NFS/CIFS share create access rule
2. Fix default value when create access rule

Change-Id: I4728aa414d19cf0afdae1fa6e887b876beb76255
2022-07-13 14:58:42 +08:00
Jingwei.Zhang
58026cf9bd feat: update Popover component
1. Update Popover component: support custom icon, title; support another data fetch func for only one request; suport pagination setting in table
2. Update PopoverSubnets components to support title
3. Update network-select-table component subnet display: update subnet's
count to title, when hover it, the popover will show

Change-Id: I5ca81146a7392b797f9f27d95c5d9cbf715d5e3d
2022-07-13 14:09:19 +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
d55f42c12c feat: support fixed ip filter in port-form-item
Support fixed ip filter in port-form-item, the related actions below:
1. Support fixed ip filter when instance associate fip
2. Suppport fixed ip filter when fip create dnat
3. Support fixed ip filter when edit dnat

Change-Id: I2bfbca000d2a6699010c40e225eab2ce8514c9e0
2022-07-12 15:42:21 +08:00
Zuul
e91b5f129f Merge "fix: fix getNameRender in table list" 2022-07-11 03:11:42 +00:00
Zuul
e564616aa9 Merge "fix: fix create zun container" 2022-07-08 08:14:07 +00:00
xusongfu
da823ae523 fix: fix getNameRender in table list
1. fix the getNameRender to get rigth rowkey
2. fix the name column showing in user center credentials

Change-Id: I59d79937c388c77142b09494f0b3f351440ddddd
2022-07-08 15:43:08 +08:00
Zuul
d60737ee76 Merge "refactor: refactor skyline:xxx policies" 2022-07-08 07:13:41 +00:00
Zuul
926d33d824 Merge "fix: remove license check" 2022-07-08 07:13:40 +00:00
Jingwei.Zhang
281b176981 feat: support create instance in server group list page
1. Support create instance in server group row actions
2. Set server-group-select required when create instance by server group

Change-Id: I2a5f5de985a32a0394fe9501275519c568a4c9ab
2022-07-08 11:08:35 +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
Jingwei.Zhang
7f65bf6bfc fix: remove license check
Remove useless license check

Change-Id: I96b4ebcf00ce621a30d17895034f68701243b6ac
2022-07-08 10:05:46 +08:00
xusongfu
df67bd758f fix: fix create zun container
1. Optimization parameters
2. Use select-table for image
3. Fix ZunVolume component

Change-Id: Ic8ce3fb91fd70848766003fe24d782b3347e055b
2022-07-07 22:45:43 +08:00
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
Zuul
1170f73dd5 Merge "fix: fix some resource items to select-table" 2022-07-06 14:06:01 +00:00
xusongfu
7ca6d2f8a3 fix: fix some resource items to select-table
Fix some resource items to select-table in magnum template

Change-Id: Ie134d76cbb845aaa763cc444fda72f5511af1870
2022-07-06 17:32:01 +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
Zuul
03d34ba9a4 Merge "feat: support quota info && check when resize instance" 2022-07-05 13:05:24 +00:00
Zuul
09714ca08d Merge "fix: fix some parmas when create magnum template" 2022-07-05 11:23:55 +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