diff --git a/webroot/css/contrail.custom.css b/webroot/css/contrail.custom.css index e56d64f24..af084fd8d 100644 --- a/webroot/css/contrail.custom.css +++ b/webroot/css/contrail.custom.css @@ -2768,6 +2768,11 @@ color: #b94a48; stroke:#85b9dd!important; stroke-width:3; } +.connection-wrap-down { + fill: none; + stroke:#85b9dd!important; + stroke-width:3; +} .display-nonodes{ margin:15%; font-weight:bold; diff --git a/webroot/js/analyzer-utils.js b/webroot/js/analyzer-utils.js index 9ce5aa51c..7fd905317 100644 --- a/webroot/js/analyzer-utils.js +++ b/webroot/js/analyzer-utils.js @@ -614,7 +614,10 @@ function showUnderlayPaths(data) { data : {data: params}, callback : function(response) { $("#network_topology").find('.topology-visualization-loading').hide(); - underlayRenderer.getView().highlightPath(response, {data: params}); + if(typeof underlayRenderer === 'object') { + underlayRenderer.getModel().setFlowPath(response); + underlayRenderer.getView().highlightPath(response, {data: params}); + } }, failureCallback: function(err) { $("#network_topology").find('.topology-visualization-loading').hide();