Commit Graph

690 Commits

Author SHA1 Message Date
Jingwei.Zhang
4ccb380ff4 fix: fix the backup size quota check when create backup
Disable to click submit button when the remaining backup size is zero

Change-Id: I9c5b6995100262edd9be4f941dd6d905fccb4e30
2022-08-03 12:10:26 +08:00
Jingwei.Zhang
28846810e2 fix: fix the size quota check when create volume
1. Disable to click submit button when the remaining size/type size quota is 0.
2. Add image check to the volume e2e after the volume created image successfully

Change-Id: I6d8c0491647abc8329fa089665194da278decf46
2022-08-03 12:10:18 +08:00
Zuul
da98091f53 Merge "fix: fix lang local storage after logout" 2022-08-02 11:32:21 +00:00
Zuul
5ff60bbec5 Merge "feat: show stats of a zun container" 2022-08-02 11:32:19 +00:00
Jingwei.Zhang
4643795bcb fix: fix lang local storage after logout
1. Retain the lang value in LocalStorage when logging out
2. Add clearLocalStorage func && add unit test

Change-Id: I84cf361bfcaa40d2a6d80f687d02f43665cef3d3
2022-08-02 16:16:43 +08:00
Jingwei.Zhang
1ded7c2312 feat: update administrator overview page
Update title in the platform info card and resources use card

Change-Id: I703874c120189432dd3bb395923e346193cb298d
2022-08-02 15:44:01 +08:00
xusongfu
251a353e98 feat: show stats of a zun container
Show stats of a zun container

Change-Id: I508a97d1a86217a590ccb624a0009cc44daef95f
2022-08-02 14:34:10 +08:00
Jingwei.Zhang
e5a54c31e7 fix: fix the limit value when fetch api in the list page
Fix the limit value by the page size options, when the limit in the store is not in the page size options, use the default limit value.

Change-Id: I3868ebf9b33304ace884b0fa77eae28d89e80c20
2022-08-02 12:52:19 +08:00
Zuul
37885d343d Merge "fix: fix the plural form of the menu words && tab title words" 2022-08-02 04:45:33 +00:00
Zuul
7389707392 Merge "fix: fix instance quota check when create instance" 2022-08-02 04:35:23 +00:00
xusongfu
6110deace4 fix: fix the add value of quota in zun containers
Set the add value to 0 if the input value is greater than the left value

Change-Id: If15b10290bc7c34c7e51ec6d7ef2c47fcfdee6c5
2022-08-01 17:14:10 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
Jingwei.Zhang
c121385eda fix: fix instance quota check when create instance
1. fix the quota check when the remaining instance quota is 0
2. If the quota check fails, all the add resource is 0

Change-Id: I41bb353c7154ca5752dc327719de530b01e24e78
2022-08-01 10:04:34 +08:00
Zuul
c3835d24c0 Merge "fix: fix the filtered data is inconsistent with the refreshed data" 2022-07-29 14:53:39 +00:00
Zuul
9ca70a765f Merge "fix: fix ports quota check when create virtual adapter" 2022-07-29 14:29:39 +00:00
Zuul
af6b92b3bc Merge "fix: fix the quota info" 2022-07-29 11:33:55 +00:00
Zuul
e37e869981 Merge "fix: fix getColumns and searchFilters in trove instance" 2022-07-29 11:12:25 +00:00
Jingwei.Zhang
88e4ca036c fix: fix the filtered data is inconsistent with the refreshed data
When using the front end to filter the data, when the data is refreshed, the filter param is also passed to the API, remove the filter params to fix the situation

Change-Id: I60fc2a6ea3d6c345f0fdb2254c2018c2a07f56c5
2022-07-29 17:33:35 +08:00
Zuul
6d35162f37 Merge "feat: support reboot action in trove instance" 2022-07-29 09:20:26 +00:00
xusongfu
e0d2a5e624 fix: fix the quota info
1.When the quota limit of zun containers is 0, it needs to disable the submit button
2.Change the add default value from 1 to 0

Change-Id: I7196b5075fda7c919784f10b0f2b5d0b3c35ec59
2022-07-29 16:45:51 +08:00
xusongfu
8145865d8f fix: fix getColumns and searchFilters in trove instance
fix it to get better extensions

Change-Id: I3fbe27ca79af3fae93f85782e2edf3dffa64d612
2022-07-29 16:02:21 +08:00
Jingwei.Zhang
b2cad765bf fix: fix ports quota check when create virtual adapter
If the remaining quota of a port is zero, you can still successfully call the API to create a subnet and automatically add a port. As a result, the used port is greater than the upper limit of the quota. Fix the quota check method to accommodate this situation

Change-Id: Icf955b3e4ad40d618305b23bffcd397fdbd0b288
2022-07-29 14:25:53 +08:00
xusongfu
b40571de7d feat: support reboot action in trove instance
Support reboot database service in trove instance

Change-Id: I6a831256fc1f7e20bf7cf237915f0f0534386aac
2022-07-29 11:10:09 +08:00
xusongfu
dc71a4a56a fix: update some database names
1. Update 'backup' to 'database backup'
2. Update 'instance name' to 'database instance name'
3. Update 'flavor' to 'database flavor'

Change-Id: I0f9b672fdf403c09827d70d9dfd4670436eb5a66
2022-07-28 21:32:58 +08:00
Zuul
2bc6be5087 Merge "fix: update volume snaphost/backup display" 2022-07-28 11:12:58 +00:00
Jingwei.Zhang
fb83a57550 fix: update volume snaphost/backup display
1. Update 'snaphost' to 'volume snaphost', 'backup' to 'volume backup'
2. Update e2e case

Change-Id: I74dee2e2da7cbaac4ba7607c83848b28cfb81cde
2022-07-28 15:48:16 +08:00
Jingwei.Zhang
2c8990c591 fix: update Ring component for long text display
1. When the text is long, change the font size smaller
2. Fix lineHeight value for the Annatation.Text component

Change-Id: I71b96864de15bb0b4b331c7e70ea23a80b759b82
2022-07-28 14:49:02 +08:00
xusongfu
01a3073ec8 feat: support trove instance in administrator platform
1. support trove instance in administrator platform
2. support actions in trove instance detail page

Change-Id: Ic329c39d4c37793bbec193202d5d4e41dd410d74
2022-07-27 14:32:45 +08:00
Zuul
53c0aa9656 Merge "fix: fix trove instance create" 2022-07-25 11:35:16 +00:00
xusongfu
a740667856 fix: fix trove instance create
1. Remove some useless codes
2. Update context if size change
3. Remove max value of size

Change-Id: I8c6c15749e2f1f2487c89124cf8906386d557725
2022-07-25 16:43:19 +08:00
xusongfu
7fb3e6eb2c fix: fix the trove instance store
fix the trove instance store to get better extension

Change-Id: I20950d667bbdac621644e4f8def5384eff48e67c
2022-07-25 15:48:56 +08:00
Zuul
af67087953 Merge "fix: fix the heat tab in the system info" 2022-07-25 07:45:01 +00:00
Zuul
6d50017ea2 Merge "feat: add protocal in the port forwarding display in the floating ip list" 2022-07-25 07:45:00 +00:00
Zuul
1be5f3509b Merge "refactor: optimize the way to fetch the list of volumes mounted on the instance" 2022-07-25 07:44:58 +00:00
Zuul
eacac0536b Merge "feat: support stop action in trove instance" 2022-07-25 07:44:56 +00:00
Jingwei.Zhang
c9a1999f5f fix: fix the heat tab in the system info
When the heat service is diabled, hide the heat tab in the system info

Change-Id: I87cd2dbdc7c3213accd6f6944a3cd84683fcbba7
2022-07-25 10:39:06 +08:00
Jingwei.Zhang
bb133015a3 feat: add protocal in the port forwarding display in the floating ip list
1. Add protocal when show the port forwarding info in the floating ip list
2. Add protocal to the port forwarding info when download the floating ip list

Change-Id: I7f9cea6cbfc276205c75e2ab8708124c49106ffc
2022-07-25 10:08:54 +08:00
Jingwei.Zhang
afefcf6fdb refactor: optimize the way to fetch the list of volumes mounted on the instance
Use the skyline extension volumes api with uuid param to fetch the list of the volumes mounted on the instance, instead of fetch all the volumes and filtered by the instance id

Change-Id: Ie792a661d3fbf54a0f96c377e4d402e6bd0db323
2022-07-25 09:53:16 +08:00
xusongfu
4d27908ce5 feat: support stop action in trove instance
Support stop database service in trove instance

Change-Id: I3dfa3e8242f45c689ffba171d7ecff629e2c1573
2022-07-22 17:38:22 +08:00
Jingwei.Zhang
2caa340ba6 fix: fix the initially volume type when create volume
Fix the initially volume type by the selected snapshot when create volume:
the snapshot detail api may not has the volume_type_id prop

Change-Id: Ia780d3abc3b75f381609bd80e1116d7e09bc772b
2022-07-22 15:14:38 +08:00
xusongfu
9597ed1516 fix: fix the policy of database which belong a instance
fix the policy of database which belong a instance

Change-Id: I74b8dceabd2bfa0e84030243ca620ae99d482426
2022-07-21 16:49:45 +08:00
Zuul
8bda065853 Merge "fix: support the same port if different protocol" 2022-07-21 08:20:57 +00:00
Zuul
ac0139473b Merge "feat: support server group quota check when create instance" 2022-07-21 04:34:34 +00:00
xusongfu
99c44ece47 fix: support the same port if different protocol
support the same port if different protocol when create DNAT

Change-Id: I8ab9c06116aceb18b5780d57c567fc3e595cc3d9
2022-07-21 11:21:47 +08:00
xusongfu
bcda6b2cd9 feat: support restart for trove instance
support restart for trove instance

Change-Id: I016b87cdb31cf6c45a1befd0d4191b24fb9344de
2022-07-20 22:00:38 +08:00
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
xusongfu
b3d0c9b1e6 feat: support edit for trove instance
1. Support edit for trove instance
2. Fix the menu items name of trove instance
3. Fix the title of create trove instance

Change-Id: If9448e8e20f547079e0ab6071d3828cf549e2173
2022-07-20 11:11:35 +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
xusongfu
5b47b2ca47 fix: fix some parmas when create magnum template
Fix some parmas when create magnum template

Change-Id: Id6bb34d5ee89fd1652fcce464d8b349a6ab1ed68
2022-07-05 15:27:45 +08:00
Jingwei.Zhang
56e3224e01 feat: update instance lock icon && info
1. Update lock svg: add red color to make it more conspicuous
2. Add tip for lock icon
3. Update share group title

Change-Id: I5024dbb47929fa9aa59c483fc13e1f8ad883baaf
2022-07-05 11:35:52 +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
10a951e088 fix: fix FormAction footer style
1. Fix FormAction footer style when the action has tips, fix the bottom value
2. Fix button style in footer

Change-Id: Ia3f4cdd55f1e66386105e84fc044aefd34788e24
2022-07-04 09:42:38 +08:00