feat: Add tip for vcpus when creating flavor

add tip for vcpus when creating flavor

Change-Id: Ibad74c8a47658ba0e21613dccbbd422b8afff6bb
This commit is contained in:
zhuyue 2021-09-01 16:40:25 +08:00
parent cd917640eb
commit 2b14e14f87
3 changed files with 5 additions and 0 deletions

View File

@ -1565,6 +1565,7 @@
"The name should start with upper letter, lower letter, and be a string of 2 to 255, characters can only contain \"0-9, a-z, A-Z, -, ., _\".": "The name should start with upper letter, lower letter, and be a string of 2 to 255, characters can only contain \"0-9, a-z, A-Z, -, ., _\".",
"The name should start with upper letter, lower letter, and be a string of 3 to 63, characters can only contain \"0-9, a-z, A-Z, -\".": "The name should start with upper letter, lower letter, and be a string of 3 to 63, characters can only contain \"0-9, a-z, A-Z, -\".",
"The new password cannot be identical to the current password.": "The new password cannot be identical to the current password.",
"The number of vCPU cores should not exceed the maximum number of CPU cores of the physical node. Otherwise it will cause fail to schedule to any physical node when creating instance.": "The number of vCPU cores should not exceed the maximum number of CPU cores of the physical node. Otherwise it will cause fail to schedule to any physical node when creating instance.",
"The password must not be the same as the previous": "The password must not be the same as the previous",
"The password must not be the same as the previous two": "The password must not be the same as the previous two",
"The password must not be the same as the previous {num}": "The password must not be the same as the previous {num}",

View File

@ -1565,6 +1565,7 @@
"The name should start with upper letter, lower letter, and be a string of 2 to 255, characters can only contain \"0-9, a-z, A-Z, -, ., _\".": "名称应以大写字母或小写字母开头最长为255字符且只包含“0-9, a-z, A-Z, -, ., _”。",
"The name should start with upper letter, lower letter, and be a string of 3 to 63, characters can only contain \"0-9, a-z, A-Z, -\".": "名称应以大写字母小写字母开头长度为3-63字符且只包含“0-9, a-z, A-Z, -”。",
"The new password cannot be identical to the current password.": "用户新密码不能与原密码相同。",
"The number of vCPU cores should not exceed the maximum number of CPU cores of the physical node. Otherwise it will cause fail to schedule to any physical node when creating instance.": "vCPU核数不应该超过物理节点的最大CPU核数否则会导致云主机创建时无法调度到任何物理节点。",
"The password must not be the same as the previous": "新密码不能与以前的密码相同",
"The password must not be the same as the previous two": "用户新密码不能与重置前的密码一致",
"The password must not be the same as the previous {num}": "用户新密码不能与前{num}次密码相同",

View File

@ -298,6 +298,9 @@ export class ParamSetting extends Base {
label: t('CPU(Core)'),
type: 'input-int',
min: 1,
extra: t(
'The number of vCPU cores should not exceed the maximum number of CPU cores of the physical node. Otherwise it will cause fail to schedule to any physical node when creating instance.'
),
required: true,
},
{