Skip to content

Commit

Permalink
Partial-Bug: #1711245
Browse files Browse the repository at this point in the history
Physical Topology: As of now for all BMS nodes, we are showing same image as Virtual Machine image.

Change-Id: I8e41d763904f0daa11ea09d3814860ca4b20c4bf
  • Loading branch information
Suresh Akula committed Aug 18, 2017
1 parent 2e40328 commit 321c8cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webroot/js/models/VisNodeModel.js
Expand Up @@ -52,6 +52,11 @@ function(_, ContrailModel, VisTooltipModel) {
modelConfig["image"] =
"/img/virtual-router-default.svg";
break;
case "bare-metal-server":
modelConfig["level"] = 5;
modelConfig["image"] =
"/img/virtual-machine-default.svg";
break;
case "virtual-machine":
modelConfig["level"] = 6;
modelConfig["image"] =
Expand All @@ -74,4 +79,4 @@ function(_, ContrailModel, VisTooltipModel) {
validations: {}
});
return visNodeModel;
});
});

0 comments on commit 321c8cd

Please sign in to comment.