Loading modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ import K8S_LIMIT_RANGE_TEMPLATE from 'constant/entity_info_template/k8s/limit_ra import K8S_API_SERVICE_TEMPLATE from 'constant/entity_info_template/k8s/api_service'; import K8S_SCHEDULE_TEMPLATE from 'constant/entity_info_template/k8s/schedule'; import OPENSTACK_INSTANCE_TEMPLATE from 'constant/entity_info_template/openstack/instance'; import OPENSTACK_IMAGE_TEMPLATE from 'constant/entity_info_template/openstack/image'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -88,6 +89,7 @@ const ENTITY_INFO_LIST = [ K8S_API_SERVICE_TEMPLATE, K8S_SCHEDULE_TEMPLATE, OPENSTACK_INSTANCE_TEMPLATE, OPENSTACK_IMAGE_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/image.ts 0 → 100644 +51 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/image.ts: 51 added lines, 0 removed lines. Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; // Template for displaying detailed information about entities in OpenStack. const OPENSTACK_IMAGE_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'openstack', entityName: 'image', entityRecords: [ { panelName: 'Image', tableRecordList: [], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'AMI Image', name: 'ami_name', type: 'default' }, { labelName: 'Image ID', name: 'image_id', type: 'default' }, { labelName: 'Owner', name: 'account_id', type: 'default' }, { labelName: 'Status', name: 'status', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, ] }, { panelName: 'Launch Permission', tableRecordList: [], keyValueRecords: [ { labelName: 'Visibility', name: 'visibility', type: 'boolean', value: ['On', 'Off'] }, ] }, { panelName: 'Type', tableRecordList: [], keyValueRecords: [ { labelName: 'Image Type', name: 'image_type', type: 'default' }, ] }, { panelName: 'Device', tableRecordList: [], keyValueRecords: [ { labelName: 'Root Device Type', name: 'root_device_type', type: 'default' }, ] }, { panelName: 'Others', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default OPENSTACK_IMAGE_TEMPLATE; Loading
modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ import K8S_LIMIT_RANGE_TEMPLATE from 'constant/entity_info_template/k8s/limit_ra import K8S_API_SERVICE_TEMPLATE from 'constant/entity_info_template/k8s/api_service'; import K8S_SCHEDULE_TEMPLATE from 'constant/entity_info_template/k8s/schedule'; import OPENSTACK_INSTANCE_TEMPLATE from 'constant/entity_info_template/openstack/instance'; import OPENSTACK_IMAGE_TEMPLATE from 'constant/entity_info_template/openstack/image'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -88,6 +89,7 @@ const ENTITY_INFO_LIST = [ K8S_API_SERVICE_TEMPLATE, K8S_SCHEDULE_TEMPLATE, OPENSTACK_INSTANCE_TEMPLATE, OPENSTACK_IMAGE_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading
modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/image.ts 0 → 100644 +51 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/image.ts: 51 added lines, 0 removed lines. Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; // Template for displaying detailed information about entities in OpenStack. const OPENSTACK_IMAGE_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'openstack', entityName: 'image', entityRecords: [ { panelName: 'Image', tableRecordList: [], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'AMI Image', name: 'ami_name', type: 'default' }, { labelName: 'Image ID', name: 'image_id', type: 'default' }, { labelName: 'Owner', name: 'account_id', type: 'default' }, { labelName: 'Status', name: 'status', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, ] }, { panelName: 'Launch Permission', tableRecordList: [], keyValueRecords: [ { labelName: 'Visibility', name: 'visibility', type: 'boolean', value: ['On', 'Off'] }, ] }, { panelName: 'Type', tableRecordList: [], keyValueRecords: [ { labelName: 'Image Type', name: 'image_type', type: 'default' }, ] }, { panelName: 'Device', tableRecordList: [], keyValueRecords: [ { labelName: 'Root Device Type', name: 'root_device_type', type: 'default' }, ] }, { panelName: 'Others', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default OPENSTACK_IMAGE_TEMPLATE;