diff --git a/html/images/appliances/5000v2_back_thumb.jpg b/html/images/appliances/5000v2_back_thumb.jpg new file mode 100644 index 000000000..a38939c0c Binary files /dev/null and b/html/images/appliances/5000v2_back_thumb.jpg differ diff --git a/html/images/appliances/5000v2_front_thumb.jpg b/html/images/appliances/5000v2_front_thumb.jpg new file mode 100644 index 000000000..d73471728 Binary files /dev/null and b/html/images/appliances/5000v2_front_thumb.jpg differ diff --git a/html/images/appliances/500v2_back_thumb.jpg b/html/images/appliances/500v2_back_thumb.jpg new file mode 100644 index 000000000..e658381f0 Binary files /dev/null and b/html/images/appliances/500v2_back_thumb.jpg differ diff --git a/html/images/appliances/500v2_front_thumb.jpg b/html/images/appliances/500v2_front_thumb.jpg new file mode 100644 index 000000000..c4150c410 Binary files /dev/null and b/html/images/appliances/500v2_front_thumb.jpg differ diff --git a/html/images/appliances/MNv2_back_thumb.jpg b/html/images/appliances/MNv2_back_thumb.jpg new file mode 100644 index 000000000..1d57ee81a Binary files /dev/null and b/html/images/appliances/MNv2_back_thumb.jpg differ diff --git a/html/images/appliances/MNv2_front_thumb.jpg b/html/images/appliances/MNv2_front_thumb.jpg new file mode 100644 index 000000000..fec6c79cd Binary files /dev/null and b/html/images/appliances/MNv2_front_thumb.jpg differ diff --git a/html/images/appliances/NVv2_back_thumb.jpg b/html/images/appliances/NVv2_back_thumb.jpg new file mode 100644 index 000000000..7a2e9bd4f Binary files /dev/null and b/html/images/appliances/NVv2_back_thumb.jpg differ diff --git a/html/images/appliances/NVv2_front_thumb.jpg b/html/images/appliances/NVv2_front_thumb.jpg new file mode 100644 index 000000000..cacc12dc3 Binary files /dev/null and b/html/images/appliances/NVv2_front_thumb.jpg differ diff --git a/model/node.go b/model/node.go index c4d164d29..8494989ac 100644 --- a/model/node.go +++ b/model/node.go @@ -107,6 +107,18 @@ func (node *Node) SetModel(model string) { node.ImageFront = "so-cloud-azure.jpg" case "SO2GCI01": node.ImageFront = "so-cloud-gcp.jpg" + case "500-DE02": + node.ImageFront = "500v2_front_thumb.jpg" + node.ImageBack = "500v2_back_thumb.jpg" + case "MN-DE02", "1000-DE02", "2000-DE02": + node.ImageFront = "MNv2_front_thumb.jpg" + node.ImageBack = "MNv2_back_thumb.jpg" + case "5000-DE02", "SN7200-DE02": + node.ImageFront = "5000v2_front_thumb.jpg" + node.ImageBack = "5000v2_back_thumb.jpg" + case "SNNV-DE02", "10K-DE02": + node.ImageFront = "NVv2_front_thumb.jpg" + node.ImageBack = "NVv2_back_thumb.jpg" default: node.Model = "N/A" } diff --git a/model/node_test.go b/model/node_test.go index aff441f1c..c6a8d5a87 100644 --- a/model/node_test.go +++ b/model/node_test.go @@ -34,6 +34,14 @@ func TestSetModel(tester *testing.T) { testModel(tester, "SO2AMI01", "SO2AMI01", "so-cloud-aws.jpg", "") testModel(tester, "SO2AZI01", "SO2AZI01", "so-cloud-azure.jpg", "") testModel(tester, "SO2GCI01", "SO2GCI01", "so-cloud-gcp.jpg", "") + testModel(tester, "500-DE02", "500-DE02", "500v2_front_thumb.jpg", "500v2_back_thumb.jpg") + testModel(tester, "MN-DE02", "MN-DE02", "MNv2_front_thumb.jpg", "MNv2_back_thumb.jpg") + testModel(tester, "1000-DE02", "1000-DE02", "MNv2_front_thumb.jpg", "MNv2_back_thumb.jpg") + testModel(tester, "2000-DE02", "2000-DE02", "MNv2_front_thumb.jpg", "MNv2_back_thumb.jpg") + testModel(tester, "5000-DE02", "5000-DE02", "5000v2_front_thumb.jpg", "5000v2_back_thumb.jpg") + testModel(tester, "SN7200-DE02", "SN7200-DE02", "5000v2_front_thumb.jpg", "5000v2_back_thumb.jpg") + testModel(tester, "10K-DE02", "10K-DE02", "NVv2_front_thumb.jpg", "NVv2_back_thumb.jpg") + testModel(tester, "SNNV-DE02", "SNNV-DE02", "NVv2_front_thumb.jpg", "NVv2_back_thumb.jpg") } func testStatus(tester *testing.T,