Skip to content

Commit

Permalink
Storage map details page
Browse files Browse the repository at this point in the history
Signed-off-by: Yaacov Zamir <[email protected]>
  • Loading branch information
yaacov committed Feb 21, 2024
1 parent d784709 commit 4978f5d
Show file tree
Hide file tree
Showing 75 changed files with 1,919 additions and 1,732 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"Delete NetworkMap?": "Delete NetworkMap?",
"Delete Plan?": "Delete Plan?",
"Delete Provider": "Delete Provider",
"Delete StorageMap": "Delete StorageMap",
"Delete StorageMap?": "Delete StorageMap?",
"Description": "Description",
"Details": "Details",
Expand Down Expand Up @@ -204,7 +205,6 @@
"Migration networks maps are used to map network interfaces between source and target workloads.": "Migration networks maps are used to map network interfaces between source and target workloads.",
"Migration plans are used to plan migration or virtualization workloads from source providers to target providers.": "Migration plans are used to plan migration or virtualization workloads from source providers to target providers.",
"Migration started": "Migration started",
"Migration storage maps are used to map storage interfaces between source and target workloads.": "Migration storage maps are used to map storage interfaces between source and target workloads.",
"Migration Toolkit for Virtualization": "Migration Toolkit for Virtualization",
"Migrations": "Migrations",
"Migrations (last 24 hours)": "Migrations (last 24 hours)",
Expand Down Expand Up @@ -375,6 +375,8 @@
"Storage Map name re-generated": "Storage Map name re-generated",
"Storage map:": "Storage map:",
"Storage mappings have been re-generated": "Storage mappings have been re-generated",
"StorageMap details": "StorageMap details",
"StorageMap YAML": "StorageMap YAML",
"StorageMaps": "StorageMaps",
"StorageMaps for virtualization": "StorageMaps for virtualization",
"Storages used by the selected VMs": "Storages used by the selected VMs",
Expand Down Expand Up @@ -410,7 +412,6 @@
"This plan cannot be edited because it is running must gather.": "This plan cannot be edited because it is running must gather.",
"This plan cannot be edited because the inventory data for its associated providers is not ready.": "This plan cannot be edited because the inventory data for its associated providers is not ready.",
"This plan cannot be restarted because it is running must gather service": "This plan cannot be restarted because it is running must gather service",
"To": "To",
"To make changes to the plan, select Duplicate and edit the duplicate plan.": "To make changes to the plan, select Duplicate and edit the duplicate plan.",
"To troubleshoot, check the Forklift controller pod events and logs.": "To troubleshoot, check the Forklift controller pod events and logs.",
"To troubleshoot, check the Forklift controller pod logs.": "To troubleshoot, check the Forklift controller pod logs.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ export const MapsSection: React.FC<MapsSectionProps> = ({ obj }) => {
);
const nextSourceNet = sourceNetworks.find((n) => n?.name === next.source);

// sanity check, names may not be valid
if (!nextSourceNet) {
return;
}

const nextMap: V1beta1NetworkMapSpecMap = {
source: convertInventoryNetworkToV1beta1NetworkMapSpecMapSource(nextSourceNet),
destination:
Expand Down Expand Up @@ -244,4 +249,4 @@ function convertOpenShiftNetworkAttachmentDefinitionToV1beta1NetworkMapSpecMapDe
}

const OpenShiftNetworkAttachmentDefinitionToName = (net) =>
net?.namespace ? `${net?.namespace}/${net?.name}` : net?.name;
net?.namespace ? `${net?.namespace}/${net?.name}` : net?.name || 'Pod';

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4978f5d

Please sign in to comment.