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 @@ -45,6 +45,7 @@ import OPENSTACK_INSTANCE_TEMPLATE from 'constant/entity_info_template/openstack import OPENSTACK_IMAGE_TEMPLATE from 'constant/entity_info_template/openstack/image'; import OPENSTACK_KEY_PAIR_TEMPLATE from 'constant/entity_info_template/openstack/key_pair'; import OPENSTACK_VOLUME_TEMPLATE from 'constant/entity_info_template/openstack/volume'; import OPENSTACK_SNAPSHOT_TEMPLATE from 'constant/entity_info_template/openstack/snapshot'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -94,6 +95,7 @@ const ENTITY_INFO_LIST = [ OPENSTACK_IMAGE_TEMPLATE, OPENSTACK_KEY_PAIR_TEMPLATE, OPENSTACK_VOLUME_TEMPLATE, OPENSTACK_SNAPSHOT_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/snapshot.ts 0 → 100644 +31 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/snapshot.ts: 31 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_SNAPSHOT_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'openstack', entityName: 'snapshot', entityRecords: [ { panelName: 'Snapshot', tableRecordList: [], keyValueRecords: [ { labelName: 'Description', name: 'description', type: 'default' }, { labelName: 'Snapshot ID', name: 'snapshot_id', type: 'default' }, { labelName: 'Volume ID', name: 'volume_id', type: 'default' }, { labelName: 'Size (GB)', name: 'size', type: 'number' }, { labelName: 'Status', name: 'status', type: 'default' }, { labelName: 'Progress', name: 'progress', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, ] }, { panelName: 'Others', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default OPENSTACK_SNAPSHOT_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 @@ -45,6 +45,7 @@ import OPENSTACK_INSTANCE_TEMPLATE from 'constant/entity_info_template/openstack import OPENSTACK_IMAGE_TEMPLATE from 'constant/entity_info_template/openstack/image'; import OPENSTACK_KEY_PAIR_TEMPLATE from 'constant/entity_info_template/openstack/key_pair'; import OPENSTACK_VOLUME_TEMPLATE from 'constant/entity_info_template/openstack/volume'; import OPENSTACK_SNAPSHOT_TEMPLATE from 'constant/entity_info_template/openstack/snapshot'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -94,6 +95,7 @@ const ENTITY_INFO_LIST = [ OPENSTACK_IMAGE_TEMPLATE, OPENSTACK_KEY_PAIR_TEMPLATE, OPENSTACK_VOLUME_TEMPLATE, OPENSTACK_SNAPSHOT_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading
modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/snapshot.ts 0 → 100644 +31 −0 Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/snapshot.ts: 31 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_SNAPSHOT_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'openstack', entityName: 'snapshot', entityRecords: [ { panelName: 'Snapshot', tableRecordList: [], keyValueRecords: [ { labelName: 'Description', name: 'description', type: 'default' }, { labelName: 'Snapshot ID', name: 'snapshot_id', type: 'default' }, { labelName: 'Volume ID', name: 'volume_id', type: 'default' }, { labelName: 'Size (GB)', name: 'size', type: 'number' }, { labelName: 'Status', name: 'status', type: 'default' }, { labelName: 'Progress', name: 'progress', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, ] }, { panelName: 'Others', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default OPENSTACK_SNAPSHOT_TEMPLATE;