mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-11 19:41:55 +00:00
feat: 云管同步支持OpenStack私有云同步
This commit is contained in:
parent
7132c869f7
commit
09f91941d5
@ -1294,6 +1294,7 @@
|
|||||||
"Qcloud": "腾讯云",
|
"Qcloud": "腾讯云",
|
||||||
"QingyunPrivatecloud": "青云私有云",
|
"QingyunPrivatecloud": "青云私有云",
|
||||||
"HuaweiPrivatecloud": "华为私有云",
|
"HuaweiPrivatecloud": "华为私有云",
|
||||||
|
"OpenStack": "OpenStack",
|
||||||
"GCP": "谷歌云",
|
"GCP": "谷歌云",
|
||||||
"AWS_China": "AWS(中国)",
|
"AWS_China": "AWS(中国)",
|
||||||
"AWS_Int": "AWS(国际)",
|
"AWS_Int": "AWS(国际)",
|
||||||
|
@ -1250,6 +1250,7 @@
|
|||||||
"Qcloud": "Tencent Cloud",
|
"Qcloud": "Tencent Cloud",
|
||||||
"QingyunPrivatecloud": "Qingyun Private Cloud",
|
"QingyunPrivatecloud": "Qingyun Private Cloud",
|
||||||
"HuaweiPrivatecloud": "Huawei Private Cloud",
|
"HuaweiPrivatecloud": "Huawei Private Cloud",
|
||||||
|
"OpenStack": "OpenStack",
|
||||||
"GCP": "Google Cloud Platform",
|
"GCP": "Google Cloud Platform",
|
||||||
"AWS_China": "AWS(China)",
|
"AWS_China": "AWS(China)",
|
||||||
"AWS_Int": "AWS(International)",
|
"AWS_Int": "AWS(International)",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script type="text/jsx">
|
<script type="text/jsx">
|
||||||
import GenericListTable from '@/layout/components/GenericListTable'
|
import GenericListTable from '@/layout/components/GenericListTable'
|
||||||
import { ACCOUNT_PROVIDER_ATTRS_MAP, aliyun, aws_china, aws_international, huaweicloud, qcloud, azure, azure_international, vmware, nutanix, qingcloud_private, huaweicloud_private, gcp } from '../const'
|
import { ACCOUNT_PROVIDER_ATTRS_MAP, aliyun, aws_china, aws_international, huaweicloud, qcloud, azure, azure_international, vmware, nutanix, qingcloud_private, huaweicloud_private, openstack, gcp } from '../const'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@ -108,6 +108,10 @@ export default {
|
|||||||
name: huaweicloud_private,
|
name: huaweicloud_private,
|
||||||
title: ACCOUNT_PROVIDER_ATTRS_MAP[huaweicloud_private].title
|
title: ACCOUNT_PROVIDER_ATTRS_MAP[huaweicloud_private].title
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: openstack,
|
||||||
|
title: ACCOUNT_PROVIDER_ATTRS_MAP[openstack].title
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: gcp,
|
name: gcp,
|
||||||
title: ACCOUNT_PROVIDER_ATTRS_MAP[gcp].title
|
title: ACCOUNT_PROVIDER_ATTRS_MAP[gcp].title
|
||||||
|
@ -11,6 +11,7 @@ export const vmware = 'vmware'
|
|||||||
export const nutanix = 'nutanix'
|
export const nutanix = 'nutanix'
|
||||||
export const qingcloud_private = 'qingcloud_private'
|
export const qingcloud_private = 'qingcloud_private'
|
||||||
export const huaweicloud_private = 'huaweicloud_private'
|
export const huaweicloud_private = 'huaweicloud_private'
|
||||||
|
export const openstack = 'openstack'
|
||||||
export const gcp = 'gcp'
|
export const gcp = 'gcp'
|
||||||
|
|
||||||
export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
||||||
@ -69,6 +70,11 @@ export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
|||||||
title: i18n.t('xpack.Cloud.HuaweiPrivatecloud'),
|
title: i18n.t('xpack.Cloud.HuaweiPrivatecloud'),
|
||||||
attrs: ['sc_username', 'sc_password', 'domain_name', 'oc_username', 'oc_password', 'api_endpoint']
|
attrs: ['sc_username', 'sc_password', 'domain_name', 'oc_username', 'oc_password', 'api_endpoint']
|
||||||
},
|
},
|
||||||
|
[openstack]: {
|
||||||
|
name: openstack,
|
||||||
|
title: i18n.t('xpack.Cloud.OpenStack'),
|
||||||
|
attrs: ['auth_url', 'user_domain_name', 'username', 'password']
|
||||||
|
},
|
||||||
[gcp]: {
|
[gcp]: {
|
||||||
name: gcp,
|
name: gcp,
|
||||||
title: i18n.t('xpack.Cloud.GCP'),
|
title: i18n.t('xpack.Cloud.GCP'),
|
||||||
|
Loading…
Reference in New Issue
Block a user